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: 03b7e0deffc2474751d133a4f0ab07759726a8e3

Message: 1.1.1 NOT TESTED

Diff


diff --git a/.SRCINFO b/.SRCINFO
index bc4d695..9b84014 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -3,12 +3,18 @@ pkgname = python3-fake-useragent
 pkgbase = python3-fake-useragent
 pkgdesc = Up to date simple useragent faker with real world database
 pkgrel = 0
-pkgver = 0.1.13
+pkgver = 1.1.1
 url = https://github.com/fake-useragent/fake-useragent
 arch = all
 depends = python3
 license = Apache
 makedepends = python3-setuptools
-source = python3-fake-useragent-0.1.13.tar.gz::https://github.com/fake-useragent/fake-useragent/archive/refs/tags/0.1.13.tar.gz
-b2sums = 8f1a68612353beb7449fb6efddb19649ebcdab8114d1844769ff930ae4350343fa1d10de373899daf7661deba54004bcb20627701a247a10b91af8fce494830b
+makedepends = python3-build
+makedepends = python3-installer
+makedepends = python3-wheel
+source = python3-fake-useragent-1.1.1.tar.gz::https://github.com/fake-useragent/fake-useragent/archive/refs/tags/1.1.1.tar.gz
+b2sums = ebce873d48cf93527e3f93fabf94f0bd131a232005477dc4f7da3e43525644cd48a5d44c7fcce96c646b738d810ed170667e0b68f460c08030e153fabe4714d4
 makedepends = python3-setuptools
+makedepends = python3-build
+makedepends = python3-installer
+makedepends = python3-wheel
diff --git a/PKGBUILD b/PKGBUILD
index 40b6763..6f7711c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,28 +1,27 @@
 # Maintainer: exponential <echo ZXhwb25lbnRpYWxtYXRyaXhAcHJvdG9ubWFpbC5jb20K | base64 -d>
-# Contributor: Daniel M. Capella (AUR) <polyzen@archlinux.org>
-
+# Contributor: Alan Beale (AUR) <the.mrabz@gmail.com>
+# NOT TESTED
 _name=fake-useragent
 pkgname=python3-fake-useragent
-pkgver=0.1.13
+pkgver=1.1.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')
+makedepends=('python3-setuptools' '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=('8f1a68612353beb7449fb6efddb19649ebcdab8114d1844769ff930ae4350343fa1d10de373899daf7661deba54004bcb20627701a247a10b91af8fce494830b')
+b2sums=('ebce873d48cf93527e3f93fabf94f0bd131a232005477dc4f7da3e43525644cd48a5d44c7fcce96c646b738d810ed170667e0b68f460c08030e153fabe4714d4')
 
 build() {
   cd $_name-$pkgver
-  python3 setup.py build
+  python3 -m build --wheel --no-isolation
 }
 
 package() {
   cd $_name-$pkgver
-  python3 setup.py install --root="$pkgdir" --optimize=1 --skip-build --install-layout deb
-
+  python3 -m installer --destdir="$pkgdir" dist/*.whl #--optimize=1 --skip-build
   install -Dm644 "LICENSE" "$pkgdir/usr/share/doc/$pkgname/license"
   install -Dm644 "README.md" "$pkgdir/usr/share/doc/$pkgname/readme"
 }