Date: Wednesday, November 21, 2018 @ 09:05:10 Author: felixonmars Revision: 409253
archrelease: copy trunk to community-any Added: python-cryptography-vectors/repos/community-any/PKGBUILD (from rev 409252, 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 2018-11-21 09:04:50 UTC (rev 409252) +++ PKGBUILD 2018-11-21 09:05:10 UTC (rev 409253) @@ -1,31 +0,0 @@ -# Maintainer: Felix Yan <felixonm...@archlinux.org> - -pkgbase=python-cryptography-vectors -pkgname=('python-cryptography-vectors' 'python2-cryptography-vectors') -pkgver=2.4.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=('ad85e0fb3954db48ed8fd1f72d4ceb07abef81eb3861665fca0e4cfcca023f5aced5aaf8f921e0f7ca2480876a254cd7590786bfc44e005683be00050a9fafde') - -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 409252, python-cryptography-vectors/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2018-11-21 09:05:10 UTC (rev 409253) @@ -0,0 +1,31 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> + +pkgbase=python-cryptography-vectors +pkgname=('python-cryptography-vectors' 'python2-cryptography-vectors') +pkgver=2.4.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=('cddd46916b6e5c9101589e6aaeaae0da61eabce9df21a196e09ed0c12bfa7da6e3afcddbb75c657f3370b2a3bc67ca862b22d6c7750301a867b6b03cb9bc83a3') + +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 +}