Date: Thursday, November 30, 2017 @ 04:16:54 Author: felixonmars Revision: 270786
archrelease: copy trunk to community-any Added: python-cryptography-vectors/repos/community-any/PKGBUILD (from rev 270785, 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-11-30 04:16:30 UTC (rev 270785) +++ PKGBUILD 2017-11-30 04:16:54 UTC (rev 270786) @@ -1,32 +0,0 @@ -# $Id$ -# Maintainer: Felix Yan <felixonm...@archlinux.org> - -pkgbase=python-cryptography-vectors -pkgname=('python-cryptography-vectors' 'python2-cryptography-vectors') -pkgver=2.1.3 -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=('09b7040bc5ef0d0c888ac3dadc325e76c8156f3b6aedba1298a07156471ce08f093ff953be413a9dde66d7db9d2c8ae22d0f94e323d961a0eb99fdb022f166ee') - -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 270785, python-cryptography-vectors/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2017-11-30 04:16:54 UTC (rev 270786) @@ -0,0 +1,32 @@ +# $Id$ +# Maintainer: Felix Yan <felixonm...@archlinux.org> + +pkgbase=python-cryptography-vectors +pkgname=('python-cryptography-vectors' 'python2-cryptography-vectors') +pkgver=2.1.4 +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=('74c2c1e3924f848488a3b5abdabda1a0089ae7d070b94e65f9fa2bf2da057ad27a37e46f90de4f2c3e9f1cc96c1c179cb5dbf0f50d5166a02846923e3bceb165') + +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 +}