makedeb


python3-fake-useragent 1.5.1-0


Up to date simple useragent faker with real world database

Click here to go back to the commit logs for python3-fake-useragent.

Commit:


Hash: f21fc417c262f29968815bc7464e572789e2d3f7

Message: 1.2.1

Diff


diff --git a/.SRCINFO b/.SRCINFO
index 3ccd147..911b72e 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -3,18 +3,16 @@ pkgname = python3-fake-useragent
 pkgbase = python3-fake-useragent
 pkgdesc = Up to date simple useragent faker with real world database
 pkgrel = 0
-pkgver = 1.1.3
+pkgver = 1.2.1
 url = https://github.com/fake-useragent/fake-useragent
 arch = all
 depends = python3
 license = Apache
-makedepends = python3-setuptools
 makedepends = python3-build
 makedepends = python3-installer
 makedepends = python3-wheel
-source = python3-fake-useragent-1.1.3.tar.gz::https://github.com/fake-useragent/fake-useragent/archive/refs/tags/1.1.3.tar.gz
-b2sums = 4997801a0db4603e0f1fff60f342d066d802ebdf23dcc83afc3ccf5231b4e30412c9941e5960eae3e82d0ba396fc6271615b05e6c366fc59ded031cdf9316178
-makedepends = python3-setuptools
+source = python3-fake-useragent-1.2.1.tar.gz::https://github.com/fake-useragent/fake-useragent/archive/refs/tags/1.2.1.tar.gz
+b2sums = 3619120324985acd449d52e8df520ac41202330cb97b36808592f968f9f1f52c679a6ad45060fbaedaaf52437d3dadde6b0b4937562259589dfeb4fd212cfd6f
 makedepends = python3-build
 makedepends = python3-installer
 makedepends = python3-wheel
diff --git a/PKGBUILD b/PKGBUILD
index 9390f5e..b464ec7 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,18 +1,17 @@
 # Maintainer: exponential <echo ZXhwb25lbnRpYWxtYXRyaXhAcHJvdG9ubWFpbC5jb20K | base64 -d>
 # Contributor: Alan Beale (AUR) <the.mrabz@gmail.com>
-# NOT TESTED
 _name=fake-useragent
 pkgname=python3-fake-useragent
-pkgver=1.1.3
+pkgver=1.2.1
 pkgrel=0
 pkgdesc='Up to date simple useragent faker with real world database'
 arch=('all')
 url=https://github.com/fake-useragent/fake-useragent
 license=('Apache')
 depends=('python3')
-makedepends=('python3-setuptools' 'python3-build' 'python3-installer' 'python3-wheel')
+makedepends=('python3-build' 'python3-installer' 'python3-wheel')
 source=("$pkgname-$pkgver.tar.gz::https://github.com/fake-useragent/fake-useragent/archive/refs/tags/$pkgver.tar.gz")
-b2sums=('4997801a0db4603e0f1fff60f342d066d802ebdf23dcc83afc3ccf5231b4e30412c9941e5960eae3e82d0ba396fc6271615b05e6c366fc59ded031cdf9316178')
+b2sums=('3619120324985acd449d52e8df520ac41202330cb97b36808592f968f9f1f52c679a6ad45060fbaedaaf52437d3dadde6b0b4937562259589dfeb4fd212cfd6f')
 
 build() {
   cd $_name-$pkgver
@@ -22,6 +21,9 @@ build() {
 package() {
   cd $_name-$pkgver
   python3 -m installer --destdir="$pkgdir" dist/*.whl #--optimize=1 --skip-build
+  # Manual remove local
+  mv "$pkgdir/usr/local/"* "$pkgdir/usr/"
+  rmdir "$pkgdir/usr/local" 
   install -Dm644 "LICENSE" "$pkgdir/usr/share/doc/$pkgname/license"
   install -Dm644 "README.md" "$pkgdir/usr/share/doc/$pkgname/readme"
 }