Date: Saturday, February 12, 2022 @ 22:17:08
  Author: arojas
Revision: 1132991

Update to 21.3.0

Modified:
  python-argon2_cffi/trunk/PKGBUILD

----------+
 PKGBUILD |   14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2022-02-12 22:15:14 UTC (rev 1132990)
+++ PKGBUILD    2022-02-12 22:17:08 UTC (rev 1132991)
@@ -2,15 +2,15 @@
 
 _pkgname=argon2_cffi
 pkgname=python-argon2_cffi
-pkgver=21.1.0
-pkgrel=3
+pkgver=21.3.0
+pkgrel=1
 pkgdesc="CFFI-based Argon2 Bindings for Python"
 arch=('x86_64')
 url="https://github.com/hynek/argon2_cffi";
 license=('MIT')
-depends=(argon2 python-cffi python-six)
-makedepends=(git python-setuptools)
-_commit=567fc08fa6c82ce1dff0b2e9927ee7c013e87444
+depends=(python-argon2-cffi-bindings python-six)
+makedepends=(git python-flit-core python-build python-install)
+_commit=6bcdd94d2c902bbef30fba799293e73bd4ba9378
 source=("git+https://github.com/hynek/argon2_cffi#commit=$_commit";
         "git+https://github.com/p-h-c/phc-winner-argon2";)
 sha256sums=('SKIP'
@@ -31,11 +31,11 @@
 
 build() {
   cd $_pkgname
-  python3 setup.py build
+  python -m build --wheel --skip-dependency-check --no-isolation
 }
 
 package() {
   cd $_pkgname
-  python3 setup.py install --root="$pkgdir" --optimize=1
+  python -m install dist/*.whl --destdir="$pkgdir" --optimize=1
   install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
 }

Reply via email to