Date: Wednesday, March 28, 2018 @ 15:43:11 Author: felixonmars Revision: 313138
archrelease: copy trunk to community-any Added: python-cryptography-vectors/repos/community-any/PKGBUILD (from rev 313137, 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 2018-03-28 15:42:45 UTC (rev 313137) +++ PKGBUILD 2018-03-28 15:43:11 UTC (rev 313138) @@ -1,32 +0,0 @@ -# $Id$ -# Maintainer: Felix Yan <felixonm...@archlinux.org> - -pkgbase=python-cryptography-vectors -pkgname=('python-cryptography-vectors' 'python2-cryptography-vectors') -pkgver=2.2.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=('f36a00ad2ca9d0859b7c938dbe734ff3da230bed026865f18261872f5f36bd15fd6ba2a6464531b50f617c9c5c0b2aea10cbd35b38806d9f8e32084872857942') - -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 313137, python-cryptography-vectors/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2018-03-28 15:43:11 UTC (rev 313138) @@ -0,0 +1,32 @@ +# $Id$ +# Maintainer: Felix Yan <felixonm...@archlinux.org> + +pkgbase=python-cryptography-vectors +pkgname=('python-cryptography-vectors' 'python2-cryptography-vectors') +pkgver=2.2.2 +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=('bdaf53c8087d6c44fcd3ab54069d1d45b60ee80d98fd813fe180b9e88272203b5dd2abd5fa6dcd3b4ce9ec3215997fd8e99e63309e2f0ac619a6f72d552afff9') + +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 +}