[arch-commits] Commit in (3 files)

Antonio Rojas arojas at gemini.archlinux.org
Sat Feb 12 21:57:38 UTC 2022


    Date: Saturday, February 12, 2022 @ 21:57:38
  Author: arojas
Revision: 1132987

New python-argon2-cffi dependency

Added:
  python-argon2-cffi-bindings/
  python-argon2-cffi-bindings/trunk/
  python-argon2-cffi-bindings/trunk/PKGBUILD

----------+
 PKGBUILD |   30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

Added: python-argon2-cffi-bindings/trunk/PKGBUILD
===================================================================
--- python-argon2-cffi-bindings/trunk/PKGBUILD	                        (rev 0)
+++ python-argon2-cffi-bindings/trunk/PKGBUILD	2022-02-12 21:57:38 UTC (rev 1132987)
@@ -0,0 +1,30 @@
+# Maintainer:
+
+_pipname=argon2-cffi-bindings
+pkgname=python-$_pipname
+pkgver=21.2.0
+pkgrel=1
+pkgdesc='Low-level CFFI bindings for Argon2'
+arch=(x86_64)
+url='https://github.com/hynek/argon2-cffi-bindings'
+license=(MIT)
+depends=(python-cffi)
+makedepends=(python-setuptools-scm)
+source=(https://pypi.io/packages/source/${_pipname:0:1}/$_pipname/$_pipname-$pkgver.tar.gz)
+sha256sums=('bb89ceffa6c791807d1305ceb77dbfacc5aa499891d2c55661c6459651fc39e3')
+
+build() {
+  cd $_pipname-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd $_pipname-$pkgver
+  python setup.py test
+}
+
+package() {
+  cd $_pipname-$pkgver 
+  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+  install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname
+}



More information about the arch-commits mailing list