Date: Saturday, February 12, 2022 @ 22:17:19 Author: arojas Revision: 1132992
archrelease: copy trunk to community-x86_64 Added: python-argon2_cffi/repos/community-x86_64/PKGBUILD (from rev 1132991, python-argon2_cffi/trunk/PKGBUILD) Deleted: python-argon2_cffi/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 82 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 41 insertions(+), 41 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2022-02-12 22:17:08 UTC (rev 1132991) +++ PKGBUILD 2022-02-12 22:17:19 UTC (rev 1132992) @@ -1,41 +0,0 @@ -# Maintainer: Balló György <ballogyor+arch at gmail dot com> - -_pkgname=argon2_cffi -pkgname=python-argon2_cffi -pkgver=21.1.0 -pkgrel=3 -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 -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 - cd .. -} - -build() { - cd $_pkgname - python3 setup.py build -} - -package() { - cd $_pkgname - python3 setup.py install --root="$pkgdir" --optimize=1 - install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" -} Copied: python-argon2_cffi/repos/community-x86_64/PKGBUILD (from rev 1132991, python-argon2_cffi/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2022-02-12 22:17:19 UTC (rev 1132992) @@ -0,0 +1,41 @@ +# Maintainer: Balló György <ballogyor+arch at gmail dot com> + +_pkgname=argon2_cffi +pkgname=python-argon2_cffi +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=(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' + '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 + cd .. +} + +build() { + cd $_pkgname + python -m build --wheel --skip-dependency-check --no-isolation +} + +package() { + cd $_pkgname + python -m install dist/*.whl --destdir="$pkgdir" --optimize=1 + install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" +}