summaryrefslogtreecommitdiffstats
path: root/abs/core
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2016-04-15 17:52:34 (GMT)
committerBritney Fransen <brfransen@gmail.com>2016-04-15 17:52:34 (GMT)
commit6c7220e9f3e5aab29394482cf31c55d6e270644e (patch)
treeb48ea1ba7de8f0debaad59fe941c2589d9f695bf /abs/core
parent58d0ef608329175456b2831156b4257907566897 (diff)
downloadlinhes_pkgbuild-6c7220e9f3e5aab29394482cf31c55d6e270644e.zip
linhes_pkgbuild-6c7220e9f3e5aab29394482cf31c55d6e270644e.tar.gz
linhes_pkgbuild-6c7220e9f3e5aab29394482cf31c55d6e270644e.tar.bz2
python2-enum34: initial inclusion. dep of python-cryptography
Diffstat (limited to 'abs/core')
-rw-r--r--abs/core/python_modules/python2-enum34/PKGBUILD26
1 files changed, 26 insertions, 0 deletions
diff --git a/abs/core/python_modules/python2-enum34/PKGBUILD b/abs/core/python_modules/python2-enum34/PKGBUILD
new file mode 100644
index 0000000..24853ad
--- /dev/null
+++ b/abs/core/python_modules/python2-enum34/PKGBUILD
@@ -0,0 +1,26 @@
+# $Id$
+# Maintainer: Maxime Gauduin <alucryd@gmail.com>
+# Contributor: Schala <schalaalexiazeal@gmail.com>
+
+pkgname=python2-enum34
+pkgver=1.1.2
+pkgrel=1
+pkgdesc='Python 3.4 Enum backported'
+arch=('any')
+url='http://pypi.python.org/pypi/enum34'
+license=('BSD')
+depends=('python2')
+makedepends=('python2-setuptools')
+source=("https://pypi.python.org/packages/source/e/enum34/enum34-${pkgver}.tar.gz")
+sha256sums=('2475d7fcddf5951e92ff546972758802de5260bf409319a9f1934e6bbc8b1dc7')
+
+package() {
+ cd enum34-${pkgver}
+
+ python2 setup.py install --root="${pkgdir}" --optimize='1'
+
+ install -dm 755 "${pkgdir}"/usr/share/licenses/python2-enum34
+ install -m 644 enum/LICENSE "${pkgdir}"/usr/share/licenses/python2-enum34/
+}
+
+# vim: ts=2 sw=2 et: