[arch-commits] Commit in python-cryptography-vectors/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Wed May 31 06:00:06 UTC 2017
Date: Wednesday, May 31, 2017 @ 06:00:05
Author: felixonmars
Revision: 231429
archrelease: copy trunk to community-testing-any
Added:
python-cryptography-vectors/repos/community-testing-any/
python-cryptography-vectors/repos/community-testing-any/PKGBUILD
(from rev 231428, python-cryptography-vectors/trunk/PKGBUILD)
----------+
PKGBUILD | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
Copied: python-cryptography-vectors/repos/community-testing-any/PKGBUILD (from rev 231428, python-cryptography-vectors/trunk/PKGBUILD)
===================================================================
--- community-testing-any/PKGBUILD (rev 0)
+++ community-testing-any/PKGBUILD 2017-05-31 06:00:05 UTC (rev 231429)
@@ -0,0 +1,32 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-cryptography-vectors
+pkgname=('python-cryptography-vectors' 'python2-cryptography-vectors')
+pkgver=1.9
+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=('3c37dc39496b66539f54bf377b4653b59abaa81fc9fbd68e2d337acbfe9c7fd80801b37ddddc2f7698356b22fb9bcd9f8a41ff95ee405b208c267c0fcba56ead')
+
+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