summaryrefslogtreecommitdiffstats
path: root/abs/core/python_modules
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2017-12-09 14:34:12 (GMT)
committerBritney Fransen <brfransen@gmail.com>2017-12-09 14:34:12 (GMT)
commitf06d8e1bedfcf6d424a4736d43f366d95fb33690 (patch)
treea78baa8ac9914820a0c470c391772bcdb9e17b4d /abs/core/python_modules
parentada13c3f17134c5885f686509d128080450efa1b (diff)
parente4b0dec19f02e6d8e995b19a22110cac26f07ac4 (diff)
downloadlinhes_pkgbuild-f06d8e1bedfcf6d424a4736d43f366d95fb33690.zip
linhes_pkgbuild-f06d8e1bedfcf6d424a4736d43f366d95fb33690.tar.gz
linhes_pkgbuild-f06d8e1bedfcf6d424a4736d43f366d95fb33690.tar.bz2
Merge branch 'testing'
Diffstat (limited to 'abs/core/python_modules')
-rw-r--r--abs/core/python_modules/python-appdirs/PKGBUILD53
-rw-r--r--abs/core/python_modules/python-appdirs/__changelog2
-rw-r--r--abs/core/python_modules/python-beautifulsoup4/PKGBUILD57
-rw-r--r--abs/core/python_modules/python-beautifulsoup4/__changelog2
-rw-r--r--abs/core/python_modules/python-chardet/PKGBUILD38
-rw-r--r--abs/core/python_modules/python-chardet/__changelog2
-rw-r--r--abs/core/python_modules/python-cherrypy/PKGBUILD60
-rw-r--r--abs/core/python_modules/python-cherrypy/__changelog1
-rw-r--r--abs/core/python_modules/python-click/PKGBUILD41
-rw-r--r--abs/core/python_modules/python-feedparser/PKGBUILD58
-rw-r--r--abs/core/python_modules/python-feedparser/__changelog1
-rw-r--r--abs/core/python_modules/python-flask-login/PKGBUILD48
-rw-r--r--abs/core/python_modules/python-flask-login/__changelog1
-rw-r--r--abs/core/python_modules/python-flask-restful/LICENSE25
-rw-r--r--abs/core/python_modules/python-flask-restful/PKGBUILD54
-rw-r--r--abs/core/python_modules/python-flask/PKGBUILD60
-rw-r--r--abs/core/python_modules/python-flask/__changelog1
-rw-r--r--abs/core/python_modules/python-future/PKGBUILD66
-rw-r--r--abs/core/python_modules/python-future/__changelog1
-rw-r--r--abs/core/python_modules/python-html5lib/LICENSE17
-rw-r--r--abs/core/python_modules/python-html5lib/PKGBUILD42
-rw-r--r--abs/core/python_modules/python-html5lib/__changelog2
-rw-r--r--abs/core/python_modules/python-idna/PKGBUILD12
-rw-r--r--abs/core/python_modules/python-itsdangerous/PKGBUILD37
-rw-r--r--abs/core/python_modules/python-itsdangerous/__changelog1
-rw-r--r--abs/core/python_modules/python-jsonschema/PKGBUILD38
-rw-r--r--abs/core/python_modules/python-jsonschema/__changelog2
-rw-r--r--abs/core/python_modules/python-ndg-httpsclient/PKGBUILD48
-rw-r--r--abs/core/python_modules/python-ndg-httpsclient/__changelog2
-rw-r--r--abs/core/python_modules/python-packaging/PKGBUILD49
-rw-r--r--abs/core/python_modules/python-packaging/__changelog2
-rw-r--r--abs/core/python_modules/python-path/PKGBUILD40
-rw-r--r--abs/core/python_modules/python-path/__changelog2
-rw-r--r--abs/core/python_modules/python-pip/PKGBUILD44
-rw-r--r--abs/core/python_modules/python-pip/__changelog2
-rw-r--r--abs/core/python_modules/python-pyparsing/PKGBUILD64
-rw-r--r--abs/core/python_modules/python-pyparsing/__changelog2
-rw-r--r--abs/core/python_modules/python-pyrss2gen/PKGBUILD35
-rw-r--r--abs/core/python_modules/python-pyrss2gen/__changelog2
-rw-r--r--abs/core/python_modules/python-pysocks/PKGBUILD64
-rw-r--r--abs/core/python_modules/python-pysocks/__changelog2
-rw-r--r--abs/core/python_modules/python-pytest-runner/PKGBUILD52
-rw-r--r--abs/core/python_modules/python-pytest-runner/__changelog2
-rw-r--r--abs/core/python_modules/python-pytz/PKGBUILD58
-rw-r--r--abs/core/python_modules/python-pytz/__changelog1
-rw-r--r--abs/core/python_modules/python-rebulk/PKGBUILD34
-rw-r--r--abs/core/python_modules/python-rebulk/__changelog2
-rw-r--r--abs/core/python_modules/python-regex/PKGBUILD46
-rw-r--r--abs/core/python_modules/python-regex/__changelog1
-rw-r--r--abs/core/python_modules/python-requests-cache/PKGBUILD34
-rw-r--r--abs/core/python_modules/python-requests-cache/__changelog1
-rw-r--r--abs/core/python_modules/python-requests/PKGBUILD64
-rw-r--r--abs/core/python_modules/python-requests/__changelog2
-rw-r--r--abs/core/python_modules/python-requests/certs.patch14
-rw-r--r--abs/core/python_modules/python-rpyc/PKGBUILD30
-rw-r--r--abs/core/python_modules/python-rpyc/__changelog2
-rw-r--r--abs/core/python_modules/python-setuptools-scm/PKGBUILD68
-rw-r--r--abs/core/python_modules/python-setuptools-scm/__changelog2
-rw-r--r--abs/core/python_modules/python-setuptools/PKGBUILD109
-rw-r--r--abs/core/python_modules/python-six/PKGBUILD46
-rw-r--r--abs/core/python_modules/python-sqlalchemy/PKGBUILD63
-rw-r--r--abs/core/python_modules/python-sqlalchemy/__changelog2
-rw-r--r--abs/core/python_modules/python-terminaltables/PKGBUILD27
-rw-r--r--abs/core/python_modules/python-tzlocal/PKGBUILD45
-rw-r--r--abs/core/python_modules/python-tzlocal/__changelog1
-rw-r--r--abs/core/python_modules/python-urllib3/LICENSE32
-rw-r--r--abs/core/python_modules/python-urllib3/PKGBUILD72
-rw-r--r--abs/core/python_modules/python-urllib3/__changelog1
-rw-r--r--abs/core/python_modules/python-webencodings/PKGBUILD40
-rw-r--r--abs/core/python_modules/python-webencodings/__changelog2
-rw-r--r--abs/core/python_modules/python-werkzeug/PKGBUILD61
-rw-r--r--abs/core/python_modules/python-werkzeug/__changelog1
-rw-r--r--abs/core/python_modules/python2-aniso8601/PKGBUILD29
-rw-r--r--abs/core/python_modules/python2-apscheduler/PKGBUILD28
-rw-r--r--abs/core/python_modules/python2-babelfish/PKGBUILD24
-rw-r--r--abs/core/python_modules/python2-colorclass/PKGBUILD23
-rw-r--r--abs/core/python_modules/python2-flask-compress/PKGBUILD26
-rw-r--r--abs/core/python_modules/python2-flask-cors/PKGBUILD21
-rw-r--r--abs/core/python_modules/python2-flask-cors/README.md16
-rw-r--r--abs/core/python_modules/python2-flask-restplus086/PKGBUILD35
-rw-r--r--abs/core/python_modules/python2-funcsigs/PKGBUILD28
-rw-r--r--abs/core/python_modules/python2-functools32/PKGBUILD29
-rw-r--r--abs/core/python_modules/python2-futures/LICENSE21
-rw-r--r--abs/core/python_modules/python2-futures/PKGBUILD30
-rw-r--r--abs/core/python_modules/python2-guessit/PKGBUILD29
-rw-r--r--abs/core/python_modules/python2-ordereddict/PKGBUILD19
-rw-r--r--abs/core/python_modules/python2-pathlib/PKGBUILD21
-rw-r--r--abs/core/python_modules/python2-paver/PKGBUILD25
-rw-r--r--abs/core/python_modules/python2-plumbum/PKGBUILD29
-rw-r--r--abs/core/python_modules/python2-pynzb/PKGBUILD30
-rw-r--r--abs/core/python_modules/python2-pytvmaze/PKGBUILD18
-rw-r--r--abs/core/python_modules/python2-transmissionrpc/PKGBUILD23
-rw-r--r--abs/core/python_modules/python2-zxcvbn/PKGBUILD25
93 files changed, 2450 insertions, 74 deletions
diff --git a/abs/core/python_modules/python-appdirs/PKGBUILD b/abs/core/python_modules/python-appdirs/PKGBUILD
new file mode 100644
index 0000000..95552c7
--- /dev/null
+++ b/abs/core/python_modules/python-appdirs/PKGBUILD
@@ -0,0 +1,53 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars@archlinux.org>
+# Contributor: Tobias Roettger <toroettg@gmail.com>
+
+pkgbase=python-appdirs
+pkgname=(python2-appdirs)
+pkgver=1.4.3
+pkgrel=1
+pkgdesc='A small Python module for determining appropriate platform-specific dirs, e.g. a "user data dir".'
+arch=('any')
+url="https://github.com/ActiveState/appdirs"
+license=('MIT')
+makedepends=('python2-setuptools')
+source=("https://pypi.io/packages/source/a/appdirs/appdirs-$pkgver.tar.gz")
+md5sums=('44c679904082a2133f5566c8a0d3ab42')
+
+prepare() {
+ cp -a appdirs-$pkgver{,-py2}
+}
+
+build() {
+# cd "$srcdir"/appdirs-$pkgver
+# python setup.py build
+
+ cd "$srcdir"/appdirs-$pkgver-py2
+ python2 setup.py build
+}
+
+check() {
+# cd "$srcdir"/appdirs-$pkgver
+# python setup.py test
+
+ cd "$srcdir"/appdirs-$pkgver-py2
+ python2 setup.py test
+}
+
+package_python-appdirs() {
+ depends=('python')
+
+ cd appdirs-$pkgver
+ python setup.py install --root="$pkgdir/" --optimize=1
+ install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.txt
+}
+
+package_python2-appdirs() {
+ depends=('python2')
+
+ cd appdirs-$pkgver-py2
+ python2 setup.py install --root="$pkgdir/" --optimize=1
+ install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.txt
+}
+
+# vim:set ts=2 sw=2 et:
diff --git a/abs/core/python_modules/python-appdirs/__changelog b/abs/core/python_modules/python-appdirs/__changelog
new file mode 100644
index 0000000..4f818ef
--- /dev/null
+++ b/abs/core/python_modules/python-appdirs/__changelog
@@ -0,0 +1,2 @@
+PKGBUILD: don't build py 3 stuff
+
diff --git a/abs/core/python_modules/python-beautifulsoup4/PKGBUILD b/abs/core/python_modules/python-beautifulsoup4/PKGBUILD
new file mode 100644
index 0000000..9af6084
--- /dev/null
+++ b/abs/core/python_modules/python-beautifulsoup4/PKGBUILD
@@ -0,0 +1,57 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars@archlinux.org>
+# Contributor: Daniel Wallace <danielwallace at gtmanfred dot com>
+# Contributor: Giovanni Scafora <giovanni@archlinux.org>
+
+pkgbase=python-beautifulsoup4
+pkgname=('python2-beautifulsoup4')
+pkgver=4.6.0
+pkgrel=1
+pkgdesc="A Python HTML/XML parser designed for quick turnaround projects like screen-scraping"
+arch=('any')
+url="http://www.crummy.com/software/BeautifulSoup/index.html"
+license=('PSF')
+makedepends=('python2-setuptools')
+checkdepends=('python2-pytest')
+source=("http://www.crummy.com/software/BeautifulSoup/bs4/download/${pkgver%.*}/${pkgbase#*-}-$pkgver.tar.gz")
+sha512sums=('1a7eee4218e58cc3852e71fe4f0892f673bb46a851941264766a38eff8ef05d612d88b4641fcb478ce8f66ac50dc987ca039923c4bbb11867c74813289f7e578')
+
+prepare() {
+ cp -a beautifulsoup4-$pkgver{,-py2}
+}
+
+build() {
+# cd "$srcdir"/beautifulsoup4-$pkgver
+# python setup.py build
+
+ cd "$srcdir"/beautifulsoup4-$pkgver-py2
+ python2 setup.py build
+}
+
+check() {
+# cd "$srcdir"/beautifulsoup4-$pkgver/build
+# py.test
+
+ cd "$srcdir"/beautifulsoup4-$pkgver-py2/build
+ py.test2
+}
+
+package_python-beautifulsoup4() {
+ depends=('python')
+ optdepends=('python-chardet: to autodetect character encodings'
+ 'python-lxml: alternative HTML parser'
+ 'python-html5lib: alternative HTML parser')
+
+ cd beautifulsoup4-$pkgver
+ python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+}
+
+package_python2-beautifulsoup4() {
+ depends=('python2')
+ optdepends=('python2-chardet: to autodetect character encodings'
+ 'python2-lxml: alternative HTML parser'
+ 'python2-html5lib: alternative HTML parser')
+
+ cd beautifulsoup4-$pkgver-py2
+ python2 setup.py install --root="$pkgdir" --optimize=1 --skip-build
+}
diff --git a/abs/core/python_modules/python-beautifulsoup4/__changelog b/abs/core/python_modules/python-beautifulsoup4/__changelog
new file mode 100644
index 0000000..4f818ef
--- /dev/null
+++ b/abs/core/python_modules/python-beautifulsoup4/__changelog
@@ -0,0 +1,2 @@
+PKGBUILD: don't build py 3 stuff
+
diff --git a/abs/core/python_modules/python-chardet/PKGBUILD b/abs/core/python_modules/python-chardet/PKGBUILD
new file mode 100644
index 0000000..13bc9fa
--- /dev/null
+++ b/abs/core/python_modules/python-chardet/PKGBUILD
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer : Felix Yan <felixonmars@archlinux.org>
+# Contributor: Ionut Biru <ibiru@archlinux.org>
+# Contributor: William Rea <sillywilly@gmail.com>
+
+pkgbase=python-chardet
+pkgname=('python2-chardet')
+pkgver=3.0.4
+pkgrel=1
+arch=('any')
+url="https://github.com/chardet/chardet"
+license=('LGPL')
+makedepends=('python2-setuptools')
+source=("https://pypi.io/packages/source/c/chardet/chardet-${pkgver}.tar.gz")
+sha512sums=('61a03b23447a2bfe52ceed4dd1b9afdb5784da1933a623776883ee9f297e341f633e27f0ce0230bd5fdc5fdb5382105ab42736a74a417ddeb9f83af57455dba5')
+
+prepare() {
+ cp -a chardet-$pkgver{,-py2}
+}
+
+package_python-chardet() {
+ depends=('python-setuptools')
+ pkgdesc="Python3 module for character encoding auto-detection"
+
+ cd chardet-$pkgver
+ python setup.py install --root="$pkgdir" --optimize=1
+}
+
+package_python2-chardet() {
+ depends=('python2-setuptools')
+ pkgdesc="Python2 module for character encoding auto-detection"
+
+ cd chardet-$pkgver-py2
+ python2 setup.py install --root="$pkgdir" --optimize=1
+
+ # To avoid file conflict with the python3 version
+ mv "$pkgdir"/usr/bin/chardetect{,-py2}
+}
diff --git a/abs/core/python_modules/python-chardet/__changelog b/abs/core/python_modules/python-chardet/__changelog
new file mode 100644
index 0000000..4f818ef
--- /dev/null
+++ b/abs/core/python_modules/python-chardet/__changelog
@@ -0,0 +1,2 @@
+PKGBUILD: don't build py 3 stuff
+
diff --git a/abs/core/python_modules/python-cherrypy/PKGBUILD b/abs/core/python_modules/python-cherrypy/PKGBUILD
new file mode 100644
index 0000000..5fd491b
--- /dev/null
+++ b/abs/core/python_modules/python-cherrypy/PKGBUILD
@@ -0,0 +1,60 @@
+# $Id$
+# Maintainer: Angel Velasquez <angvp@archlinux.org>
+# Contributor: Kaiting Chen <kaitocracy@gmail.com>
+# Contributor: Douglas Soares de Andrade <dsa@aur.archlinux.org>
+# Contributor: Armando M. Baratti <amblistas@ajato.com.br>
+# Contributor: Florian Richter <Florian_Richter@gmx.de>
+pkgname=('python2-cherrypy')
+pkgver=8.9.1
+pkgrel=1
+pkgdesc="A pythonic, object-oriented web development framework"
+arch=('any')
+url="http://www.cherrypy.org"
+license=('BSD')
+makedepends=('python2' 'python2-setuptools')
+checkdepends=('python2-mock')
+source=("https://pypi.python.org/packages/56/aa/91005730bdc5c0da8291a2f411aacbc5c3729166c382e2193e33f28044a3/CherryPy-8.9.1.tar.gz")
+md5sums=('7abe5198e48f14cfee57a07d23875a4b')
+
+build() {
+ cp -r CherryPy-${pkgver} CherryPy-${pkgver}-py2
+
+# cd CherryPy-${pkgver}
+# python ./setup.py build
+
+ cd "${srcdir}/CherryPy-${pkgver}-py2"
+ python2 ./setup.py build
+}
+
+package_python-cherrypy() {
+ depends=('python' 'python-six')
+
+ cd CherryPy-${pkgver}
+
+ python ./setup.py install --root="${pkgdir}" --optimize=1
+
+ install -Dm644 LICENSE.md \
+ "${pkgdir}/usr/share/licenses/python-cherrypy/LICENSE.md"
+}
+
+package_python2-cherrypy() {
+ depends=('python2')
+
+ cd CherryPy-${pkgver}-py2
+
+ python2 ./setup.py install --root="${pkgdir}" --optimize=1
+ mv "${pkgdir}/usr/bin/cherryd" "${pkgdir}/usr/bin/cherryd2"
+
+ install -Dm644 LICENSE.md \
+ "${pkgdir}/usr/share/licenses/python2-cherrypy/LICENSE.md"
+}
+
+check() {
+ # backports.unittest_mock is not packaged..
+ cd CherryPy-${pkgver}-py2/cherrypy
+ #LANG="en_US.UTF-8" pytest2 test/
+
+ cd $srcdir/CherryPy-${pkgver}/cherrypy
+ LANG="en_US.UTF-8" nosetests test/
+
+}
diff --git a/abs/core/python_modules/python-cherrypy/__changelog b/abs/core/python_modules/python-cherrypy/__changelog
new file mode 100644
index 0000000..60db758
--- /dev/null
+++ b/abs/core/python_modules/python-cherrypy/__changelog
@@ -0,0 +1 @@
+PKGBUILD: remove py3 stuff
diff --git a/abs/core/python_modules/python-click/PKGBUILD b/abs/core/python_modules/python-click/PKGBUILD
new file mode 100644
index 0000000..06d9ce5
--- /dev/null
+++ b/abs/core/python_modules/python-click/PKGBUILD
@@ -0,0 +1,41 @@
+# Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com>
+# Contributor: Carl George < arch at cgtx dot us >
+
+pkgbase=python-click
+pkgname=("python2-click")
+_realname=click
+pkgver=6.7
+pkgrel=1
+pkgdesc="A simple wrapper around optparse for powerful command line utilities"
+arch=("any")
+url="http://click.pocoo.org/"
+license=("BSD")
+makedepends=("python2-setuptools")
+source=("https://github.com/pallets/click/archive/${pkgver}.tar.gz")
+sha256sums=('40b20383dcbfbe73ab0917374f3dbe866fcf0d88c2a348618bf4419ea136f0dd')
+
+prepare() {
+ cp -a $_realname-$pkgver{,-python2}
+}
+
+build() {
+# cd "${srcdir}/${_realname}-${pkgver}"
+# python setup.py build
+
+ cd "${srcdir}/${_realname}-${pkgver}-python2"
+ python2 setup.py build
+}
+
+package_python-click() {
+ depends=("python")
+ cd "${srcdir}/${_realname}-${pkgver}"
+ python setup.py install --skip-build --root="${pkgdir}" --optimize=1
+ install -Dm644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
+
+package_python2-click() {
+ depends=("python2")
+ cd "${srcdir}/${_realname}-${pkgver}-python2"
+ python2 setup.py install --skip-build --root="${pkgdir}" --optimize=1
+ install -Dm644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
diff --git a/abs/core/python_modules/python-feedparser/PKGBUILD b/abs/core/python_modules/python-feedparser/PKGBUILD
new file mode 100644
index 0000000..6e21842
--- /dev/null
+++ b/abs/core/python_modules/python-feedparser/PKGBUILD
@@ -0,0 +1,58 @@
+# $Id$
+# Maintainer: Eric Bélanger <eric@archlinux.org>
+
+pkgbase=python-feedparser
+#pkgname=('python2-feedparser' 'python-feedparser' 'python-sgmllib')
+pkgname=('python2-feedparser')
+pkgver=5.2.1
+pkgrel=2
+pkgdesc="Parse RSS and Atom feeds in Python"
+arch=('any')
+url="https://github.com/kurtmckee/feedparser/"
+license=('custom')
+makedepends=('python2' 'libxml2' 'python2-setuptools')
+source=(feedparser-${pkgver}.tar.gz::https://github.com/kurtmckee/feedparser/archive/${pkgver}.tar.gz)
+sha1sums=('13c9a17f821e46ba9a34d8777e0ae47a6eb86de4')
+
+prepare() {
+ cp -r feedparser-${pkgver} feedparser-${pkgver}-python2
+ cp -r feedparser-${pkgver} feedparser-${pkgver}-python
+ cp -r feedparser-${pkgver} feedparser-${pkgver}-sgmllib
+
+ (cd feedparser-${pkgver}-python2; sed -i 's#env python$#env python2#' feedparser/feedparsertest.py)
+# (cd feedparser-${pkgver}-python; 2to3 -w feedparser/feedparser.py feedparser/feedparsertest.py)
+}
+
+#build() {
+# cd feedparser-${pkgver}-sgmllib
+# python /usr/lib/python3.6/compileall.py feedparser/sgmllib3.py
+#}
+
+package_python2-feedparser() {
+ depends=('python2' 'libxml2' )
+ pkgdesc="Parse RSS and Atom feeds in Python2"
+
+ cd "${srcdir}/feedparser-${pkgver}-python2"
+ python2 setup.py install --root="${pkgdir}"
+ install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/license"
+}
+
+package_python-feedparser() {
+ depends=('libxml2' 'python-sgmllib')
+
+ cd "${srcdir}/feedparser-${pkgver}-python"
+ python setup.py install --root="${pkgdir}"
+ install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/license"
+}
+
+package_python-sgmllib() {
+ depends=('python')
+ pkgdesc="Port of sgmllib to Python3"
+ license=('PSF')
+
+ cd "${srcdir}/feedparser-${pkgver}-sgmllib"
+ install -Dm644 feedparser/sgmllib3.py \
+ "${pkgdir}/usr/lib/python3.6/site-packages/sgmllib.py"
+ install -Dm644 feedparser/__pycache__/sgmllib3.cpython-36.pyc \
+ "${pkgdir}/usr/lib/python3.6/site-packages/__pycache__/sgmllib.cpython-36.pyc"
+}
diff --git a/abs/core/python_modules/python-feedparser/__changelog b/abs/core/python_modules/python-feedparser/__changelog
new file mode 100644
index 0000000..c6e1e55
--- /dev/null
+++ b/abs/core/python_modules/python-feedparser/__changelog
@@ -0,0 +1 @@
+PKGBUILD: don't build py 3 stuff
diff --git a/abs/core/python_modules/python-flask-login/PKGBUILD b/abs/core/python_modules/python-flask-login/PKGBUILD
new file mode 100644
index 0000000..06d268f
--- /dev/null
+++ b/abs/core/python_modules/python-flask-login/PKGBUILD
@@ -0,0 +1,48 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars@archlinux.org>
+
+pkgbase=python-flask-login
+pkgname=('python2-flask-login')
+pkgver=0.4.0
+pkgrel=2
+pkgdesc="User session management for Flask."
+arch=('any')
+url="https://pythonhosted.org/Flask-Login/"
+license=('MIT')
+makedepends=('python2-setuptools' 'python2-flask' 'git')
+checkdepends=('python2-nose' 'python2-mock' 'python2-blinker')
+source=("git+https://github.com/maxcountryman/flask-login.git#tag=$pkgver")
+md5sums=('SKIP')
+
+prepare() {
+ cp -a flask-login{,-py2}
+}
+
+check() {
+# cd "$srcdir"/flask-login
+# nosetests3
+
+ cd "$srcdir"/flask-login-py2
+ # https://github.com/maxcountryman/flask-login/issues/232
+ nosetests2 || warning "Tests failed"
+}
+
+package_python-flask-login() {
+ depends=('python-flask')
+
+ cd flask-login
+ python setup.py install --root="$pkgdir" --optimize=1
+
+ mkdir -p "$pkgdir"/usr/share/licenses/$pkgname
+ install -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname
+}
+
+package_python2-flask-login() {
+ depends=('python2-flask')
+
+ cd flask-login-py2
+ python2 setup.py install --root="$pkgdir" --optimize=1
+
+ mkdir -p "$pkgdir"/usr/share/licenses/$pkgname
+ install -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname
+}
diff --git a/abs/core/python_modules/python-flask-login/__changelog b/abs/core/python_modules/python-flask-login/__changelog
new file mode 100644
index 0000000..60db758
--- /dev/null
+++ b/abs/core/python_modules/python-flask-login/__changelog
@@ -0,0 +1 @@
+PKGBUILD: remove py3 stuff
diff --git a/abs/core/python_modules/python-flask-restful/LICENSE b/abs/core/python_modules/python-flask-restful/LICENSE
new file mode 100644
index 0000000..3337f90
--- /dev/null
+++ b/abs/core/python_modules/python-flask-restful/LICENSE
@@ -0,0 +1,25 @@
+Copyright (c) 2013, Twilio, Inc.
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are met:
+
+- Redistributions of source code must retain the above copyright notice, this
+ list of conditions and the following disclaimer.
+- Redistributions in binary form must reproduce the above copyright notice,
+ this list of conditions and the following disclaimer in the documentation
+ and/or other materials provided with the distribution.
+- Neither the name of the Twilio, Inc. nor the names of its contributors may be
+ used to endorse or promote products derived from this software without
+ specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
+ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
+FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
+SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
+CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
+OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
diff --git a/abs/core/python_modules/python-flask-restful/PKGBUILD b/abs/core/python_modules/python-flask-restful/PKGBUILD
new file mode 100644
index 0000000..f35345c
--- /dev/null
+++ b/abs/core/python_modules/python-flask-restful/PKGBUILD
@@ -0,0 +1,54 @@
+# Maintainer: Thomas Sarboni <max-k@post.com>
+
+pkgbase=python-flask-restful
+pkgname=('python2-flask-restful')
+_realname=Flask-RESTful
+pkgver=0.3.5
+pkgrel=1
+pkgdesc='A Flask extension for creating REST APIs'
+_baseurl='https://pypi.python.org'
+url="${_baseurl}/pypi/${_realname}"
+arch=('any')
+license=('BSD')
+makedepends=('python2-distribute' 'python2-aniso8601>=0.82')
+conflicts=('python2-flask-restful-git')
+source=("${_baseurl}/packages/source/F/${_realname}/${_realname}-${pkgver}.tar.gz"
+ 'LICENSE')
+md5sums=('eab04644697354c0e9ef0fa4c17fe607'
+ '685bb55ed99a366bb431995f5eef2783')
+
+prepare() {
+ # We ship separated python{,2}-packaging packages.
+ cp -a ${_realname}-${pkgver}{,-python2}
+}
+
+build() {
+ # Build python 3 module
+# cd "${srcdir}/${_realname}-${pkgver}"
+# python3 setup.py build
+
+ # Build python 2 module
+ cd "${srcdir}/${_realname}-${pkgver}-python2"
+ python2 setup.py build
+}
+
+package_python-flask-restful() {
+ depends=('python-flask>=0.8' 'python-six>=1.3.0' 'python-pytz' 'python-aniso8601>=0.82')
+
+ cd "${srcdir}/${_realname}-${pkgver}"
+ python setup.py install --prefix=/usr --root="${pkgdir}" --optimize=1 --skip-build
+
+ _licenses_path="${pkgdir}/usr/share/licenses/python-flask-restful"
+ install -D -m644 ${srcdir}/LICENSE "${_licenses_path}/LICENSE"
+}
+
+package_python2-flask-restful() {
+ depends=('python2-flask>=0.8' 'python2-six>=1.3.0' 'python2-pytz' 'python2-aniso8601>=0.82')
+
+ cd "${srcdir}/${_realname}-${pkgver}-python2"
+ python2 setup.py install --prefix=/usr --root="${pkgdir}" --optimize=1 --skip-build
+
+ _licenses_path="${pkgdir}/usr/share/licenses/python2-flask-restful"
+ install -D -m644 ${srcdir}/LICENSE "${_licenses_path}/LICENSE"
+}
+
diff --git a/abs/core/python_modules/python-flask/PKGBUILD b/abs/core/python_modules/python-flask/PKGBUILD
new file mode 100644
index 0000000..dc2cb23
--- /dev/null
+++ b/abs/core/python_modules/python-flask/PKGBUILD
@@ -0,0 +1,60 @@
+# $Id$
+# Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com>
+# Contributor: Alexander Rødseth <rodseth@gmail.com>
+# Contributor: Thomas Dziedzic < gostrc at gmail >
+# Contributor: Tarmo Heiskanen <turskii@gmail.com>
+
+pkgname=('python2-flask')
+pkgver=0.12.2
+pkgrel=2
+pkgdesc='Micro webdevelopment framework for Python'
+url='http://flask.pocoo.org/'
+arch=('any')
+license=('custom:BSD')
+makedepends=('python2-setuptools')
+source=("https://github.com/pallets/flask/archive/${pkgver}.tar.gz")
+sha512sums=('5007129eed63902a39c6652f0868348629f3f6e09d38a764a6ed0e77f6e87f0a28068cfeee6ecb2dee92ccee771d57f42ba816f856e49f08b8c1dfe6bde9873c')
+
+prepare() {
+# cp -r "flask-$pkgver" "python-flask-$pkgver"
+ cp -r "flask-$pkgver" "python2-flask-$pkgver"
+}
+
+build_python-flask() {
+ cd "$pkgname-$pkgver"
+
+ python setup.py build
+}
+
+build_python2-flask() {
+ cd "$pkgname-$pkgver"
+
+ python setup.py build
+}
+
+check_python-flask() {
+ cd "$pkgname-$pkgver"
+ python setup.py test
+
+ cd "$pkgname-$pkgver"
+ python2 setup.py test
+}
+
+package_python-flask() {
+ depends=('python-werkzeug' 'python-jinja' 'python-itsdangerous' 'python-click')
+ cd "$pkgname-$pkgver"
+
+ python setup.py install --prefix=/usr --root="$pkgdir" --optimize=1
+ install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+package_python2-flask() {
+ depends=('python2-werkzeug' 'python2-jinja' 'python2-itsdangerous' 'python2-click')
+ cd "$pkgname-$pkgver"
+
+ python2 setup.py install --root="$pkgdir" --optimize=1
+ mv "$pkgdir"/usr/bin/flask "$pkgdir"/usr/bin/flask2
+ install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+# vim:set ts=2 sw=2 et:
diff --git a/abs/core/python_modules/python-flask/__changelog b/abs/core/python_modules/python-flask/__changelog
new file mode 100644
index 0000000..60db758
--- /dev/null
+++ b/abs/core/python_modules/python-flask/__changelog
@@ -0,0 +1 @@
+PKGBUILD: remove py3 stuff
diff --git a/abs/core/python_modules/python-future/PKGBUILD b/abs/core/python_modules/python-future/PKGBUILD
new file mode 100644
index 0000000..1b96edc
--- /dev/null
+++ b/abs/core/python_modules/python-future/PKGBUILD
@@ -0,0 +1,66 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars@archlinux.org>
+# Contributor: Christopher Arndt <aur -at- chrisarndt -dot- de>
+# Contributor: Gaute Hope <eg@gaute.vetsj.com>
+# Contributor: Melissa Padilla <mpadilla2 at hotmail dot com>
+
+pkgbase=python-future
+pkgname=(python2-future)
+pkgver=0.16.0
+pkgrel=2
+pkgdesc="Clean single-source support for Python 3 and 2"
+url="http://python-future.org/"
+arch=('any')
+license=('MIT')
+makedepends=('python2-setuptools')
+checkdepends=('python2-requests')
+options=('!emptydirs')
+source=("https://pypi.io/packages/source/f/future/future-$pkgver.tar.gz")
+sha256sums=('e39ced1ab767b5936646cedba8bcce582398233d6a627067d4c6a454c90cfedb')
+
+prepare() {
+ cp -a future-$pkgver{,-py2}
+}
+
+build() {
+# cd "$srcdir"/future-$pkgver
+# python setup.py build
+
+ cd "$srcdir"/future-$pkgver-py2
+ python2 setup.py build
+}
+
+check() {
+# cd "$srcdir"/future-$pkgver
+# PYTHONPATH="$PWD/build/lib:$PYTHONPATH" python setup.py test || warning "Tests failed"
+
+ cd "$srcdir"/future-$pkgver-py2
+ PYTHONPATH="$PWD/build/lib:$PYTHONPATH" python2 setup.py test
+}
+
+package_python-future() {
+ depends=('python')
+ optdepends=('python-setuptools: futurize and pasteurize scripts')
+ provides=('futurize' 'pasteurize')
+
+ cd future-$pkgver
+
+ python setup.py install --root="$pkgdir" --optimize=1
+ install -D -m644 LICENSE.txt \
+ "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.txt
+}
+
+package_python2-future() {
+ depends=('python2')
+ optdepends=('python2-setuptools: futurize2 and pasteurize2 scripts')
+
+ cd future-$pkgver-py2
+
+ python2 setup.py install --root="$pkgdir" --optimize=1
+
+ mv "$pkgdir"/usr/bin/futurize{,2}
+ mv "$pkgdir"/usr/bin/pasteurize{,2}
+
+ install -D -m644 LICENSE.txt \
+ "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.txt
+}
diff --git a/abs/core/python_modules/python-future/__changelog b/abs/core/python_modules/python-future/__changelog
new file mode 100644
index 0000000..60db758
--- /dev/null
+++ b/abs/core/python_modules/python-future/__changelog
@@ -0,0 +1 @@
+PKGBUILD: remove py3 stuff
diff --git a/abs/core/python_modules/python-html5lib/LICENSE b/abs/core/python_modules/python-html5lib/LICENSE
new file mode 100644
index 0000000..89de354
--- /dev/null
+++ b/abs/core/python_modules/python-html5lib/LICENSE
@@ -0,0 +1,17 @@
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
diff --git a/abs/core/python_modules/python-html5lib/PKGBUILD b/abs/core/python_modules/python-html5lib/PKGBUILD
new file mode 100644
index 0000000..0ef62da
--- /dev/null
+++ b/abs/core/python_modules/python-html5lib/PKGBUILD
@@ -0,0 +1,42 @@
+# Contributor: Erol V. Aktay <e.aktay@gmail.com>
+# Maintainer: Daniel J Griffiths <ghost1227@archlinux.us>
+
+pkgbase=python-html5lib
+pkgname=('python2-html5lib')
+pkgver=0.999999999
+pkgrel=2
+arch=('any')
+url="https://github.com/html5lib"
+license=('MIT')
+makedepends=('python2' 'unzip' 'python2-webencodings')
+checkdepends=('python2-six' 'python2-pytest' 'python2-lxml' 'python2-mock')
+source=($pkgbase-$pkgver.tar.gz::https://github.com/html5lib/html5lib-python/archive/${pkgver}.tar.gz
+ LICENSE)
+md5sums=('a81446ef3ce3ef18f5e8e242b7072b83'
+ '838c366f69b72c5df05c96dff79b35f2')
+
+package_python-html5lib() {
+pkgdesc="A Python HTML parser/tokenizer based on the WHATWG HTML5 spec"
+depends=('python' 'python-six' 'python-webencodings')
+ cd ${srcdir}/html5lib-python-${pkgver}
+
+ python3 setup.py install --root=${pkgdir}
+ install -Dm755 $srcdir/LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
+}
+
+package_python2-html5lib() {
+depends=('python2' 'python2-six' 'python2-webencodings')
+pkgdesc="A Python2 HTML parser/tokenizer based on the WHATWG HTML5 spec"
+ cd ${srcdir}/html5lib-python-${pkgver}
+
+ python2 setup.py install --root=${pkgdir}
+ install -Dm755 $srcdir/LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
+}
+
+check() {
+ cd ${srcdir}/html5lib-python-${pkgver}/html5lib/tests
+
+# nosetests2
+
+# nosetests
+}
diff --git a/abs/core/python_modules/python-html5lib/__changelog b/abs/core/python_modules/python-html5lib/__changelog
new file mode 100644
index 0000000..4f818ef
--- /dev/null
+++ b/abs/core/python_modules/python-html5lib/__changelog
@@ -0,0 +1,2 @@
+PKGBUILD: don't build py 3 stuff
+
diff --git a/abs/core/python_modules/python-idna/PKGBUILD b/abs/core/python_modules/python-idna/PKGBUILD
index 1d18ce5..dd2fb8f 100644
--- a/abs/core/python_modules/python-idna/PKGBUILD
+++ b/abs/core/python_modules/python-idna/PKGBUILD
@@ -3,22 +3,22 @@
pkgbase=python-idna
pkgname=('python2-idna')
-pkgver=2.1
+pkgver=2.5
pkgrel=1
pkgdesc="Internationalized Domain Names in Applications (IDNA)"
arch=('any')
license=('BSD')
url="https://github.com/kjd/idna"
makedepends=('python2-setuptools')
-source=("https://pypi.python.org/packages/source/i/idna/idna-$pkgver.tar.gz")
-md5sums=('f6473caa9c5e0cc1ad3fd5d04c3c114b')
+source=("https://pypi.io/packages/source/i/idna/idna-$pkgver.tar.gz")
+md5sums=('fc1d992bef73e8824db411bb5d21f012')
prepare() {
cp -a idna-$pkgver{,-py2}
}
build() {
- cd "$srcdir"/idna-$pkgver
+# cd "$srcdir"/idna-$pkgver
# python setup.py build
cd "$srcdir"/idna-$pkgver-py2
@@ -26,8 +26,8 @@ build() {
}
check() {
- cd "$srcdir"/idna-$pkgver
- python setup.py test
+# cd "$srcdir"/idna-$pkgver
+# python setup.py test
cd "$srcdir"/idna-$pkgver-py2
python2 setup.py test
diff --git a/abs/core/python_modules/python-itsdangerous/PKGBUILD b/abs/core/python_modules/python-itsdangerous/PKGBUILD
new file mode 100644
index 0000000..4b643d8
--- /dev/null
+++ b/abs/core/python_modules/python-itsdangerous/PKGBUILD
@@ -0,0 +1,37 @@
+# $Id$
+# Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com>
+# Contributor: Alexander Rødseth <rodseth@gmail.com>
+
+pkgname=('python2-itsdangerous')
+pkgver=0.24
+pkgrel=3
+pkgdesc='Various helpers to pass trusted data to untrusted environments'
+arch=('any')
+url="http://pypi.python.org/pypi/itsdangerous"
+license=('BSD')
+makedepends=('python2')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/mitsuhiko/itsdangerous/archive/${pkgver}.tar.gz")
+sha256sums=('b035b2da1d493b00a5ee7a5b750f96929de87b610643939fbe382902774626fc')
+
+prepare() {
+ cp -r "itsdangerous-$pkgver" "python-itsdangerous-$pkgver"
+ cp -r "itsdangerous-$pkgver" "python2-itsdangerous-$pkgver"
+}
+
+package_python-itsdangerous() {
+ cd "$pkgname-$pkgver"
+ depends+=('python')
+
+ python setup.py install --root="$pkgdir" --optimize=1
+ install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+package_python2-itsdangerous() {
+ cd "$pkgname-$pkgver"
+ depends+=('python2')
+
+ python2 setup.py install --root="$pkgdir" --optimize=1
+ install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+# vim:set ts=2 sw=2 et:
diff --git a/abs/core/python_modules/python-itsdangerous/__changelog b/abs/core/python_modules/python-itsdangerous/__changelog
new file mode 100644
index 0000000..60db758
--- /dev/null
+++ b/abs/core/python_modules/python-itsdangerous/__changelog
@@ -0,0 +1 @@
+PKGBUILD: remove py3 stuff
diff --git a/abs/core/python_modules/python-jsonschema/PKGBUILD b/abs/core/python_modules/python-jsonschema/PKGBUILD
new file mode 100644
index 0000000..45de390
--- /dev/null
+++ b/abs/core/python_modules/python-jsonschema/PKGBUILD
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer: Daniel Wallace <danielwallace at gtmanfred.com>
+# Contributor: Bogdan Szczurek <thebodzio@gmail.com>
+# Contributor: Ismo Toijala <ismo.toijala@gmail.com>
+
+pkgbase=python-jsonschema
+_pkgname=jsonschema
+pkgname=(python2-jsonschema)
+pkgver=2.6.0
+pkgrel=1
+pkgdesc="An implementation of JSON Schema validation for Python"
+arch=(any)
+url="http://pypi.python.org/pypi/jsonschema"
+license=('MIT')
+makedepends=(python2-setuptools)
+source=("https://pypi.io/packages/source/j/jsonschema/${pkgname:8}-$pkgver.tar.gz")
+
+prepare(){
+ cp -a $_pkgname-$pkgver $_pkgname-$pkgver-2
+ find $_pkgname-$pkgver-2 -name \*.py -exec sed -i '1s/python$/&2/' {} +
+}
+
+package_python-jsonschema() {
+ cd "$srcdir/$_pkgname-$pkgver"
+ python setup.py install --root="$pkgdir/" --optimize=1
+ depends=(python)
+ install -D -m644 json/LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE
+}
+
+package_python2-jsonschema() {
+ cd "$srcdir/$_pkgname-$pkgver-2"
+ python2 setup.py install --root="$pkgdir/" --optimize=1
+ depends=(python2-functools32)
+ install -D -m644 json/LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE
+ mv $pkgdir/usr/bin/jsonschema{,2}
+}
+
+md5sums=('50c6b69a373a8b55ff1e0ec6e78f13f4')
diff --git a/abs/core/python_modules/python-jsonschema/__changelog b/abs/core/python_modules/python-jsonschema/__changelog
new file mode 100644
index 0000000..4f818ef
--- /dev/null
+++ b/abs/core/python_modules/python-jsonschema/__changelog
@@ -0,0 +1,2 @@
+PKGBUILD: don't build py 3 stuff
+
diff --git a/abs/core/python_modules/python-ndg-httpsclient/PKGBUILD b/abs/core/python_modules/python-ndg-httpsclient/PKGBUILD
new file mode 100644
index 0000000..7b0047f
--- /dev/null
+++ b/abs/core/python_modules/python-ndg-httpsclient/PKGBUILD
@@ -0,0 +1,48 @@
+# $Id: PKGBUILD 134777 2015-06-04 13:33:01Z mtorromeo $
+# Maintainer: Massimiliano Torromeo <massimiliano.torromeo@gmail.com>
+# Contributor: Hugo Osvaldo Barrera <hugo@osvaldobarrera.com.ar>
+
+pkgbase=python-ndg-httpsclient
+pkgname=(python2-ndg-httpsclient)
+_pkgname=ndg_httpsclient
+pkgver=0.4.2
+pkgrel=2
+pkgdesc="Provides enhanced HTTPS support for httplib and urllib2 using PyOpenSSL"
+arch=(any)
+url="https://pypi.python.org/pypi/ndg-httpsclient"
+license=('BSD')
+makedepends=(python2-setuptools python2-pyopenssl python2-pyasn1)
+options=(!emptydirs)
+source=(https://files.pythonhosted.org/packages/source/n/ndg-httpsclient/$_pkgname-$pkgver.tar.gz)
+sha256sums=('580987ef194334c50389e0d7de885fccf15605c13c6eecaabd8d6c43768eb8ac')
+
+build() {
+ cd "$srcdir"/$_pkgname-$pkgver
+
+# rm -rf ../buildpy3; mkdir ../buildpy3
+# python setup.py build -b ../buildpy3
+
+ rm -rf ../buildpy2; mkdir ../buildpy2
+ python2 setup.py build -b ../buildpy2
+}
+
+package_python-ndg-httpsclient() {
+ depends=(python-pyopenssl python-pyasn1)
+ _site_packages=$(python -sSc 'import site; print(site.getsitepackages()[0])')
+
+ cd "$srcdir"/$_pkgname-$pkgver
+ rm -rf build; ln -s ../buildpy3 build
+ python setup.py install --skip-build -O1 --root="$pkgdir"
+ install -Dm0644 "$pkgdir$_site_packages"/ndg/httpsclient/LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+package_python2-ndg-httpsclient() {
+ depends=(python2-pyopenssl python2-pyasn1)
+ _site_packages=$(python2 -sSc 'import site; print(site.getsitepackages()[0])')
+
+ cd "$srcdir"/$_pkgname-$pkgver
+ rm -rf build; ln -s ../buildpy2 build
+ python2 setup.py install --skip-build -O1 --root="$pkgdir"
+ install -Dm0644 "$pkgdir$_site_packages"/ndg/httpsclient/LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+ mv "$pkgdir"/usr/bin/ndg_httpclient{,2}
+}
diff --git a/abs/core/python_modules/python-ndg-httpsclient/__changelog b/abs/core/python_modules/python-ndg-httpsclient/__changelog
new file mode 100644
index 0000000..4f818ef
--- /dev/null
+++ b/abs/core/python_modules/python-ndg-httpsclient/__changelog
@@ -0,0 +1,2 @@
+PKGBUILD: don't build py 3 stuff
+
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
+
diff --git a/abs/core/python_modules/python-path/PKGBUILD b/abs/core/python_modules/python-path/PKGBUILD
new file mode 100644
index 0000000..2b7dcbc
--- /dev/null
+++ b/abs/core/python_modules/python-path/PKGBUILD
@@ -0,0 +1,40 @@
+# $Id: PKGBUILD 171328 2016-04-18 11:00:47Z kkeen $
+# Maintainer: Kyle Keen <keenerd@gmail.com>
+
+pkgbase=python-path
+pkgname=(python2-path)
+pkgver=10.1
+pkgrel=1
+pkgdesc="Aka path.py, implements path objects as first-class entities"
+arch=('any')
+url="https://pypi.python.org/pypi/path.py"
+license=('MIT')
+depends=('python2' 'python2-setuptools')
+makedepends=('python2-setuptools')
+#source=("https://pypi.python.org/packages/source/p/path.py/path.py-$pkgver.tar.gz")
+source=("https://files.pythonhosted.org/packages/source/p/path.py/path.py-$pkgver.tar.gz")
+md5sums=('f9d31317ceeb798f6b5eac8d3b8e5988')
+
+# formerly a dependency of python-pickleshare
+# now used by nothing so back to the AUR
+
+prepare() {
+ cd "$srcdir"
+ cp -r path.py-$pkgver python2-path.py-$pkgver
+}
+
+package_python-path() {
+ depends=('python' 'python-setuptools')
+ cd "$srcdir/path.py-$pkgver"
+ python3 setup.py install --prefix=/usr --root="$pkgdir" --optimize=0
+ install -d "$pkgdir/usr/share/licenses/$pkgname/"
+ head -n 21 path.py > "$pkgdir/usr/share/licenses/$pkgname/license.txt"
+}
+
+package_python2-path() {
+ depends=('python2' 'python2-setuptools')
+ cd "$srcdir/python2-path.py-$pkgver"
+ python2 setup.py install --prefix=/usr --root="$pkgdir" --optimize=0
+ install -d "$pkgdir/usr/share/licenses/$pkgname/"
+ head -n 21 path.py > "$pkgdir/usr/share/licenses/$pkgname/license.txt"
+}
diff --git a/abs/core/python_modules/python-path/__changelog b/abs/core/python_modules/python-path/__changelog
new file mode 100644
index 0000000..4f818ef
--- /dev/null
+++ b/abs/core/python_modules/python-path/__changelog
@@ -0,0 +1,2 @@
+PKGBUILD: don't build py 3 stuff
+
diff --git a/abs/core/python_modules/python-pip/PKGBUILD b/abs/core/python_modules/python-pip/PKGBUILD
new file mode 100644
index 0000000..acef38b
--- /dev/null
+++ b/abs/core/python_modules/python-pip/PKGBUILD
@@ -0,0 +1,44 @@
+# $Id$
+# Maintainer: Dan McGee <dan@archlinux.org>
+# Contributor: Sebastien Binet <binet@lblbox>
+
+pkgname=('python2-pip')
+pkgver=9.0.1
+pkgrel=2
+pkgdesc="The PyPA recommended tool for installing Python packages"
+url="https://pip.pypa.io/"
+arch=('any')
+license=('MIT')
+makedepends=('python2' 'python2-setuptools')
+source=(https://pypi.io/packages/source/p/pip/pip-${pkgver}.tar.gz)
+md5sums=('35f01da33009719497f01a4ba69d63c9')
+sha256sums=('09f243e1a7b461f654c26a725fa373211bb7ff17a9300058b205c61658ca940d')
+
+package_python-pip() {
+ depends=('python' 'python-setuptools')
+
+ cd "$srcdir/pip-$pkgver"
+ python setup.py build
+ python setup.py install --prefix=/usr --root="$pkgdir"
+
+ install -D -m644 LICENSE.txt \
+ "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+package_python2-pip() {
+ depends=('python2' 'python2-setuptools')
+ conflicts=('python-pyinstall')
+ replaces=('python-pyinstall')
+
+ cd "$srcdir/pip-$pkgver"
+ python2 setup.py build
+ python2 setup.py install --prefix=/usr --root="$pkgdir"
+
+ mv "$pkgdir/usr/bin/pip" "$pkgdir/usr/bin/pip2"
+ sed -i "s|#!/usr/bin/env python$|#!/usr/bin/env python2|" \
+ ${pkgdir}/usr/lib/python2.7/site-packages/pip/__init__.py
+ python2 -m compileall ${pkgdir}/usr/lib/python2.7/site-packages/pip/__init__.py
+
+ install -D -m644 LICENSE.txt \
+ "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
diff --git a/abs/core/python_modules/python-pip/__changelog b/abs/core/python_modules/python-pip/__changelog
new file mode 100644
index 0000000..4f818ef
--- /dev/null
+++ b/abs/core/python_modules/python-pip/__changelog
@@ -0,0 +1,2 @@
+PKGBUILD: don't build py 3 stuff
+
diff --git a/abs/core/python_modules/python-pyparsing/PKGBUILD b/abs/core/python_modules/python-pyparsing/PKGBUILD
new file mode 100644
index 0000000..510d8bf
--- /dev/null
+++ b/abs/core/python_modules/python-pyparsing/PKGBUILD
@@ -0,0 +1,64 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars@archlinux.org>
+# Contributor: Alexander F Rødseth <xyproto@archlinux.org>
+# Contributor: Chris Brannon <cmbrannon79@gmail.com>
+# Contributor: Geoffroy Carrier <geoffroy.carrier@aur.archlinux.org>
+# Contributor: Arvid Ephraim Picciani <aep@exys.org>
+# Contributor: Michael Krauss <hippodriver@gmx.net>
+
+pkgname=python-pyparsing
+pkgname=('python2-pyparsing')
+pkgver=2.2.0
+pkgrel=1
+pkgdesc='General parsing module for Python'
+arch=('any')
+url='http://pyparsing.wikispaces.com/'
+makedepends=('python2-setuptools' 'subversion')
+license=('MIT')
+source=("svn://svn.code.sf.net/p/pyparsing/code/tags/pyparsing_$pkgver")
+sha256sums=('SKIP')
+
+prepare() {
+ cp -a pyparsing_$pkgver{,-py2}
+
+ # :/
+ sed -i '1i#coding=utf-8' pyparsing_$pkgver-py2/src/unitTests.py
+}
+
+build() {
+# cd "$srcdir"/pyparsing_$pkgver/src
+# python setup.py build
+
+ cd "$srcdir"/pyparsing_$pkgver-py2/src
+ python2 setup.py build
+}
+
+check() {
+ export LC_CTYPE=en_US.UTF-8
+
+# cd "$srcdir"/pyparsing_$pkgver/src
+# python unitTests.py
+
+ cd "$srcdir"/pyparsing_$pkgver-py2/src
+ python2 unitTests.py
+}
+
+package_python-pyparsing() {
+ depends=('python')
+
+ cd pyparsing_$pkgver/src
+
+ python setup.py install --prefix=/usr --root="$pkgdir" --optimize=1
+ install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+package_python2-pyparsing() {
+ depends=('python2')
+
+ cd pyparsing_$pkgver-py2/src
+
+ python2 setup.py install --prefix=/usr --root="$pkgdir" --optimize=1
+ install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+# vim:set ts=2 sw=2 et:
diff --git a/abs/core/python_modules/python-pyparsing/__changelog b/abs/core/python_modules/python-pyparsing/__changelog
new file mode 100644
index 0000000..4f818ef
--- /dev/null
+++ b/abs/core/python_modules/python-pyparsing/__changelog
@@ -0,0 +1,2 @@
+PKGBUILD: don't build py 3 stuff
+
diff --git a/abs/core/python_modules/python-pyrss2gen/PKGBUILD b/abs/core/python_modules/python-pyrss2gen/PKGBUILD
new file mode 100644
index 0000000..69258ca
--- /dev/null
+++ b/abs/core/python_modules/python-pyrss2gen/PKGBUILD
@@ -0,0 +1,35 @@
+# Maintainer: Chris Warrick <aur@chriswarrick.com>
+pkgbase=python-pyrss2gen
+pkgname=('python2-pyrss2gen')
+_pyname=PyRSS2Gen
+pkgver=1.1
+pkgrel=6
+pkgdesc='A Python library for generating RSS 2.0 feeds.'
+arch=('any')
+url="http://www.dalkescientific.com/Python/PyRSS2Gen.html"
+license=('BSD')
+makedepends=('python2' 'python2-setuptools')
+options=(!emptydirs)
+source=("http://www.dalkescientific.com/Python/${_pyname}-${pkgver}.tar.gz")
+md5sums=("c56b9453d52b0a70be4f3e95112058aa")
+provides=('pyrss2gen')
+
+prepare() {
+ cd "${srcdir}/${_pyname}-${pkgver}"
+ cp -r "${srcdir}/${_pyname}-${pkgver}" "${srcdir}/${_pyname}-${pkgver}-py2"
+}
+
+package_python-pyrss2gen() {
+ depends=('python' 'python-setuptools')
+ cd "${srcdir}/${_pyname}-${pkgver}"
+ python3 setup.py install --root="${pkgdir}/" --optimize=1
+ install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgbase}/LICENSE"
+}
+
+package_python2-pyrss2gen() {
+ depends=('python2' 'python2-setuptools')
+ cd "${srcdir}/${_pyname}-${pkgver}-py2"
+ python2 setup.py install --root="${pkgdir}/" --optimize=1
+}
+
+# vim:set ts=2 sw=2 et:
diff --git a/abs/core/python_modules/python-pyrss2gen/__changelog b/abs/core/python_modules/python-pyrss2gen/__changelog
new file mode 100644
index 0000000..4f818ef
--- /dev/null
+++ b/abs/core/python_modules/python-pyrss2gen/__changelog
@@ -0,0 +1,2 @@
+PKGBUILD: don't build py 3 stuff
+
diff --git a/abs/core/python_modules/python-pysocks/PKGBUILD b/abs/core/python_modules/python-pysocks/PKGBUILD
new file mode 100644
index 0000000..e9e91f2
--- /dev/null
+++ b/abs/core/python_modules/python-pysocks/PKGBUILD
@@ -0,0 +1,64 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars@archlinux.org>
+# Contributor: Michael Schubert <mschu.dev at gmail>
+
+pkgbase=python-pysocks
+pkgname=(python2-pysocks)
+pkgver=1.6.7
+pkgrel=1
+pkgdesc="SOCKS4, SOCKS5 or HTTP proxy (Anorov fork PySocks replaces socksipy)"
+arch=('any')
+license=('BSD')
+url="https://github.com/Anorov/PySocks"
+makedepends=('python2-setuptools')
+checkdepends=('lib32-glibc' 'python2-twisted' 'python2-tornado')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/Anorov/PySocks/archive/$pkgver.tar.gz")
+sha512sums=('6b670b2246c2c3c8d0b5424f6fb65cbab1d030d58b15f99db9eb232ead5e853c52af637f3d429e3fe88c70792f3b4913219b6694fa0e81318cdd40c41c1b17d6')
+
+prepare() {
+ cp -a PySocks-$pkgver{,-py2}
+}
+
+build() {
+# cd "$srcdir"/PySocks-$pkgver
+# python setup.py build
+
+ cd "$srcdir"/PySocks-$pkgver-py2
+ python2 setup.py build
+}
+
+# Tests disabled as it requires external services to run
+check_disabled() {
+ cd "$srcdir"/PySocks-$pkgver-py2/test
+ python2 socks4server.py &
+ _SOCKS4SERVER=$!
+ python2 httpproxy.py &
+ _HTTPPROXY=$1
+
+ ./mocks start
+
+ sleep 1
+
+ python2 sockstest.py
+
+# cd "$srcdir"/PySocks-$pkgver/test
+# python sockstest.py
+
+ ./mocks shutdown
+
+ kill $_SOCKS4SERVER $_HTTPPROXY
+}
+
+package_python-pysocks() {
+ depends=('python')
+
+ cd PySocks-$pkgver
+ python setup.py install --prefix=/usr --root="$pkgdir" --optimize=1
+}
+
+package_python2-pysocks() {
+ depends=('python2')
+
+ cd PySocks-$pkgver-py2
+ python2 setup.py install --prefix=/usr --root="$pkgdir" --optimize=1
+}
diff --git a/abs/core/python_modules/python-pysocks/__changelog b/abs/core/python_modules/python-pysocks/__changelog
new file mode 100644
index 0000000..4f818ef
--- /dev/null
+++ b/abs/core/python_modules/python-pysocks/__changelog
@@ -0,0 +1,2 @@
+PKGBUILD: don't build py 3 stuff
+
diff --git a/abs/core/python_modules/python-pytest-runner/PKGBUILD b/abs/core/python_modules/python-pytest-runner/PKGBUILD
new file mode 100644
index 0000000..5d106ce
--- /dev/null
+++ b/abs/core/python_modules/python-pytest-runner/PKGBUILD
@@ -0,0 +1,52 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars@archlinux.org>
+
+pkgbase=python-pytest-runner
+pkgname=('python2-pytest-runner')
+pkgver=2.11.1
+pkgrel=1
+pkgdesc="Invoke py.test as distutils command with dependency resolution"
+arch=('any')
+license=('MIT')
+url="https://github.com/pytest-dev/pytest-runner"
+makedepends=('python2-pytest' 'python2-setuptools-scm' 'git')
+source=("git+https://github.com/pytest-dev/pytest-runner.git#tag=$pkgver")
+sha512sums=('SKIP')
+
+prepare() {
+ cp -a pytest-runner{,-py2}
+}
+
+build() {
+# cd "$srcdir"/pytest-runner
+# python setup.py build
+
+ cd "$srcdir"/pytest-runner-py2
+ python2 setup.py build
+}
+
+check() {
+# cd "$srcdir"/pytest-runner
+# python setup.py egg_info
+# PYTHONPATH="$PWD" pytest
+
+ cd "$srcdir"/pytest-runner-py2
+ python2 setup.py egg_info
+ PYTHONPATH="$PWD" pytest2
+}
+
+package_python-pytest-runner() {
+ depends=('python-pytest')
+
+ cd pytest-runner
+ python setup.py install --root="$pkgdir" --optimize=1
+ install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+package_python2-pytest-runner() {
+ depends=('python2-pytest')
+
+ cd pytest-runner-py2
+ python2 setup.py install --root="$pkgdir" --optimize=1
+ install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
diff --git a/abs/core/python_modules/python-pytest-runner/__changelog b/abs/core/python_modules/python-pytest-runner/__changelog
new file mode 100644
index 0000000..4f818ef
--- /dev/null
+++ b/abs/core/python_modules/python-pytest-runner/__changelog
@@ -0,0 +1,2 @@
+PKGBUILD: don't build py 3 stuff
+
diff --git a/abs/core/python_modules/python-pytz/PKGBUILD b/abs/core/python_modules/python-pytz/PKGBUILD
new file mode 100644
index 0000000..3e77d2a
--- /dev/null
+++ b/abs/core/python_modules/python-pytz/PKGBUILD
@@ -0,0 +1,58 @@
+# Maintainer: Stefan Husmann <stefan-husmann@t-online.de>
+# Maintainer: Jelle van der Waa <jelle@vdwaa.nl>
+# Contributor: Douglas Soares de Andrade <dsa@aur.archlinux.org>
+# Contributor: William Rea <sillywilly@gmail.com>
+
+pkgname=('python2-pytz')
+pkgver=2017.2
+pkgrel=1
+arch=('any')
+url="http://pypi.python.org/pypi/pytz"
+license=("MIT")
+makedepends=('python2')
+source=(https://pypi.python.org/packages/a4/09/c47e57fc9c7062b4e83b075d418800d322caa87ec0ac21e6308bd3a2d519/pytz-2017.2.zip{,.asc})
+md5sums=('f89bde8a811c8a1a5bac17eaaa94383c'
+ 'SKIP')
+validpgpkeys=('C7ECC365AB6F255E1EB9BA1701FA998FBAC6374A')
+
+build(){
+ cd $srcdir
+ cp -rf pytz-$pkgver pytz2-$pkgver
+}
+
+check(){
+ cd $srcdir/pytz-$pkgver/pytz/tests
+
+# python3 test_tzinfo.py
+
+ python2 test_tzinfo.py
+}
+
+package_python-pytz(){
+ depends=('python')
+ pkgdesc="Cross platform time zone library for Python"
+
+ cd $srcdir/pytz-$pkgver
+
+ # Fix locale https://github.com/ipython/ipython/issues/2057
+ export LC_ALL=en_US.UTF-8
+
+ python3 setup.py install --root=$pkgdir/
+
+ install -D LICENSE.txt $pkgdir/usr/share/licenses/$pkgname/LICENSE
+}
+
+
+package_python2-pytz(){
+ depends=('python2')
+ pkgdesc="Cross platform time zone library for Python"
+
+ cd $srcdir/pytz2-$pkgver
+
+ # python 2 fix
+ sed -i 's_#!/usr/bin/env python_#!/usr/bin/env python2_' pytz/tzfile.py
+
+ python2 setup.py install --root="$pkgdir/"
+
+ install -D LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
diff --git a/abs/core/python_modules/python-pytz/__changelog b/abs/core/python_modules/python-pytz/__changelog
new file mode 100644
index 0000000..c6e1e55
--- /dev/null
+++ b/abs/core/python_modules/python-pytz/__changelog
@@ -0,0 +1 @@
+PKGBUILD: don't build py 3 stuff
diff --git a/abs/core/python_modules/python-rebulk/PKGBUILD b/abs/core/python_modules/python-rebulk/PKGBUILD
new file mode 100644
index 0000000..c7338bf
--- /dev/null
+++ b/abs/core/python_modules/python-rebulk/PKGBUILD
@@ -0,0 +1,34 @@
+# Maintainer: Sebastien Leduc <sebastien@sleduc.fr>
+pkgname=('python2-rebulk')
+pkgbase='python-rebulk'
+_guser='Toilal'
+_gproject="rebulk"
+pkgver=0.9.0
+pkgrel=1
+pkgdesc=" Define simple search patterns in bulk to perform advanced matching on any string. "
+arch=("any")
+url="https://github.com/Toilal/rebulk"
+license=('MIT')
+makedepends=('python2' 'python2-setuptools' 'python2-pytest-runner')
+options=(!emptydirs)
+source=("https://github.com/${_guser}/${_gproject}/archive/${pkgver}.tar.gz")
+md5sums=('7f76cd95e6ca9219202aeaa9b1b7b7c8')
+
+
+prepare() {
+ cp -a "${srcdir}/${_gproject}-${pkgver}"{,-python2}
+}
+
+package_python-rebulk() {
+ depends=('python-six' 'python-regex')
+ cd "$srcdir/$_gproject-$pkgver"
+ python setup.py install --root="$pkgdir/" --optimize=1
+}
+
+package_python2-rebulk() {
+ depends=('python2-six' 'python2-regex' 'python2-ordereddict')
+ cd "$srcdir/$_gproject-$pkgver-python2"
+ python2 setup.py install --root="$pkgdir/" --optimize=1
+}
+
+# vim:set ts=2 sw=2 et:
diff --git a/abs/core/python_modules/python-rebulk/__changelog b/abs/core/python_modules/python-rebulk/__changelog
new file mode 100644
index 0000000..4f818ef
--- /dev/null
+++ b/abs/core/python_modules/python-rebulk/__changelog
@@ -0,0 +1,2 @@
+PKGBUILD: don't build py 3 stuff
+
diff --git a/abs/core/python_modules/python-regex/PKGBUILD b/abs/core/python_modules/python-regex/PKGBUILD
new file mode 100644
index 0000000..13c1ca0
--- /dev/null
+++ b/abs/core/python_modules/python-regex/PKGBUILD
@@ -0,0 +1,46 @@
+# Maintainer: Jelle van der Waa <jelle@archlinux.org>
+# Contributor: Nikola Milinković <nikmil@gmail.com>
+# Submitter: Xiao-Long Chen <chenxiaolong@cxl.epac.to>
+
+_pkgbase=regex
+pkgbase=python-regex
+pkgname=('python2-regex')
+#pkgname=python-regex
+pkgver=2017.07.11
+pkgrel=1
+pkgdesc="Alternative python regular expression module."
+arch=('x86_64' 'i686')
+url="https://bitbucket.org/mrabarnett/mrab-regex"
+license=('Python')
+makedepends=('python2-setuptools')
+options=(!emptydirs)
+source=(https://pypi.io/packages/source/r/${_pkgbase}/${_pkgbase}-${pkgver}.tar.gz)
+sha256sums=('dbda8bdc31a1c85445f1a1b29d04abda46e5c690f8f933a9cc3a85a358969616')
+
+package_python2-regex() {
+ depends=('python2')
+ conflicts=('python2-regex-hg')
+ pkgdesc="Alternative python regular expression module. (python2 version)"
+
+ cd "regex-${pkgver}"
+ python2 setup.py install --root="${pkgdir}/" --optimize=1
+
+ install -v -m755 -d "${pkgdir}/usr/share/doc/python2-regex"
+ install -v -m644 ./docs/Features.html "${pkgdir}/usr/share/doc/python2-regex/"
+ install -v -m644 ./docs/Features.rst "${pkgdir}/usr/share/doc/python2-regex/"
+ install -v -m644 ./docs/UnicodeProperties.txt "${pkgdir}/usr/share/doc/python2-regex/"
+}
+
+package_python-regex() {
+ depends=('python')
+ conflicts=('python-regex-hg')
+ pkgdesc="Alternative python regular expression module. (python3 version)"
+
+ cd "regex-${pkgver}"
+ python setup.py install --root="${pkgdir}/" --optimize=1
+
+ install -v -m755 -d "${pkgdir}/usr/share/doc/python-regex"
+ install -v -m644 ./docs/Features.html "${pkgdir}/usr/share/doc/python-regex/"
+ install -v -m644 ./docs/Features.rst "${pkgdir}/usr/share/doc/python-regex/"
+ install -v -m644 ./docs/UnicodeProperties.txt "${pkgdir}/usr/share/doc/python-regex/"
+}
diff --git a/abs/core/python_modules/python-regex/__changelog b/abs/core/python_modules/python-regex/__changelog
new file mode 100644
index 0000000..c6e1e55
--- /dev/null
+++ b/abs/core/python_modules/python-regex/__changelog
@@ -0,0 +1 @@
+PKGBUILD: don't build py 3 stuff
diff --git a/abs/core/python_modules/python-requests-cache/PKGBUILD b/abs/core/python_modules/python-requests-cache/PKGBUILD
new file mode 100644
index 0000000..b7d9937
--- /dev/null
+++ b/abs/core/python_modules/python-requests-cache/PKGBUILD
@@ -0,0 +1,34 @@
+# Maintainer: Christian Rebischke <chris.rebischke[at]archlinux[dot]org>
+
+pkgbase=python-requests-cache
+_pyname=requests-cache
+pkgname=('python2-requests-cache')
+makedepends=('python2' 'python2-setuptools')
+pkgver=0.4.12
+pkgrel=2
+pkgdesc="Persistent cache for requests library"
+arch=('any')
+url="https://github.com/reclosedev/requests-cache"
+license=('BSD')
+source=("${_pyname}-${pkgver}.tar.gz::https://github.com/reclosedev/${_pyname}/archive/v${pkgver}.tar.gz")
+sha512sums=('06d563d59c24f311209b81beb96130b75d1e849e0bb94ad636b3ac269eed7c89fdddfed8da86560473c4463425ea98953d30fb3da05efd614907855f130587fc')
+
+package_python-requests-cache() {
+ depends=('python')
+ cd "${srcdir}/${_pyname}-${pkgver}"
+ python setup.py install -O1 --root="${pkgdir}"
+ install -Dm 644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+ install -Dm 644 README.rst "${pkgdir}/usr/share/doc/${pkgname}/README"
+
+}
+
+package_python2-requests-cache() {
+ depends=('python2')
+ cd "${srcdir}/${_pyname}-${pkgver}"
+ python2 setup.py install -O1 --root="${pkgdir}"
+ install -Dm 644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+ install -Dm 644 README.rst "${pkgdir}/usr/share/doc/${pkgname}/README"
+
+}
+
+# vim:set et sw=2 ts=2 tw=79:
diff --git a/abs/core/python_modules/python-requests-cache/__changelog b/abs/core/python_modules/python-requests-cache/__changelog
new file mode 100644
index 0000000..60db758
--- /dev/null
+++ b/abs/core/python_modules/python-requests-cache/__changelog
@@ -0,0 +1 @@
+PKGBUILD: remove py3 stuff
diff --git a/abs/core/python_modules/python-requests/PKGBUILD b/abs/core/python_modules/python-requests/PKGBUILD
new file mode 100644
index 0000000..d5e1fb4
--- /dev/null
+++ b/abs/core/python_modules/python-requests/PKGBUILD
@@ -0,0 +1,64 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars@archlinux.org>
+# Contributor: Massimiliano Torromeo <massimiliano.torromeo@gmail.com>
+
+pkgbase=python-requests
+pkgname=('python2-requests')
+pkgver=2.18.1
+pkgrel=1
+pkgdesc="Python HTTP for Humans"
+arch=('any')
+url="http://python-requests.org"
+license=('Apache')
+makedepends=('python2-setuptools' 'python2-chardet'
+ 'python2-urllib3' 'python2-idna')
+checkdepends=('python2-pytest-httpbin'
+ 'python2-pytest-mock' 'python2-pysocks')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/kennethreitz/requests/archive/v$pkgver.tar.gz"
+ certs.patch)
+sha512sums=('a80e0487b4b729e69522817bc2eec2a9c5f1df34df385581b3e937c2409e0fcb4e1f9b4794b198c8b8a57fc05b1bc513fc70d41b324ae251de0fa9bc7c9e6947'
+ '424a3bb01b23409284f6c9cd2bc22d92df31b85cfd96e1d1b16b5d68adeca670dfed4fff7977d8b10980102b0f780eacc465431021fcd661f3a17168a02a39a3')
+
+prepare() {
+ cd "$srcdir"/requests-$pkgver
+ sed -i '/certifi/d' setup.py
+ patch -p1 -i "$srcdir"/certs.patch
+
+ cd "$srcdir"
+ cp -a requests-$pkgver{,-py2}
+ find requests-$pkgver-py2 -name \*.py -exec sed -r 's|^#!(.*)python$|#!\1python2|' -i {} +
+}
+
+build() {
+# cd "$srcdir"/requests-$pkgver
+# python setup.py build
+
+ cd "$srcdir"/requests-$pkgver-py2
+ python2 setup.py build
+}
+
+check() {
+# cd "$srcdir"/requests-$pkgver
+# py.test tests
+
+ cd "$srcdir"/requests-$pkgver-py2
+ py.test2 tests
+}
+
+package_python-requests() {
+ depends=('python-urllib3' 'python-chardet' 'python-idna')
+ optdepends=('python-pysocks: SOCKS proxy support')
+
+ cd "$srcdir"/requests-$pkgver
+ python setup.py install --skip-build -O1 --root="$pkgdir"
+}
+
+package_python2-requests() {
+ depends=('python2-urllib3' 'python2-chardet' 'python2-idna')
+ optdepends=('python2-ndg-httpsclient: HTTPS requests with SNI support'
+ 'python2-grequests: asynchronous requests with gevent'
+ 'python2-pysocks: SOCKS proxy support')
+
+ cd "$srcdir"/requests-$pkgver-py2
+ python2 setup.py install --skip-build -O1 --root="$pkgdir"
+}
diff --git a/abs/core/python_modules/python-requests/__changelog b/abs/core/python_modules/python-requests/__changelog
new file mode 100644
index 0000000..4f818ef
--- /dev/null
+++ b/abs/core/python_modules/python-requests/__changelog
@@ -0,0 +1,2 @@
+PKGBUILD: don't build py 3 stuff
+
diff --git a/abs/core/python_modules/python-requests/certs.patch b/abs/core/python_modules/python-requests/certs.patch
new file mode 100644
index 0000000..47a32f3
--- /dev/null
+++ b/abs/core/python_modules/python-requests/certs.patch
@@ -0,0 +1,14 @@
+diff --git a/requests/certs.py b/requests/certs.py
+index d1a378d7..4e0bffd4 100644
+--- a/requests/certs.py
++++ b/requests/certs.py
+@@ -12,7 +12,8 @@ If you are packaging Requests, e.g., for a Linux distribution or a managed
+ environment, you can change the definition of where() to return a separately
+ packaged CA bundle.
+ """
+-from certifi import where
++def where():
++ return "/etc/ssl/certs/ca-certificates.crt"
+
+ if __name__ == '__main__':
+ print(where())
diff --git a/abs/core/python_modules/python-rpyc/PKGBUILD b/abs/core/python_modules/python-rpyc/PKGBUILD
new file mode 100644
index 0000000..55fcea4
--- /dev/null
+++ b/abs/core/python_modules/python-rpyc/PKGBUILD
@@ -0,0 +1,30 @@
+# Maintainer: Sebastien Leduc <sebastien AT sleduc DOT fr>
+
+pkgname=('python2-rpyc')
+pkgbase='python-rpyc'
+_realname=rpyc
+pkgver=3.4.0
+pkgrel=1
+pkgdesc="Remote Python Call (RPyC), a transparent and symmetric RPC library"
+url="http://rpyc.readthedocs.org"
+arch=('any')
+license=('MIT')
+source=("https://pypi.python.org/packages/77/6d/41e01e49e75ec9a92e8637f8dc566cc01d5e6a76d4ce01f3bc54d4ff03f9/$_realname-$pkgver.tar.gz")
+md5sums=('6bba886aa3ec37f1f4cabdb56c411eba')
+
+package_python-rpyc() {
+ depends=('python' 'python-plumbum')
+ makedepends=("python-setuptools")
+ cd "$srcdir/$_realname-$pkgver"
+ python setup.py install --root="$pkgdir"/ --optimize=1
+}
+
+package_python2-rpyc() {
+ depends=('python2' 'python2-plumbum')
+ makedepends=("python2-setuptools")
+ cd "$srcdir/$_realname-$pkgver"
+ python2 setup.py install --root="$pkgdir"/ --optimize=1
+ mv "$pkgdir"/usr/bin/rpyc_classic{,2}.py
+ mv "$pkgdir"/usr/bin/rpyc_registry{,2}.py
+}
+# vim:set ts=2 sw=2 et:
diff --git a/abs/core/python_modules/python-rpyc/__changelog b/abs/core/python_modules/python-rpyc/__changelog
new file mode 100644
index 0000000..4f818ef
--- /dev/null
+++ b/abs/core/python_modules/python-rpyc/__changelog
@@ -0,0 +1,2 @@
+PKGBUILD: don't build py 3 stuff
+
diff --git a/abs/core/python_modules/python-setuptools-scm/PKGBUILD b/abs/core/python_modules/python-setuptools-scm/PKGBUILD
new file mode 100644
index 0000000..c874b8b
--- /dev/null
+++ b/abs/core/python_modules/python-setuptools-scm/PKGBUILD
@@ -0,0 +1,68 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars@archlinux.org>
+# Contributor: Hugo Osvaldo Barrera <hugo@barrera.io>
+
+pkgbase=python-setuptools-scm
+pkgname=(python2-setuptools-scm)
+pkgver=1.15.6
+pkgrel=1
+pkgdesc="Handles managing your python package versions in scm metadata."
+arch=('any')
+url="https://github.com/pypa/setuptools_scm"
+license=('MIT')
+makedepends=('python2-setuptools')
+checkdepends=('python2-pytest' 'mercurial' 'git' 'python2-pip')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/pypa/setuptools_scm/archive/v$pkgver.tar.gz")
+sha512sums=('c97669232a492e19bdb073c48f9e792ee029ee2af2191da65461436e2a66a3adf5ad490f0a1429c33a5574d4afeb0d54afedfe78f581fff890ecfc787d08ef5a')
+
+prepare() {
+ cp -a setuptools_scm-$pkgver{,-py2}
+
+ export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver
+}
+
+build() {
+# cd "$srcdir"/setuptools_scm-$pkgver
+# python setup.py build
+# python setup.py egg_info
+
+ cd "$srcdir"/setuptools_scm-$pkgver-py2
+ python2 setup.py build
+ python2 setup.py egg_info
+}
+
+check() {
+ # Hack entry points by installing it
+
+# cd "$srcdir"/setuptools_scm-$pkgver
+# python setup.py install --root="$PWD/tmp_install" --optimize=1
+# SETUPTOOLS_SCM_PRETEND_VERSION= PYTHONPATH="$PWD/tmp_install/usr/lib/python3.6/site-packages:$PYTHONPATH" py.test
+
+ cd "$srcdir"/setuptools_scm-$pkgver-py2
+ python2 setup.py install --root="$PWD/tmp_install" --optimize=1
+ SETUPTOOLS_SCM_PRETEND_VERSION= PYTHONPATH="$PWD/tmp_install/usr/lib/python2.7/site-packages:$PYTHONPATH" py.test2
+}
+
+package_python-setuptools-scm() {
+ depends=('python-setuptools')
+ provides=('python-setuptools_scm')
+ conflicts=('python-setuptools_scm')
+ replaces=('python-setuptools_scm')
+
+ cd "$srcdir"/setuptools_scm-$pkgver
+ python setup.py install --root "$pkgdir"
+
+ install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+package_python2-setuptools-scm() {
+ depends=('python2-setuptools')
+ provides=('python2-setuptools_scm')
+ conflicts=('python2-setuptools_scm')
+ replaces=('python2-setuptools_scm')
+
+ cd "$srcdir"/setuptools_scm-$pkgver-py2
+ python2 setup.py install --root "$pkgdir"
+
+ install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
diff --git a/abs/core/python_modules/python-setuptools-scm/__changelog b/abs/core/python_modules/python-setuptools-scm/__changelog
new file mode 100644
index 0000000..4f818ef
--- /dev/null
+++ b/abs/core/python_modules/python-setuptools-scm/__changelog
@@ -0,0 +1,2 @@
+PKGBUILD: don't build py 3 stuff
+
diff --git a/abs/core/python_modules/python-setuptools/PKGBUILD b/abs/core/python_modules/python-setuptools/PKGBUILD
index 44701e9..31a941e 100644
--- a/abs/core/python_modules/python-setuptools/PKGBUILD
+++ b/abs/core/python_modules/python-setuptools/PKGBUILD
@@ -1,70 +1,85 @@
# $Id$
# Maintainer: Angel Velasquez <angvp@archlinux.org>
-# Maintainer: Felix Yan <felixonmars@gmail.com>
+# Maintainer: Felix Yan <felixonmars@archlinux.org>
pkgbase=python-setuptools
pkgname=('python2-setuptools')
-pkgver=3.4.4
+pkgver=36.2.0
pkgrel=1
+epoch=1
pkgdesc="Easily download, build, install, upgrade, and uninstall Python packages"
arch=('any')
license=('PSF')
url="http://pypi.python.org/pypi/setuptools"
-makedepends=('python2')
-checkdepends=('python-pytest' 'python2-pytest')
-source=("http://pypi.python.org/packages/source/s/setuptools/setuptools-${pkgver}.tar.gz")
-md5sums=('6ca9e8377b65233c2ff3a1752406a22d')
-
-check() {
- # Disabled python 3.x tests for setuptools 3.4.1:
- # https://bitbucket.org/pypa/setuptools/issue/180/34-release-fails-tests
-
- # Check python3 module
- cd "${srcdir}"/setuptools-${pkgver}
- #python3 setup.py test
-
- # Check python2 module
- cd "${srcdir}"/setuptools-${pkgver}-python2
- python2 setup.py test
-}
-
+makedepends=('python2-packaging' 'python2-appdirs'
+ 'python2-pip')
+checkdepends=('python2-pytest-runner'
+ 'python2-pytest-flake8' 'python2-backports.unittest_mock' 'git')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/pypa/setuptools/archive/v$pkgver.tar.gz")
+sha512sums=('579e63feb9f5ea33e29f4ae3a2736a2cfd18e83927775a56553dbe34bcfa32f325457204333d4f183759dbcd57e4ad7f8b166fcfbf626db597b18e14bbcd9ea4')
+
prepare() {
- cp -a setuptools-${pkgver}{,-python2}
+ # Don't download and install deps
+ sed -i '/pip.main(args)/d' setuptools-$pkgver/bootstrap.py
+
+ rm -r setuptools-$pkgver/pkg_resources/_vendor
+
+ # Remove post-release tag since we are using stable tags
+ sed -e '/tag_build = .post/d' \
+ -e '/tag_date = 1/d' \
+ -i setuptools-$pkgver/setup.cfg
- cd "${srcdir}"/setuptools-${pkgver}
- sed -i -e "s|^#\!.*/usr/bin/python|#!/usr/bin/python3|" setuptools/tests/test_resources.py
- sed -i -e "s|^#\!.*/usr/bin/env python|#!/usr/bin/env python3|" setuptools/command/easy_install.py
+ cp -a setuptools-$pkgver{,-py2}
- cd "${srcdir}"/setuptools-${pkgver}-python2
- sed -i -e "s|^#\!.*/usr/bin/python|#!/usr/bin/python2|" setuptools/tests/test_resources.py
+# cd "$srcdir"/setuptools-$pkgver
+# sed -i -e "s|^#\!.*/usr/bin/env python|#!/usr/bin/env python3|" setuptools/command/easy_install.py
+
+ cd "$srcdir"/setuptools-$pkgver-py2
sed -i -e "s|^#\!.*/usr/bin/env python|#!/usr/bin/env python2|" setuptools/command/easy_install.py
+ sed -i -e "s|'pip'|'pip2'|" setuptools/tests/{test_develop.py,test_namespaces.py}
+
+ export SETUPTOOLS_INSTALL_WINDOWS_SPECIFIC_FILES=0
}
build() {
- # Build python 3 module
- #cd "${srcdir}"/setuptools-${pkgver}
- #python3 setup.py build
+# cd "$srcdir"/setuptools-$pkgver
+# python bootstrap.py
+# python setup.py build
- # Build python 2 module
- cd "${srcdir}"/setuptools-${pkgver}-python2
+ cd "$srcdir"/setuptools-$pkgver-py2
+ python2 bootstrap.py
python2 setup.py build
}
-
-#package_python-setuptools() {
- #depends=('python>=3.4')
- #provides=('python-distribute')
- #replaces=('python-distribute')
-
- #cd "${srcdir}/setuptools-${pkgver}"
- #python3 setup.py install --prefix=/usr --root="${pkgdir}" --optimize=1 --skip-build
-#}
-
+
+check() { (
+ # Workaround UTF-8 tests by setting LC_CTYPE
+ export LC_CTYPE=en_US.UTF-8
+
+ # https://github.com/pypa/setuptools/pull/810
+ export PYTHONDONTWRITEBYTECODE=1
+
+# cd "$srcdir"/setuptools-$pkgver
+# python setup.py pytest
+
+ cd "$srcdir"/setuptools-$pkgver-py2
+ python2 setup.py pytest
+)}
+
+package_python-setuptools() {
+ depends=('python-packaging' 'python-appdirs')
+ provides=('python-distribute')
+ replaces=('python-distribute')
+
+ cd "$srcdir"/setuptools-$pkgver
+ python setup.py install --prefix=/usr --root="$pkgdir" --optimize=1 --skip-build
+}
+
package_python2-setuptools() {
- depends=('python2>=2.7')
- provides=('python2-distribute' 'setuptools')
- replaces=('python2-distribute' 'setuptools')
+ depends=('python2-packaging' 'python2-appdirs')
+ provides=('python2-distribute')
+ replaces=('python2-distribute')
- cd "${srcdir}/setuptools-${pkgver}-python2"
- python2 setup.py install --prefix=/usr --root="${pkgdir}" --optimize=1 --skip-build
- rm "${pkgdir}/usr/bin/easy_install"
+ cd "$srcdir"/setuptools-$pkgver-py2
+ python2 setup.py install --prefix=/usr --root="$pkgdir" --optimize=1 --skip-build
+ rm "$pkgdir"/usr/bin/easy_install
}
diff --git a/abs/core/python_modules/python-six/PKGBUILD b/abs/core/python_modules/python-six/PKGBUILD
index 0e8986b..33093f7 100644
--- a/abs/core/python_modules/python-six/PKGBUILD
+++ b/abs/core/python_modules/python-six/PKGBUILD
@@ -1,41 +1,45 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars@archlinux.org>
+# Contributor: Jelle van der Waa <jelle@vdwaa.nl>
# Contributer: Allan McRae <allan@archlinux.org>
-# Maintainer: Jelle van der Waa <jelle@vdwaa.nl>
pkgbase=python-six
pkgname=('python2-six')
-pkgver=1.6.1
-pkgrel=2
+pkgver=1.10.0
+pkgrel=3
pkgdesc="Python 2 and 3 compatibility utilities"
arch=('any')
url="http://pypi.python.org/pypi/six/"
license=('MIT')
-makedepends=('python2')
-source=(http://pypi.python.org/packages/source/s/six/six-$pkgver.tar.gz)
-md5sums=('07d606ac08595d795bf926cc9985674f')
+makedepends=('python2-setuptools')
+checkdepends=('python2-pytest' 'tk')
+source=("https://pypi.io/packages/source/s/six/six-$pkgver.tar.gz")
+md5sums=('34eed507548117b2ab523ab14b2f8b55')
build() {
- cd $srcdir
- cp -r six-$pkgver six2-$pkgver
+ cp -a six-$pkgver{,-py2}
}
check() {
-# cd $srcdir/six-$pkgver
-# python3 setup.py check
+# cd "$srcdir"/six-$pkgver
+# py.test
- cd $srcdir/six2-$pkgver
- python2 setup.py check
+ cd "$srcdir"/six-$pkgver-py2
+ py.test2
}
-#package_python-six() {
-# depends=('python')
-# cd $srcdir/six-$pkgver
-# python3 setup.py install --root "${pkgdir}" --optimize=1
-# install -Dm644 "${srcdir}/six-${pkgver}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-#}
+package_python-six() {
+ depends=('python')
+
+ cd six-$pkgver
+ python setup.py install --root "$pkgdir" --optimize=1
+ install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
package_python2-six() {
depends=('python2')
- cd $srcdir/six2-$pkgver
- python2 setup.py install --root "${pkgdir}" --optimize=1
- install -Dm644 "${srcdir}/six-${pkgver}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+
+ cd six-$pkgver-py2
+ python2 setup.py install --root "$pkgdir" --optimize=1
+ install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}
diff --git a/abs/core/python_modules/python-sqlalchemy/PKGBUILD b/abs/core/python_modules/python-sqlalchemy/PKGBUILD
new file mode 100644
index 0000000..33c6497
--- /dev/null
+++ b/abs/core/python_modules/python-sqlalchemy/PKGBUILD
@@ -0,0 +1,63 @@
+# $Id$
+# Maintainer: Angel Velasquez <angvp@archlinux.org>
+# Maintainer: Felix Yan <felixonmars@archlinux.org>
+# Contributor: Sébastien Luttringer <seblu@aur.archlinux.org>
+
+pkgbase=python-sqlalchemy
+pkgname=('python2-sqlalchemy')
+#pkgname=('python2-sqlalchemy')
+pkgver=1.1.11
+pkgrel=1
+arch=('i686' 'x86_64') # python2 package contain .so
+url="http://www.sqlalchemy.org/"
+license=('MIT')
+makedepends=('python2-setuptools')
+checkdepends=('python2-pytest-runner' 'python2-pytest-xdist' 'python2-mock')
+source=("https://pypi.io/packages/source/S/SQLAlchemy/SQLAlchemy-$pkgver.tar.gz"{,.asc})
+validpgpkeys=('83AF7ACE251C13E6BB7DEFBD330239C1C4DAFEE1')
+sha512sums=('322ec0baa6360099eb000ddd36e28267f64019eb72201ecf60fc478591679e0dd5d2b1139a93036d2ec0165c588ea5836a67ed21dbf7c423b64432589bd73de4'
+ 'SKIP')
+
+prepare() {
+ cp -a SQLAlchemy-$pkgver SQLAlchemy2-$pkgver
+}
+
+build() {
+# cd "$srcdir"/SQLAlchemy-$pkgver
+# python setup.py build
+
+ cd "$srcdir"/SQLAlchemy2-$pkgver
+ python2 setup.py build
+}
+
+check() {
+# cd "$srcdir"/SQLAlchemy-$pkgver
+# python setup.py pytest
+
+ cd "$srcdir"/SQLAlchemy2-$pkgver
+ python2 setup.py pytest
+}
+
+package_python-sqlalchemy() {
+ pkgdesc='Python SQL toolkit and Object Relational Mapper'
+ depends=('python')
+ optdepends=('python-psycopg2: connect to PostgreSQL database')
+
+ cd SQLAlchemy-$pkgver
+ python setup.py install --root="${pkgdir}"
+ install -D -m644 LICENSE \
+ "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+package_python2-sqlalchemy() {
+ pkgdesc='Python 2 SQL toolkit and Object Relational Mapper'
+ depends=('python2')
+ optdepends=('python2-psycopg2: connect to PostgreSQL database')
+
+ cd SQLAlchemy2-$pkgver
+ python2 setup.py install --root="$pkgdir"
+ install -D -m644 LICENSE \
+ "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+# vim:set ts=2 sw=2 ft=sh et:
diff --git a/abs/core/python_modules/python-sqlalchemy/__changelog b/abs/core/python_modules/python-sqlalchemy/__changelog
new file mode 100644
index 0000000..4f818ef
--- /dev/null
+++ b/abs/core/python_modules/python-sqlalchemy/__changelog
@@ -0,0 +1,2 @@
+PKGBUILD: don't build py 3 stuff
+
diff --git a/abs/core/python_modules/python-terminaltables/PKGBUILD b/abs/core/python_modules/python-terminaltables/PKGBUILD
new file mode 100644
index 0000000..b5a1b69
--- /dev/null
+++ b/abs/core/python_modules/python-terminaltables/PKGBUILD
@@ -0,0 +1,27 @@
+# Maintainer: Christian Rebischke <chris.rebischke[at]archlinux[dot]org>
+pkgbase=python-terminaltables
+_pyname=terminaltables
+pkgname=('python2-terminaltables')
+makedepends=('python2' 'python2-setuptools')
+pkgver=3.1.0
+pkgrel=3
+pkgdesc="Generate simple tables in terminals from a nested list of strings"
+arch=('any')
+url="https://github.com/Robpol86/terminaltables"
+license=('MIT')
+source=("${_pyname}-${pkgver}.tar.gz::https://github.com/Robpol86/${_pyname}/archive/v${pkgver}.tar.gz")
+sha512sums=('dc49458652fff8bc6094d316d84c9b8e9fca1a26e3230c0b668bc03ec8528793f4ef024e8032d4a56fbfabfdfd4a1142870f550f0b373ba6a42dd2e3ead3f501')
+
+package_python-terminaltables() {
+ depends=('python')
+ cd "${srcdir}/${_pyname}-${pkgver}"
+ python setup.py install -O1 --root="${pkgdir}"
+}
+
+package_python2-terminaltables() {
+ depends=('python2')
+ cd "${srcdir}/${_pyname}-${pkgver}"
+ python2 setup.py install -O1 --root="${pkgdir}"
+}
+
+# vim:set et sw=2 ts=2 tw=79:
diff --git a/abs/core/python_modules/python-tzlocal/PKGBUILD b/abs/core/python_modules/python-tzlocal/PKGBUILD
new file mode 100644
index 0000000..b4e6905
--- /dev/null
+++ b/abs/core/python_modules/python-tzlocal/PKGBUILD
@@ -0,0 +1,45 @@
+# Maintainer: eolianoe <eolianoe At GoogleMAIL DoT com>
+# Contributor: Étienne Deparis <etienne [at] depar.is>
+# Contributor: Patrice Peterson <runiq at archlinux dot us>
+# Contributor: Patrick Burroughs <celticmadman at gmail dot com>
+
+_pyname=tzlocal
+pkgbase=python-${_pyname}
+pkgname=("python2-${_pyname}")
+pkgver=1.4
+pkgrel=1
+pkgdesc="Tzinfo object for the local timezone"
+arch=('any')
+url='https://pypi.python.org/pypi/tzlocal'
+license=('custom')
+makedepends=('python2-setuptools')
+source=("${_pyname}-${pkgver}.tar.gz::https://github.com/regebro/${_pyname}/archive/${pkgver}.tar.gz")
+sha256sums=('d3cdf502a4ae4b566abf948924e837b6c354aaed082eb1326c6c9043824cb4a7')
+
+prepare() {
+ cp -a ${_pyname}-${pkgver}{,-py2}
+}
+
+build() {
+# cd "${srcdir}/${_pyname}-$pkgver"
+# python setup.py build
+
+ cd "${srcdir}/${_pyname}-$pkgver-py2"
+ python2 setup.py build
+}
+
+package_python2-tzlocal() {
+ depends=('python2-pytz')
+ cd "${srcdir}/${_pyname}-${pkgver}-py2"
+ python2 setup.py install --root="${pkgdir}" --optimize=1 --skip-build
+ install -Dm0644 LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
+
+package_python-tzlocal() {
+ depends=('python-pytz')
+ cd "${srcdir}/${_pyname}-${pkgver}"
+ python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
+ install -Dm0644 LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
+
+# vim:set ts=2 sw=2 et:
diff --git a/abs/core/python_modules/python-tzlocal/__changelog b/abs/core/python_modules/python-tzlocal/__changelog
new file mode 100644
index 0000000..c6e1e55
--- /dev/null
+++ b/abs/core/python_modules/python-tzlocal/__changelog
@@ -0,0 +1 @@
+PKGBUILD: don't build py 3 stuff
diff --git a/abs/core/python_modules/python-urllib3/LICENSE b/abs/core/python_modules/python-urllib3/LICENSE
new file mode 100644
index 0000000..5a44370
--- /dev/null
+++ b/abs/core/python_modules/python-urllib3/LICENSE
@@ -0,0 +1,32 @@
+Note from the ArchLinux Packager:
+The urllib3 source doesn't come with a license file. Its homepage
+does provide a link to the text of the MIT license, so I copied
+the following text to a file when building the package.
+
+------CUT------
+Open Source Initiative OSI - The MIT License:Licensing
+
+
+[OSI Approved License]
+
+The MIT License
+
+Copyright (c) <year> <copyright holders>
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
diff --git a/abs/core/python_modules/python-urllib3/PKGBUILD b/abs/core/python_modules/python-urllib3/PKGBUILD
new file mode 100644
index 0000000..3f881d2
--- /dev/null
+++ b/abs/core/python_modules/python-urllib3/PKGBUILD
@@ -0,0 +1,72 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars@archlinux.org>
+# Contributor: Patrice Peterson <runiq at archlinux dot us>
+# Contributor: Chris Brannon <cmbrannon79@gmail.com>
+# Contributor: BorgHunter <borghunter at gmail dot com>
+
+pkgbase=python-urllib3
+pkgname=(python2-urllib3)
+pkgver=1.21.1
+pkgrel=1
+pkgdesc="HTTP library with thread-safe connection pooling and file post support"
+arch=("any")
+url="https://github.com/shazow/urllib3"
+license=("MIT")
+makedepends=('python2-setuptools'
+ 'python2-ndg-httpsclient' 'python2-pyasn1'
+ 'python2-pyopenssl' 'python2-pysocks' 'python2-mock')
+checkdepends=('python2-nose' 'python2-tornado'
+ 'python2-coverage' 'python2-psutil')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/shazow/urllib3/archive/$pkgver.tar.gz")
+md5sums=('b0a2c692ea273dc120b209a027b0df3c')
+
+prepare() {
+ cp -a urllib3-$pkgver{,-py2}
+}
+
+build() {
+# cd "$srcdir"/urllib3-$pkgver
+# python setup.py build
+
+ cd "$srcdir"/urllib3-$pkgver-py2
+ python2 setup.py build
+
+ # Build with Python 2 since autodoc produces errors on Python 3
+# cd "$srcdir"/urllib3-$pkgver/docs
+# make SPHINXBUILD=sphinx-build2 html
+}
+
+check() {
+# cd "$srcdir"/urllib3-$pkgver
+# nosetests3 || warning "Tests failed"
+
+ cd "$srcdir"/urllib3-$pkgver-py2
+ nosetests2 || warning "Tests failed"
+}
+
+package_python-urllib3() {
+ depends=('python')
+ optdepends=('python-pysocks: SOCKS support')
+
+ cd urllib3-$pkgver
+ python setup.py install --root="$pkgdir"
+ install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.txt
+}
+
+package_python2-urllib3() {
+ depends=('python2')
+ optdepends=('python2-pysocks: SOCKS support')
+
+ cd urllib3-$pkgver-py2
+ python2 setup.py install --root="$pkgdir"
+ install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.txt
+}
+
+package_python-urllib3-doc() {
+ pkgdesc="urllib3 Documentation"
+
+ cd urllib3-$pkgver/docs
+ install -d "$pkgdir"/usr/share/doc
+ cp -r _build/html "$pkgdir"/usr/share/doc/python-urllib3
+ install -Dm644 ../LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.txt
+}
diff --git a/abs/core/python_modules/python-urllib3/__changelog b/abs/core/python_modules/python-urllib3/__changelog
new file mode 100644
index 0000000..49a28c7
--- /dev/null
+++ b/abs/core/python_modules/python-urllib3/__changelog
@@ -0,0 +1 @@
+PKGBUILD: don't build py 3 stuff or sphinx
diff --git a/abs/core/python_modules/python-webencodings/PKGBUILD b/abs/core/python_modules/python-webencodings/PKGBUILD
new file mode 100644
index 0000000..95f05b0
--- /dev/null
+++ b/abs/core/python_modules/python-webencodings/PKGBUILD
@@ -0,0 +1,40 @@
+# Maintainer: Jelle van der Waa <jelle@vdwaa.nl>
+# Contributor: Jelle van der Waa <jelle@vdwaa.nl>
+
+pkgbase=python-webencodings
+pkgname=('python2-webencodings')
+pkgver=0.5.1
+pkgrel=1
+arch=('any')
+url="https://github.com/gsnedders/python-webencodings"
+license=('BSD')
+makedepends=('python2' 'python2-setuptools')
+checkdepends=('python2-nose')
+source=(https://github.com/gsnedders/python-webencodings/archive/v$pkgver.tar.gz)
+md5sums=('7eb67377743cd55eaa356496c439471e')
+
+package_python-webencodings() {
+pkgdesc="This is a Python implementation of the WHATWG Encoding standard."
+depends=('python')
+ cd ${srcdir}/${pkgbase}-${pkgver}
+
+ python3 setup.py install --root=${pkgdir}
+ install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
+
+package_python2-webencodings() {
+pkgdesc="This is a Python implementation of the WHATWG Encoding standard."
+depends=('python2')
+ cd ${srcdir}/${pkgbase}-${pkgver}
+
+ python2 setup.py install --root=${pkgdir}
+ install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
+
+check() {
+ cd ${srcdir}/${pkgbase}-${pkgver}/webencodings
+
+ nosetests tests.py
+
+ nosetests2 tests.py
+}
diff --git a/abs/core/python_modules/python-webencodings/__changelog b/abs/core/python_modules/python-webencodings/__changelog
new file mode 100644
index 0000000..4f818ef
--- /dev/null
+++ b/abs/core/python_modules/python-webencodings/__changelog
@@ -0,0 +1,2 @@
+PKGBUILD: don't build py 3 stuff
+
diff --git a/abs/core/python_modules/python-werkzeug/PKGBUILD b/abs/core/python_modules/python-werkzeug/PKGBUILD
new file mode 100644
index 0000000..b8bfd64
--- /dev/null
+++ b/abs/core/python_modules/python-werkzeug/PKGBUILD
@@ -0,0 +1,61 @@
+# $Id$
+# Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com>
+# Contributor: Alexander Rødseth <rodseth@gmail.com>
+# Contributor: Thomas Dziedzic < gostrc at gmail >
+# Contributor: Dan Serban
+# Contributor: Richard Murri
+
+pkgname=('python2-werkzeug')
+pkgver=0.12.2
+pkgrel=1
+pkgdesc='Swiss Army knife of Python web development'
+url='http://werkzeug.pocoo.org/'
+arch=('any')
+license=('custom:BSD')
+makedepends=('python2-setuptools' 'python2-pytest' 'python2-requests')
+source=("https://github.com/pallets/werkzeug/archive/${pkgver}.tar.gz")
+sha512sums=('e0a27fb37599bd93c9e3e282e1f7f8e2bc9c2be30cce32d1b8a9788cbf998c3337061ade1cbe76858a64da0ebc89112b905567d561354af1b7d86cbd9a56c27d')
+
+prepare() {
+ cp -r "werkzeug-$pkgver" "python-werkzeug-$pkgver"
+ cp -r "werkzeug-$pkgver" "python2-werkzeug-$pkgver"
+}
+
+build_python-werkzeug() {
+ cd "$pkgname-$pkgver"
+
+ python setup.py build
+}
+
+build_python2-werkzeug() {
+ cd "$pkgname-$pkgver"
+
+ python2 setup.py build
+}
+
+#check() {
+# cd "python-werkzeug-$pkgver"
+# python setup.py test
+#
+# cd "python-werkzeug-$pkgver"
+# p3ython2 setup.py test
+#}
+
+package_python-werkzeug() {
+ depends+=('python')
+ cd "$pkgname-$pkgver"
+
+ python setup.py install --root="$pkgdir" --optimize=1
+ install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+package_python2-werkzeug() {
+ depends+=('python2')
+ cd "$pkgname-$pkgver"
+
+ python2 setup.py install --root="$pkgdir" --optimize=1
+ install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+# getver: https://github.com/mitsuhiko/werkzeug
+# vim:set ts=2 sw=2 et:
diff --git a/abs/core/python_modules/python-werkzeug/__changelog b/abs/core/python_modules/python-werkzeug/__changelog
new file mode 100644
index 0000000..60db758
--- /dev/null
+++ b/abs/core/python_modules/python-werkzeug/__changelog
@@ -0,0 +1 @@
+PKGBUILD: remove py3 stuff
diff --git a/abs/core/python_modules/python2-aniso8601/PKGBUILD b/abs/core/python_modules/python2-aniso8601/PKGBUILD
new file mode 100644
index 0000000..da44f5f
--- /dev/null
+++ b/abs/core/python_modules/python2-aniso8601/PKGBUILD
@@ -0,0 +1,29 @@
+# Maintainer: Andy Weidenbaum <archbaum@gmail.com>
+
+pkgname=python2-aniso8601
+pkgver=1.1.0
+pkgrel=1
+pkgdesc="A library for parsing ISO 8601 strings"
+arch=('any')
+depends=('python2' 'python2-dateutil')
+makedepends=('python2-setuptools')
+url="https://bitbucket.org/nielsenb/aniso8601"
+license=('BSD')
+options=(!emptydirs)
+source=(https://pypi.python.org/packages/source/a/${pkgname#python2-}/${pkgname#python2-}-$pkgver.tar.gz)
+md5sums=('d2610ecaab3bdfe51f74678c89c69cf7')
+sha256sums=('4fc462db59811f541bc25d865b86367153d8ce773ae75b16d54e2e1cd393b5cc')
+
+build() {
+ cd "$srcdir/${pkgname#python2-}-$pkgver"
+
+ msg2 'Building...'
+ python2 setup.py build
+}
+
+package() {
+ cd "$srcdir/${pkgname#python2-}-$pkgver"
+
+ msg2 'Installing...'
+ python2 setup.py install --root="$pkgdir" --optimize=1
+}
diff --git a/abs/core/python_modules/python2-apscheduler/PKGBUILD b/abs/core/python_modules/python2-apscheduler/PKGBUILD
new file mode 100644
index 0000000..568e562
--- /dev/null
+++ b/abs/core/python_modules/python2-apscheduler/PKGBUILD
@@ -0,0 +1,28 @@
+# Maintainer: Yaron de Leeuw < me@jarondl.net >
+# Maintained at : https://github.com/jarondl/aur-pkgbuilds-jarondl
+
+# Contributor: Shanto <shanto@hotmail.com>
+
+pkgname=python2-apscheduler
+_pkgname=APScheduler
+pkgver=3.2.0
+pkgrel=1
+pkgdesc="In-process task scheduler with Cron-like capabilities"
+arch=('any')
+url="https://pypi.python.org/pypi/APScheduler"
+license=('MIT')
+depends=('python2'
+ 'python2-pytz'
+ 'python2-tzlocal'
+ 'python2-futures'
+ 'python2-funcsigs'
+ 'python2-six'
+ 'python2-setuptools'
+ )
+source=("https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz")
+sha256sums=('5baa1195ba711868fae257612cf80372ff1124014ca896884bf132f75636f638')
+package() {
+ cd "$srcdir/$_pkgname-$pkgver"
+ python2 setup.py install --root="$pkgdir/" --optimize=1
+ install -D -m644 LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
diff --git a/abs/core/python_modules/python2-babelfish/PKGBUILD b/abs/core/python_modules/python2-babelfish/PKGBUILD
new file mode 100644
index 0000000..bba4e20
--- /dev/null
+++ b/abs/core/python_modules/python2-babelfish/PKGBUILD
@@ -0,0 +1,24 @@
+# Maintainer: sleduc <sebastien@sleduc.fr>
+# Contributor: Quentin Stievenart <acieroid@awesom.eu>
+
+name='babelfish'
+pkgname=python2-$name
+pkgver=0.5.5
+pkgrel=1
+pkgdesc="A module to work with countries and languages"
+arch=('any')
+url="http://pypi.python.org/pypi/$name"
+license=('BSD')
+makedepends=('python2-setuptools')
+depends=('python2')
+options=(!emptydirs)
+
+source=("http://pypi.python.org/packages/source/b/$name/$name-$pkgver.tar.gz")
+md5sums=('5f930555649692997bcf80bb5f42d9db')
+
+package() {
+ cd "$srcdir/$name-$pkgver"
+ python2 setup.py install --root="$pkgdir/" --optimize=1
+}
+
+# vim:set ts=2 sw=2 et:
diff --git a/abs/core/python_modules/python2-colorclass/PKGBUILD b/abs/core/python_modules/python2-colorclass/PKGBUILD
new file mode 100644
index 0000000..fcb218f
--- /dev/null
+++ b/abs/core/python_modules/python2-colorclass/PKGBUILD
@@ -0,0 +1,23 @@
+# Maintainer: Cedric Girard <girard.cedric@gmail.com>
+_pythonmod=colorclass
+pkgname=python2-colorclass
+pkgver=2.2.0
+pkgrel=1
+pkgdesc="Colorful worry-free console applications for Linux, Mac OS X, and Windows"
+arch=('any')
+url="http://pypi.python.org/pypi/${_pythonmod}"
+license=('MIT')
+depends=('python2')
+makedepends=('python2-setuptools')
+source=("https://pypi.io/packages/source/${_pythonmod:0:1}/${_pythonmod}/${_pythonmod}-$pkgver.tar.gz")
+md5sums=('060139e93e31faafeb5d4bdfd6ea0bb8')
+
+build() {
+ cd ${srcdir}/${_pythonmod}-$pkgver
+ python2 setup.py build
+}
+
+package() {
+ cd ${srcdir}/${_pythonmod}-$pkgver
+ python2 setup.py install --root=${pkgdir}
+}
diff --git a/abs/core/python_modules/python2-flask-compress/PKGBUILD b/abs/core/python_modules/python2-flask-compress/PKGBUILD
new file mode 100644
index 0000000..266abf4
--- /dev/null
+++ b/abs/core/python_modules/python2-flask-compress/PKGBUILD
@@ -0,0 +1,26 @@
+# Maintainer: Cedric Girard <girard.cedric@gmail.com>
+_pythonmod=Flask-Compress
+pkgname='python2-flask-compress'
+pkgver='1.4.0'
+pkgrel='1'
+pkgdesc='custom actions for flask to help manage your application'
+arch=('any')
+url='http://pypi.python.org/pypi/Flask-Compress/'
+license=('BSD')
+depends=('python2-flask')
+makedepends=('python2-setuptools')
+
+source=("https://pypi.io/packages/source/${_pythonmod:0:1}/${_pythonmod}/${_pythonmod}-$pkgver.tar.gz")
+sha1sums=('68b5eb124b02993c9466dfb2438e0ba79d2d5809')
+
+build() {
+ cd "Flask-Compress-${pkgver}"
+ python2 ./setup.py build
+}
+
+package() {
+ cd "Flask-Compress-${pkgver}"
+ python2 ./setup.py install --root="${pkgdir}" --prefix="/usr"
+}
+
+# vim:set ts=2 sw=2 et:
diff --git a/abs/core/python_modules/python2-flask-cors/PKGBUILD b/abs/core/python_modules/python2-flask-cors/PKGBUILD
new file mode 100644
index 0000000..08ea418
--- /dev/null
+++ b/abs/core/python_modules/python2-flask-cors/PKGBUILD
@@ -0,0 +1,21 @@
+# Maintainer: Philipp Schmitt <philipp@schmitt.co>
+# GitHub: https://github.com/pschmitt/aur-python2-flask-cors
+pkgname=python2-flask-cors
+_pkgname=Flask-Cors
+pkgver=2.1.2
+pkgrel=1
+pkgdesc="A Flask extension adding a decorator for CORS support"
+arch=('any')
+url='https://pypi.python.org/pypi/Flask-Cors'
+license=('')
+depends=('python2')
+options=(!emptydirs)
+source=("https://pypi.python.org/packages/source/F/$_pkgname/$_pkgname-$pkgver.tar.gz")
+md5sums=('50274b36f1c885669234590009583c43')
+
+package() {
+ cd "$srcdir/$_pkgname-$pkgver"
+ python2 setup.py install --root="$pkgdir/" --optimize=1
+}
+
+# vim:set ts=2 sw=2 et:
diff --git a/abs/core/python_modules/python2-flask-cors/README.md b/abs/core/python_modules/python2-flask-cors/README.md
new file mode 100644
index 0000000..fed19ae
--- /dev/null
+++ b/abs/core/python_modules/python2-flask-cors/README.md
@@ -0,0 +1,16 @@
+# python2-flask-
+
+## Description
+
+AUR package for python2-flask-cors
+
+## Installation
+
+```bash
+wget https://raw.github.com/pschmitt/aur-python2-flask-cors/master/PKGBUILD
+makepkg -si
+```
+
+## Links
+* Upstream: https://pypi.python.org/pypi/Flask-Cors
+* AUR: https://aur.archlinux.org/packages/python2-flask-cors
diff --git a/abs/core/python_modules/python2-flask-restplus086/PKGBUILD b/abs/core/python_modules/python2-flask-restplus086/PKGBUILD
new file mode 100644
index 0000000..226917b
--- /dev/null
+++ b/abs/core/python_modules/python2-flask-restplus086/PKGBUILD
@@ -0,0 +1,35 @@
+# Maintainer: Cedric Girard <girard.cedric@gmail.com>
+pkgname='python2-flask-restplus086'
+pkgver='0.8.6'
+pkgrel='1'
+pkgdesc='custom actions for flask to help manage your application'
+arch=('any')
+url='http://pypi.python.org/pypi/Flask-Restplus/'
+license=('BSD')
+depends=('python2-flask-restful>=0.3.2' 'python2-jsonschema' 'python2-pytz' 'python2-aniso8601>=0.82')
+checkdepends=('python2-nose' 'python2-rednose' 'python2-blinker' 'python2-tzlocal' 'python2-mock')
+makedepends=('python2-setuptools')
+provides=('python2-flask-restplus=0.8.6')
+conflicts=('python2-flask-restplus')
+
+source=("http://pypi.python.org/packages/source/f/flask-restplus/flask-restplus-${pkgver}.tar.gz")
+sha1sums=('455788a4fa4cc9605760041974dbd7e4f46d9899')
+
+build() {
+ cd "flask-restplus-${pkgver}"
+ python2 ./setup.py build
+}
+
+check() {
+ cd "flask-restplus-${pkgver}"
+ python2 ./setup.py test
+}
+
+package() {
+ cd "flask-restplus-${pkgver}"
+ python2 ./setup.py install --root="${pkgdir}" --prefix="/usr"
+
+ install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}"
+}
+
+# vim:set ts=2 sw=2 et:
diff --git a/abs/core/python_modules/python2-funcsigs/PKGBUILD b/abs/core/python_modules/python2-funcsigs/PKGBUILD
new file mode 100644
index 0000000..94ca802
--- /dev/null
+++ b/abs/core/python_modules/python2-funcsigs/PKGBUILD
@@ -0,0 +1,28 @@
+# Contributor: Andrzej Giniewicz <gginiu@gmail.com>
+# Maintainer: Jelle van der Waa <jelle@archlinux.org>
+
+pkgname=python2-funcsigs
+pkgver=1.0.2
+pkgrel=1
+pkgdesc="Python function signatures from PEP362"
+arch=('any')
+url="https://pypi.python.org/pypi/funcsigs/"
+license=('Apache')
+depends=('python2')
+makedepends=('python2-setuptools')
+checkdepends=('python2-nose' 'python2-unittest2')
+#source=(https://pypi.python.org/packages/source/f/funcsigs/funcsigs-${pkgver}.tar.gz)
+source=(https://pypi.python.org/packages/94/4a/db842e7a0545de1cdb0439bb80e6e42dfe82aaeaadd4072f2263a4fbed23/funcsigs-1.0.2.tar.gz)
+sha256sums=('a7bb0f2cf3a3fd1ab2732cb49eba4252c2af4240442415b4abce3b87022a8f50')
+
+package() {
+ cd "$srcdir/funcsigs-$pkgver"
+ python2 setup.py install --root="${pkgdir}" --optimize=1
+}
+
+check() {
+ cd "$srcdir/funcsigs-$pkgver/tests"
+ nosetests2 .
+}
+
+# vim:ts=2:sw=2:et:
diff --git a/abs/core/python_modules/python2-functools32/PKGBUILD b/abs/core/python_modules/python2-functools32/PKGBUILD
new file mode 100644
index 0000000..b6d9078
--- /dev/null
+++ b/abs/core/python_modules/python2-functools32/PKGBUILD
@@ -0,0 +1,29 @@
+# Maintainer:
+# Contributor: Stephan Conrad
+
+pkgname=python2-functools32
+_pkgver=3.2.3-2
+pkgver=${_pkgver//-/_}
+pkgrel=1
+pkgdesc="Backport of the functools module from Python 3.2.3 for use on 2.7 and PyPy"
+url="https://github.com/MiCHiLU/python-functools32"
+arch=(any)
+depends=(python2)
+makedepends=(python2-distribute)
+license=('CUSTOM')
+source=("https://pypi.python.org/packages/source/f/functools32/functools32-$_pkgver.tar.gz")
+md5sums=('09f24ffd9af9f6cd0f63cb9f4e23d4b2')
+
+build() {
+ cd functools32-$_pkgver
+ python2 setup.py build
+}
+
+package() {
+ cd functools32-$_pkgver
+ python2 setup.py install --root="$pkgdir" --optimize=1
+
+ install -d "$pkgdir"/usr/share/licenses/$pkgname
+ install -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/
+}
+
diff --git a/abs/core/python_modules/python2-futures/LICENSE b/abs/core/python_modules/python2-futures/LICENSE
new file mode 100644
index 0000000..c430db0
--- /dev/null
+++ b/abs/core/python_modules/python2-futures/LICENSE
@@ -0,0 +1,21 @@
+Copyright 2009 Brian Quinlan. All rights reserved.
+
+Redistribution and use in source and binary forms, with or without modification,
+are permitted provided that the following conditions are met:
+
+ 1. Redistributions of source code must retain the above copyright notice,
+ this list of conditions and the following disclaimer.
+ 2. Redistributions in binary form must reproduce the above copyright notice,
+ this list of conditions and the following disclaimer in the documentation
+ and/or other materials provided with the distribution.
+
+THIS SOFTWARE IS PROVIDED BY BRIAN QUINLAN "AS IS" AND ANY EXPRESS OR IMPLIED
+WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT
+HALL THE FREEBSD PROJECT OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
+INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
+OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. \ No newline at end of file
diff --git a/abs/core/python_modules/python2-futures/PKGBUILD b/abs/core/python_modules/python2-futures/PKGBUILD
new file mode 100644
index 0000000..dcaed42
--- /dev/null
+++ b/abs/core/python_modules/python2-futures/PKGBUILD
@@ -0,0 +1,30 @@
+# $Id$
+# Maintainer: Balló György <ballogyor+arch at gmail dot com>
+# Contributor: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
+# Contributor: Allan McRae <allan@archlinux.org>
+
+pkgname=python2-futures
+_pkgname=futures
+pkgver=3.1.1
+pkgrel=1
+pkgdesc="Backport of the concurrent.futures package from Python 3.2"
+arch=('any')
+url="https://github.com/agronholm/pythonfutures"
+license=('BSD')
+depends=('python2')
+source=("$_pkgname-$pkgver.tar.gz::https://github.com/agronholm/pythonfutures/archive/$pkgver.tar.gz"
+ LICENSE)
+md5sums=('c500fc20a02b83e7ec88dc5bac9649f5'
+ 'dd6708d05936d3f6c4e20ed14c87b5e3')
+
+build() {
+ cd "python$_pkgname-$pkgver"
+ python2 setup.py build
+}
+
+package() {
+ cd "python$_pkgname-$pkgver"
+ python2 setup.py install --root "$pkgdir" --optimize=1
+
+ install -Dm644 ../LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
diff --git a/abs/core/python_modules/python2-guessit/PKGBUILD b/abs/core/python_modules/python2-guessit/PKGBUILD
new file mode 100644
index 0000000..95d7e35
--- /dev/null
+++ b/abs/core/python_modules/python2-guessit/PKGBUILD
@@ -0,0 +1,29 @@
+# Maintainer: Cedric Girard <girard.cedric@gmail.com>
+_pythonmod=guessit
+pkgname=python2-guessit
+pkgver=2.1.4
+pkgrel=1
+pkgdesc="a library for guessing information from video filenames"
+arch=('any')
+url="http://pypi.python.org/pypi/${_pythonmod}"
+license=('GPL3')
+replaces=('python2-guessit-rc')
+depends=('python2' 'python2-rebulk>=0.9.0' 'python2-babelfish>=0.5.5' 'python2-dateutil')
+makedepends=('python2-setuptools')
+source=("https://pypi.io/packages/source/${_pythonmod:0:1}/${_pythonmod}/${_pythonmod}-$pkgver.tar.gz")
+md5sums=('b4fee9c4e106e6de0020e3d143932bb3')
+
+prepare() {
+ cd ${srcdir}/${_pythonmod}-$pkgver
+ find -type f -exec sed -i '1 s|python$|python2|' {} +
+}
+
+build() {
+ cd ${srcdir}/${_pythonmod}-$pkgver
+ python2 setup.py build
+}
+
+package() {
+ cd ${srcdir}/${_pythonmod}-$pkgver
+ python2 setup.py install --root=${pkgdir}
+}
diff --git a/abs/core/python_modules/python2-ordereddict/PKGBUILD b/abs/core/python_modules/python2-ordereddict/PKGBUILD
new file mode 100644
index 0000000..60493cd
--- /dev/null
+++ b/abs/core/python_modules/python2-ordereddict/PKGBUILD
@@ -0,0 +1,19 @@
+# Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com>
+# Contributor: Cedric Girard <girard.cedric@gmail.com>
+# Contributor: Julien Nicoulaud <julien.nicoulaud@gmail.com>
+pkgname=python2-ordereddict
+pkgver=1.1
+pkgrel=1
+pkgdesc="A drop-in substitute for Python 2.7's collections.OrderedDict that works in Python 2.4-2.6."
+arch=(any)
+url="http://pypi.python.org/pypi/ordereddict"
+license=(APACHE)
+depends=(python2)
+makedepends=(python2-distribute)
+source=("http://pypi.python.org/packages/source/o/ordereddict/ordereddict-${pkgver}.tar.gz")
+md5sums=('a0ed854ee442051b249bfad0f638bbec')
+
+package() {
+ cd "${srcdir}/ordereddict-${pkgver}"
+ python2 setup.py install --root="$pkgdir/" --optimize=1
+}
diff --git a/abs/core/python_modules/python2-pathlib/PKGBUILD b/abs/core/python_modules/python2-pathlib/PKGBUILD
new file mode 100644
index 0000000..954dfb4
--- /dev/null
+++ b/abs/core/python_modules/python2-pathlib/PKGBUILD
@@ -0,0 +1,21 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars@archlinux.org>
+# Contributor: vae77 <fernandogrd@yahoo.com.br>
+
+pkgname=python2-pathlib
+pkgver=1.0.1
+pkgrel=3
+pkgdesc="This module offers a set of classes featuring all the common operations on paths in an easy, object-oriented way"
+arch=('any')
+url="http://pathlib.readthedocs.org/en/${pkgver}/"
+license=('MIT')
+depends=('python2')
+makedepends=('python2-setuptools')
+source=("http://pypi.python.org/packages/source/p/pathlib/pathlib-${pkgver}.tar.gz")
+md5sums=('5099ed48be9b1ee29b31c82819240537')
+
+package() {
+ cd "$srcdir/pathlib-$pkgver"
+ python2 setup.py install --root="$pkgdir/" --optimize=1
+ install -Dm644 LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE.txt"
+}
diff --git a/abs/core/python_modules/python2-paver/PKGBUILD b/abs/core/python_modules/python2-paver/PKGBUILD
new file mode 100644
index 0000000..328f6df
--- /dev/null
+++ b/abs/core/python_modules/python2-paver/PKGBUILD
@@ -0,0 +1,25 @@
+# Maintainer: Sebastien Leduc <sebastien@sleduc.fr>
+# Contributor: ponsfoot <cabezon dot hashimoto at gmail dot com>
+
+pkgname=python2-paver
+pkgver=1.2.4
+pkgrel=1
+pkgdesc="Build, Distribute and Deploy Python Projects"
+arch=('i686' 'x86_64')
+url="http://www.blueskyonmars.com/projects/paver/"
+license=('BSD')
+depends=('python2')
+source=("http://pypi.python.org/packages/source/P/Paver/Paver-${pkgver}.tar.gz")
+md5sums=('dbb94faf8b004eb9920b632808c20560')
+
+package() {
+ cd "${srcdir}/Paver-${pkgver}"
+ python2 setup.py install --prefix="${pkgdir}/usr"
+ install -D "${srcdir}/Paver-${pkgver}/LICENSE.txt" \
+ "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
+
+ # fix python3 conflict
+ for _f in "$pkgdir"/usr/bin/*; do
+ mv -v "$_f" "${_f}2"
+ done
+}
diff --git a/abs/core/python_modules/python2-plumbum/PKGBUILD b/abs/core/python_modules/python2-plumbum/PKGBUILD
new file mode 100644
index 0000000..b4f9cc9
--- /dev/null
+++ b/abs/core/python_modules/python2-plumbum/PKGBUILD
@@ -0,0 +1,29 @@
+# Maintainer: Florian Jacob <projects+arch AT florianjacob )DOT( de>
+# Contributor: Milo Mirate <mmirate@gmx.com>
+_pkgname=plumbum
+pkgname=python2-plumbum
+pkgver=1.6.3
+pkgrel=1
+pkgdesc="Shell combinators library."
+arch=('any')
+url="https://pypi.python.org/pypi/plumbum"
+license=('GPL')
+groups=()
+depends=('python2' 'python2-six')
+makedepends=()
+provides=()
+conflicts=()
+replaces=()
+backup=()
+# plumbum is plain python and therefore we don't need to run strip
+options=(!emptydirs !strip)
+install=
+source=("https://pypi.python.org/packages/50/15/f26f60e1bb82aabed7ff86f3fd2976784047f9a291c63ac9019086a69559/${_pkgname}-${pkgver}.tar.gz")
+sha256sums=('0249e708459f1b05627a7ca8787622c234e4db495a532acbbd1f1f17f28c7320')
+
+package() {
+ cd "$srcdir/${_pkgname}-$pkgver"
+ python2 setup.py install --root="$pkgdir/" --optimize=1
+}
+
+# vim:set ts=2 sw=2 et:
diff --git a/abs/core/python_modules/python2-pynzb/PKGBUILD b/abs/core/python_modules/python2-pynzb/PKGBUILD
new file mode 100644
index 0000000..e88097b
--- /dev/null
+++ b/abs/core/python_modules/python2-pynzb/PKGBUILD
@@ -0,0 +1,30 @@
+# Maintainer : vorpalblade77@gmail.com
+# Contributor : Daniel Neve <the.mephit@googlemail.com>
+pkgshort=pynzb
+pkgname=python2-$pkgshort
+pkgver=0.1.0
+pkgrel=3
+pkgdesc="A unified API for parsing NZB files"
+arch=('any')
+url="http://pypi.python.org/pypi/pynzb/"
+license=('BSD')
+depends=('python2' 'expat')
+makedepends=('python2-distribute')
+conflicts=('pynzb')
+optdepends=('python-lxml: Use lxml instead of expat')
+source=(http://pypi.python.org/packages/source/p/$pkgshort/$pkgshort-$pkgver.tar.gz
+ https://www.github.com/ericflo/$pkgshort/raw/master/LICENSE.txt)
+md5sums=('63c74a36348ac28aa99732dcb8be8c59'
+ '87d87599921bae943f981b28ecfc3cc1')
+
+build() {
+ cd $srcdir/$pkgshort-$pkgver
+ python2 setup.py build
+}
+package() {
+ cd $srcdir/$pkgshort-$pkgver
+ python2 setup.py install --root="${pkgdir}" \
+ --prefix=/usr \
+ --compile -O1
+ install -D -m644 $srcdir/LICENSE.txt $pkgdir/usr/share/licenses/$pkgname/LICENSE.txt
+}
diff --git a/abs/core/python_modules/python2-pytvmaze/PKGBUILD b/abs/core/python_modules/python2-pytvmaze/PKGBUILD
new file mode 100644
index 0000000..984e9c8
--- /dev/null
+++ b/abs/core/python_modules/python2-pytvmaze/PKGBUILD
@@ -0,0 +1,18 @@
+# Maintainer: Cedric Girard <girard.cedric@gmail.com>
+pkgname=python2-pytvmaze
+_pkgname=pytvmaze
+pkgver=2.0.8
+pkgrel=1
+pkgdesc="Python interface to the TV Maze API "
+arch=(any)
+url="http://pypi.python.org/pypi/pytvmaze"
+license=(MIT)
+depends=('python2' 'python2-requests')
+makedepends=(python2-distribute)
+source=("https://pypi.io/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz")
+md5sums=('562f807f97b1c626d9d9ab090195ba7b')
+
+package() {
+ cd "$srcdir/$_pkgname-$pkgver"
+ python2 setup.py install --root="$pkgdir/" --optimize=1
+}
diff --git a/abs/core/python_modules/python2-transmissionrpc/PKGBUILD b/abs/core/python_modules/python2-transmissionrpc/PKGBUILD
new file mode 100644
index 0000000..108e709
--- /dev/null
+++ b/abs/core/python_modules/python2-transmissionrpc/PKGBUILD
@@ -0,0 +1,23 @@
+# Maintainer: Bogdan Szczurek <thebodzio@gmail.com>
+
+pkgname=python2-transmissionrpc
+pkgver=0.11
+pkgrel=1
+pkgdesc="Module to communicate with Transmission BT client via JSON-RPC"
+arch=(any)
+url="https://bitbucket.org/blueluna/transmissionrpc/wiki/Home"
+license=('MIT')
+depends=('python2' 'python2-six')
+makedepends=('python2-setuptools')
+conflicts=('pytransmissionrpc')
+replaces=('pytransmissionrpc')
+source=(https://bitbucket.org/blueluna/${pkgname:8}/get/release-${pkgver}.tar.gz)
+
+package() {
+ cd "$srcdir/blueluna-${pkgname:8}-eb2a32720f8a"
+ python2 setup.py install --root="$pkgdir/" --optimize=1
+
+ install -D -m644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+md5sums=('2ec4dc465435cc970c20f1e10524439b')
diff --git a/abs/core/python_modules/python2-zxcvbn/PKGBUILD b/abs/core/python_modules/python2-zxcvbn/PKGBUILD
new file mode 100644
index 0000000..16a6cfd
--- /dev/null
+++ b/abs/core/python_modules/python2-zxcvbn/PKGBUILD
@@ -0,0 +1,25 @@
+# Maintainer: Cedric Girard <girard.cedric@gmail.com>
+_pythonmod=zxcvbn-python
+pkgname=python2-zxcvbn
+pkgver=4.4.14
+pkgrel=1
+pkgdesc="Password strength estimator"
+arch=('any')
+url="http://pypi.python.org/pypi/${_pythonmod}"
+license=('Apache')
+depends=(
+ 'python2'
+ )
+makedepends=('python2-setuptools')
+source=("https://pypi.io/packages/source/${_pythonmod:0:1}/${_pythonmod}/${_pythonmod}-$pkgver.tar.gz")
+
+build() {
+ cd ${srcdir}/${_pythonmod}-$pkgver
+ python2 setup.py build
+}
+
+package() {
+ cd ${srcdir}/${_pythonmod}-$pkgver
+ python2 setup.py install --root=${pkgdir}
+}
+md5sums=('5c41b2ea7b7421a8f8da505bbba3bbd4')