Date: Tuesday, February 25, 2020 @ 10:50:41 Author: felixonmars Revision: 580995
archrelease: copy trunk to community-any Added: python-cryptography-vectors/repos/community-any/PKGBUILD (from rev 580994, python-cryptography-vectors/trunk/PKGBUILD) Deleted: python-cryptography-vectors/repos/community-any/PKGBUILD ----------+ PKGBUILD | 49 ++++++++++++++++++------------------------------- 1 file changed, 18 insertions(+), 31 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2020-02-25 10:50:25 UTC (rev 580994) +++ PKGBUILD 2020-02-25 10:50:41 UTC (rev 580995) @@ -1,31 +0,0 @@ -# Maintainer: Felix Yan <felixonm...@archlinux.org> - -pkgbase=python-cryptography-vectors -pkgname=('python-cryptography-vectors' 'python2-cryptography-vectors') -pkgver=2.8 -pkgrel=3 -pkgdesc="Test vectors for the cryptography package" -arch=('any') -license=('Apache') -url="https://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=('d328082d3a65b8036d396172d7e42c753c842e9310850a77c6ccd99c9905d48bbc3e3319d216013c1370b8439f0f8056749ae94b1abf9a5b7088435acdeed7fb') - -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 580994, python-cryptography-vectors/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2020-02-25 10:50:41 UTC (rev 580995) @@ -0,0 +1,18 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> + +pkgname=python-cryptography-vectors +pkgver=2.8 +pkgrel=4 +pkgdesc="Test vectors for the cryptography package" +arch=('any') +license=('Apache') +url="https://pypi.python.org/pypi/cryptography-vectors" +depends=('python') +makedepends=('python-setuptools') +source=("https://pypi.io/packages/source/c/cryptography-vectors/cryptography_vectors-$pkgver.tar.gz") +sha512sums=('d328082d3a65b8036d396172d7e42c753c842e9310850a77c6ccd99c9905d48bbc3e3319d216013c1370b8439f0f8056749ae94b1abf9a5b7088435acdeed7fb') + +package() { + cd cryptography_vectors-$pkgver + python3 setup.py install --root="$pkgdir" --optimize=1 +}