Date: Wednesday, December 1, 2021 @ 14:56:37 Author: felixonmars Revision: 1059569
archrelease: copy trunk to community-staging-x86_64 Added: python-fastpbkdf2/repos/community-staging-x86_64/ python-fastpbkdf2/repos/community-staging-x86_64/PKGBUILD (from rev 1059564, python-fastpbkdf2/trunk/PKGBUILD) ----------+ PKGBUILD | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) Copied: python-fastpbkdf2/repos/community-staging-x86_64/PKGBUILD (from rev 1059564, python-fastpbkdf2/trunk/PKGBUILD) =================================================================== --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2021-12-01 14:56:37 UTC (rev 1059569) @@ -0,0 +1,30 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Contributor: Gordian Edenhofer <gordian.edenhofer[at]yahoo[dot]de> + +pkgname=python-fastpbkdf2 +pkgver=0.2 +pkgrel=7 +pkgdesc="A faster implementation of PBKDF2" +arch=('x86_64') +license=('Apache') +url="https://github.com/Ayrx/python-fastpbkdf2" +depends=('python-cffi' 'python-six') +makedepends=('python-setuptools' 'git') +checkdepends=('python-pytest-runner') +source=("git+https://github.com/Ayrx/python-fastpbkdf2.git#tag=v$pkgver") +md5sums=('SKIP') + +build() { + cd "$srcdir"/python-fastpbkdf2 + python setup.py build +} + +check() { + cd "$srcdir"/python-fastpbkdf2 + python setup.py pytest +} + +package() { + cd python-fastpbkdf2 + python setup.py install --root="$pkgdir/" --optimize=1 +}