From 6c7220e9f3e5aab29394482cf31c55d6e270644e Mon Sep 17 00:00:00 2001 From: Britney Fransen Date: Fri, 15 Apr 2016 17:52:34 +0000 Subject: python2-enum34: initial inclusion. dep of python-cryptography --- abs/core/python_modules/python2-enum34/PKGBUILD | 26 +++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 abs/core/python_modules/python2-enum34/PKGBUILD 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 +# Contributor: Schala + +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: -- cgit v0.12