Date: Tuesday, July 18, 2017 @ 04:36:18 Author: felixonmars Revision: 245533
archrelease: copy trunk to community-any Added: python-cryptography-vectors/repos/community-any/PKGBUILD (from rev 245532, python-cryptography-vectors/trunk/PKGBUILD) Deleted: python-cryptography-vectors/repos/community-any/PKGBUILD ----------+ PKGBUILD | 64 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 32 insertions(+), 32 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2017-07-18 04:35:46 UTC (rev 245532) +++ PKGBUILD 2017-07-18 04:36:18 UTC (rev 245533) @@ -1,32 +0,0 @@ -# $Id$ -# Maintainer: Felix Yan <felixonm...@archlinux.org> - -pkgbase=python-cryptography-vectors -pkgname=('python-cryptography-vectors' 'python2-cryptography-vectors') -pkgver=1.9 -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=('3c37dc39496b66539f54bf377b4653b59abaa81fc9fbd68e2d337acbfe9c7fd80801b37ddddc2f7698356b22fb9bcd9f8a41ff95ee405b208c267c0fcba56ead') - -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 245532, python-cryptography-vectors/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2017-07-18 04:36:18 UTC (rev 245533) @@ -0,0 +1,32 @@ +# $Id$ +# Maintainer: Felix Yan <felixonm...@archlinux.org> + +pkgbase=python-cryptography-vectors +pkgname=('python-cryptography-vectors' 'python2-cryptography-vectors') +pkgver=2.0 +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=('827c5b56322fc2000c51d9a0542e147e2e011cf7a92e9e27660a32da3582ec71bcd5f166c3e920c01baa348706c8c3edbcab387c0427ace27a7d5f2746f3a4c5') + +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 +}