summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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: