summaryrefslogtreecommitdiffstats
path: root/abs
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2017-07-16 02:45:32 (GMT)
committerBritney Fransen <brfransen@gmail.com>2017-07-16 02:45:32 (GMT)
commitfb910748f860e7a838296fb2875a8156a8683879 (patch)
tree94f40fda8c7ad55c2240c24391ca63f38af640b5 /abs
parent3b0cdff2fe8a8763f9fbc999e5ac296dbd1c3e34 (diff)
downloadlinhes_pkgbuild-fb910748f860e7a838296fb2875a8156a8683879.zip
linhes_pkgbuild-fb910748f860e7a838296fb2875a8156a8683879.tar.gz
linhes_pkgbuild-fb910748f860e7a838296fb2875a8156a8683879.tar.bz2
python-packaging: initial inclusion. dep of flexget
Diffstat (limited to 'abs')
-rw-r--r--abs/core/python_modules/python-packaging/PKGBUILD49
-rw-r--r--abs/core/python_modules/python-packaging/__changelog2
2 files changed, 51 insertions, 0 deletions
diff --git a/abs/core/python_modules/python-packaging/PKGBUILD b/abs/core/python_modules/python-packaging/PKGBUILD
new file mode 100644
index 0000000..c7e2b7a
--- /dev/null
+++ b/abs/core/python_modules/python-packaging/PKGBUILD
@@ -0,0 +1,49 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars@archlinux.org>
+
+pkgbase=python-packaging
+pkgname=(python2-packaging)
+pkgver=16.8
+pkgrel=2
+pkgdesc="Core utilities for Python packages"
+arch=('any')
+url="https://github.com/pypa/packaging"
+license=('Apache')
+makedepends=('python2-setuptools' 'python2-pyparsing' 'git')
+checkdepends=('python2-pytest-runner' 'python2-pretend' 'python2-coverage')
+source=("git+https://github.com/pypa/packaging.git#tag=$pkgver")
+md5sums=('SKIP')
+
+prepare() {
+ cp -a packaging{,-py2}
+}
+
+build() {
+# cd "$srcdir"/packaging
+# python setup.py build
+
+ cd "$srcdir"/packaging-py2
+ python2 setup.py build
+}
+
+check() {
+# cd "$srcdir"/packaging
+# python setup.py ptr
+
+ cd "$srcdir"/packaging-py2
+ python2 setup.py ptr
+}
+
+package_python-packaging() {
+ depends=('python-pyparsing' 'python-six')
+
+ cd "$srcdir"/packaging
+ python setup.py install --root "$pkgdir"
+}
+
+package_python2-packaging() {
+ depends=('python2-pyparsing' 'python2-six')
+
+ cd "$srcdir"/packaging-py2
+ python2 setup.py install --root "$pkgdir"
+}
diff --git a/abs/core/python_modules/python-packaging/__changelog b/abs/core/python_modules/python-packaging/__changelog
new file mode 100644
index 0000000..4f818ef
--- /dev/null
+++ b/abs/core/python_modules/python-packaging/__changelog
@@ -0,0 +1,2 @@
+PKGBUILD: don't build py 3 stuff
+