Date: Friday, April 7, 2023 @ 04:45:19
  Author: felixonmars
Revision: 1440551

archrelease: copy trunk to community-staging-x86_64

Added:
  python-argon2_cffi/repos/community-staging-x86_64/
  python-argon2_cffi/repos/community-staging-x86_64/PKGBUILD
    (from rev 1440548, python-argon2_cffi/trunk/PKGBUILD)

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

Copied: python-argon2_cffi/repos/community-staging-x86_64/PKGBUILD (from rev 
1440548, python-argon2_cffi/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD                           (rev 0)
+++ community-staging-x86_64/PKGBUILD   2023-04-07 04:45:19 UTC (rev 1440551)
@@ -0,0 +1,40 @@
+# Maintainer: Balló György <ballogyor+arch at gmail dot com>
+
+_pkgname=argon2_cffi
+pkgname=python-argon2_cffi
+pkgver=21.3.0
+pkgrel=3
+pkgdesc="CFFI-based Argon2 Bindings for Python"
+arch=('x86_64')
+url="https://github.com/hynek/argon2_cffi";
+license=('MIT')
+depends=(python-argon2-cffi-bindings)
+makedepends=(git python-flit-core python-build python-installer)
+_commit=6bcdd94d2c902bbef30fba799293e73bd4ba9378
+source=("git+https://github.com/hynek/argon2_cffi#commit=$_commit";
+        "git+https://github.com/p-h-c/phc-winner-argon2";)
+sha256sums=('SKIP'
+            'SKIP')
+
+pkgver() {
+  cd $_pkgname
+  git describe --tags | sed 's/-/+/g'
+}
+
+prepare() {
+  cd $_pkgname
+  git submodule init
+  git config --local submodule.extras/libargon2.url "$srcdir/phc-winner-argon2"
+  git submodule update
+}
+
+build() {
+  cd $_pkgname
+  python -m build --wheel --skip-dependency-check --no-isolation
+}
+
+package() {
+  cd $_pkgname
+  python -m installer --destdir="$pkgdir" dist/*.whl
+  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}

Reply via email to