[arch-commits] Commit in python-cryptography-vectors/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Sat Oct 26 20:59:08 UTC 2019
Date: Saturday, October 26, 2019 @ 20:59:07
Author: felixonmars
Revision: 520686
archrelease: copy trunk to community-staging-any
Added:
python-cryptography-vectors/repos/community-staging-any/
python-cryptography-vectors/repos/community-staging-any/PKGBUILD
(from rev 520685, python-cryptography-vectors/trunk/PKGBUILD)
----------+
PKGBUILD | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
Copied: python-cryptography-vectors/repos/community-staging-any/PKGBUILD (from rev 520685, python-cryptography-vectors/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2019-10-26 20:59:07 UTC (rev 520686)
@@ -0,0 +1,31 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-cryptography-vectors
+pkgname=('python-cryptography-vectors' 'python2-cryptography-vectors')
+pkgver=2.8
+pkgrel=2
+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
+}
More information about the arch-commits
mailing list