Date: Thursday, February 28, 2019 @ 09:32:19 Author: felixonmars Revision: 436966
archrelease: copy trunk to community-any Added: python-cryptography-vectors/repos/community-any/PKGBUILD (from rev 436965, python-cryptography-vectors/trunk/PKGBUILD) Deleted: python-cryptography-vectors/repos/community-any/PKGBUILD ----------+ PKGBUILD | 62 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 31 insertions(+), 31 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2019-02-28 09:30:07 UTC (rev 436965) +++ PKGBUILD 2019-02-28 09:32:19 UTC (rev 436966) @@ -1,31 +0,0 @@ -# Maintainer: Felix Yan <felixonm...@archlinux.org> - -pkgbase=python-cryptography-vectors -pkgname=('python-cryptography-vectors' 'python2-cryptography-vectors') -pkgver=2.6 -pkgrel=1 -pkgdesc="Test vectors for the cryptography package" -arch=('any') -license=('Apache') -url="http://pypi.python.org/pypi/cryptography-vectors" -makedepends=('python-setuptools' 'python2-setuptools') -source=("https://pypi.io/packages/source/c/cryptography-vectors/cryptography_vectors-${pkgver}.tar.gz") -sha512sums=('80b130c3ded47e9adbe46a9bdab5cc33419875132fc25a82159d9312e2c603af5c19e2b1683f35ad267e71019795977bdf3278a62f519e9a372a8a88544ee84c') - -prepare() { - cp -a cryptography_vectors-$pkgver{,-python2} -} - -package_python-cryptography-vectors() { - depends=('python') - - cd cryptography_vectors-$pkgver - python3 setup.py install --root="$pkgdir" --optimize=1 -} - -package_python2-cryptography-vectors() { - depends=('python2') - - cd cryptography_vectors-$pkgver-python2 - python2 setup.py install --root="$pkgdir" --optimize=1 -} Copied: python-cryptography-vectors/repos/community-any/PKGBUILD (from rev 436965, python-cryptography-vectors/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2019-02-28 09:32:19 UTC (rev 436966) @@ -0,0 +1,31 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> + +pkgbase=python-cryptography-vectors +pkgname=('python-cryptography-vectors' 'python2-cryptography-vectors') +pkgver=2.6.1 +pkgrel=1 +pkgdesc="Test vectors for the cryptography package" +arch=('any') +license=('Apache') +url="http://pypi.python.org/pypi/cryptography-vectors" +makedepends=('python-setuptools' 'python2-setuptools') +source=("https://pypi.io/packages/source/c/cryptography-vectors/cryptography_vectors-${pkgver}.tar.gz") +sha512sums=('44d318d5f983955f42791cf182dd80070a87c3c05f7353e204a520588243041fec97367c6fb6d9febcdab0ce7bcf1d135a8e6b44a7387b599752b7c87fc81d9a') + +prepare() { + cp -a cryptography_vectors-$pkgver{,-python2} +} + +package_python-cryptography-vectors() { + depends=('python') + + cd cryptography_vectors-$pkgver + python3 setup.py install --root="$pkgdir" --optimize=1 +} + +package_python2-cryptography-vectors() { + depends=('python2') + + cd cryptography_vectors-$pkgver-python2 + python2 setup.py install --root="$pkgdir" --optimize=1 +}