Date: Friday, February 23, 2018 @ 17:48:02 Author: anthraxx Revision: 297244
archrelease: copy trunk to community-x86_64 Added: python-scrypt/repos/community-x86_64/PKGBUILD (from rev 297243, python-scrypt/trunk/PKGBUILD) Deleted: python-scrypt/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 110 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 55 insertions(+), 55 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2018-02-23 17:02:23 UTC (rev 297243) +++ PKGBUILD 2018-02-23 17:48:02 UTC (rev 297244) @@ -1,55 +0,0 @@ -# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org> -# Contributor: Daniel Micay <danielmi...@gmail.com> - -pkgname=('python-scrypt' 'python2-scrypt') -pkgver=0.8.6 -pkgrel=4 -pkgdesc='Bindings for the scrypt key derivation function library' -arch=('x86_64') -url='https://pypi.python.org/pypi/scrypt/' -license=('BSD') -makedepends=('python-setuptools' 'python2-setuptools') -options=('!emptydirs') -source=(https://pypi.python.org/packages/source/s/scrypt/scrypt-${pkgver}.tar.gz) -sha512sums=('f0f3bd61a5fcb55a1d6af5b7062202446c2c0595e88617f1e53c4ded6a9b1ab857fda9e8d153c0b3bbceee49a818dd428776522c6b0919b15096fd230b13ef60') - -prepare() { - cp -a scrypt-${pkgver}{,-py2} - sed 's|env python$|env python2|' -i scrypt-${pkgver}-py2/scrypt/scrypt.py -} - -build() { - (cd scrypt-${pkgver} - python setup.py build - ) - (cd scrypt-${pkgver}-py2 - python2 setup.py build - ) -} - -check() { - (cd scrypt-${pkgver} - python setup.py test - ) - (cd scrypt-${pkgver}-py2 - python2 setup.py test - ) -} - -package_python-scrypt() { - depends=('python' 'glibc') - cd scrypt-${pkgver} - python setup.py install --root="${pkgdir}" -O1 --skip-build - install -Dm 644 README.rst -t "${pkgdir}/usr/share/doc/${pkgname}" - install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}" -} - -package_python2-scrypt() { - depends=('python2' 'glibc') - cd scrypt-${pkgver}-py2 - python2 setup.py install --root="${pkgdir}" -O1 --skip-build - install -Dm 644 README.rst -t "${pkgdir}/usr/share/doc/${pkgname}" - install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}" -} - -# vim: ts=2 sw=2 et: Copied: python-scrypt/repos/community-x86_64/PKGBUILD (from rev 297243, python-scrypt/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2018-02-23 17:48:02 UTC (rev 297244) @@ -0,0 +1,55 @@ +# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org> +# Contributor: Daniel Micay <danielmi...@gmail.com> + +pkgname=('python-scrypt' 'python2-scrypt') +pkgver=0.8.6 +pkgrel=4 +pkgdesc='Bindings for the scrypt key derivation function library' +arch=('x86_64') +url='https://pypi.python.org/pypi/scrypt/' +license=('BSD') +makedepends=('python-setuptools' 'python2-setuptools') +options=('!emptydirs') +source=(https://pypi.python.org/packages/source/s/scrypt/scrypt-${pkgver}.tar.gz) +sha512sums=('f0f3bd61a5fcb55a1d6af5b7062202446c2c0595e88617f1e53c4ded6a9b1ab857fda9e8d153c0b3bbceee49a818dd428776522c6b0919b15096fd230b13ef60') + +prepare() { + cp -a scrypt-${pkgver}{,-py2} + sed 's|env python$|env python2|' -i scrypt-${pkgver}-py2/scrypt/scrypt.py +} + +build() { + (cd scrypt-${pkgver} + python setup.py build + ) + (cd scrypt-${pkgver}-py2 + python2 setup.py build + ) +} + +check() { + (cd scrypt-${pkgver} + python setup.py test + ) + (cd scrypt-${pkgver}-py2 + python2 setup.py test + ) +} + +package_python-scrypt() { + depends=('python' 'glibc') + cd scrypt-${pkgver} + python setup.py install --root="${pkgdir}" -O1 --skip-build + install -Dm 644 README.rst -t "${pkgdir}/usr/share/doc/${pkgname}" + install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}" +} + +package_python2-scrypt() { + depends=('python2' 'glibc') + cd scrypt-${pkgver}-py2 + python2 setup.py install --root="${pkgdir}" -O1 --skip-build + install -Dm 644 README.rst -t "${pkgdir}/usr/share/doc/${pkgname}" + install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}" +} + +# vim: ts=2 sw=2 et: