summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2016-04-15 17:54:58 (GMT)
committerBritney Fransen <brfransen@gmail.com>2016-04-15 17:54:58 (GMT)
commit165ed5455a3dcdabce529cd4bf33fcaff159cecc (patch)
treeeea48fdc9d8fe1e5fe23907b2e655b507803ac75
parent6c7220e9f3e5aab29394482cf31c55d6e270644e (diff)
downloadlinhes_pkgbuild-165ed5455a3dcdabce529cd4bf33fcaff159cecc.zip
linhes_pkgbuild-165ed5455a3dcdabce529cd4bf33fcaff159cecc.tar.gz
linhes_pkgbuild-165ed5455a3dcdabce529cd4bf33fcaff159cecc.tar.bz2
python-pyasn1: initial inclusion dep of python-cryptography
-rw-r--r--abs/core/python_modules/python-pyasn1/PKGBUILD39
-rw-r--r--abs/core/python_modules/python-pyasn1/__changelog1
2 files changed, 40 insertions, 0 deletions
diff --git a/abs/core/python_modules/python-pyasn1/PKGBUILD b/abs/core/python_modules/python-pyasn1/PKGBUILD
new file mode 100644
index 0000000..ae8b69c
--- /dev/null
+++ b/abs/core/python_modules/python-pyasn1/PKGBUILD
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Eric BĂ©langer <eric@archlinux.org>
+
+pkgbase=python-pyasn1
+pkgname=('python2-pyasn1')
+pkgver=0.1.9
+pkgrel=1
+arch=('any')
+url="http://sourceforge.net/projects/pyasn1/"
+license=('BSD')
+makedepends=('python2-setuptools')
+replaces=('pyasn1')
+provides=('pyasn1')
+source=(http://downloads.sourceforge.net/sourceforge/pyasn1/pyasn1-${pkgver}.tar.gz)
+sha1sums=('d19599c5d9d039ead21ffcd1a2392c29a838ae03')
+
+check() {
+ cd pyasn1-${pkgver}
+ python2 setup.py test
+ python setup.py test
+}
+
+package_python-pyasn1() {
+ pkgdesc="ASN.1 library for Python 3"
+ depends=('python')
+
+ cd pyasn1-${pkgver}
+ python setup.py install --root="${pkgdir}"
+ install -D -m 644 LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
+
+package_python2-pyasn1() {
+ pkgdesc="ASN.1 library for Python 2"
+ depends=('python2')
+
+ cd pyasn1-${pkgver}
+ python2 setup.py install --root="${pkgdir}"
+ install -D -m 644 LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
diff --git a/abs/core/python_modules/python-pyasn1/__changelog b/abs/core/python_modules/python-pyasn1/__changelog
new file mode 100644
index 0000000..60db758
--- /dev/null
+++ b/abs/core/python_modules/python-pyasn1/__changelog
@@ -0,0 +1 @@
+PKGBUILD: remove py3 stuff