[arch-commits] Commit in python-argon2-cffi-bindings (3 files)

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


    Date: Saturday, February 12, 2022 @ 21:57:47
  Author: arojas
Revision: 1132988

archrelease: copy trunk to community-x86_64

Added:
  python-argon2-cffi-bindings/repos/
  python-argon2-cffi-bindings/repos/community-x86_64/
  python-argon2-cffi-bindings/repos/community-x86_64/PKGBUILD
    (from rev 1132987, python-argon2-cffi-bindings/trunk/PKGBUILD)

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

Copied: python-argon2-cffi-bindings/repos/community-x86_64/PKGBUILD (from rev 1132987, python-argon2-cffi-bindings/trunk/PKGBUILD)
===================================================================
--- repos/community-x86_64/PKGBUILD	                        (rev 0)
+++ repos/community-x86_64/PKGBUILD	2022-02-12 21:57:47 UTC (rev 1132988)
@@ -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