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

Felix Yan fyan at archlinux.org
Sat Sep 19 15:29:14 UTC 2015


    Date: Saturday, September 19, 2015 @ 17:29:14
  Author: fyan
Revision: 140904

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

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

Copied: python-cryptography-vectors/repos/community-staging-any/PKGBUILD (from rev 140903, python-cryptography-vectors/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2015-09-19 15:29:14 UTC (rev 140904)
@@ -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.0.1
+pkgrel=2
+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=("http://pypi.python.org/packages/source/c/cryptography-vectors/cryptography_vectors-${pkgver}.tar.gz")
+md5sums=('3a587ed331b34a4bfdec686f060f8e46')
+
+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