[arch-commits] Commit in python-cryptography-vectors/repos (2 files)

Felix Yan felixonmars at archlinux.org
Tue Nov 22 11:15:25 UTC 2016


    Date: Tuesday, November 22, 2016 @ 11:15:24
  Author: felixonmars
Revision: 196516

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 196515, python-cryptography-vectors/trunk/PKGBUILD)

----------+
 PKGBUILD |   32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

Copied: python-cryptography-vectors/repos/community-testing-any/PKGBUILD (from rev 196515, python-cryptography-vectors/trunk/PKGBUILD)
===================================================================
--- community-testing-any/PKGBUILD	                        (rev 0)
+++ community-testing-any/PKGBUILD	2016-11-22 11:15:24 UTC (rev 196516)
@@ -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.6
+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")
+md5sums=('d7d53f061366394267be444fa84cfe89')
+
+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