summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--abs/core/python_modules/python2-typing/PKGBUILD29
-rw-r--r--abs/core/python_modules/python2-typing/python2-typing-3.6.1.tar.gzbin0 -> 66698 bytes
2 files changed, 29 insertions, 0 deletions
diff --git a/abs/core/python_modules/python2-typing/PKGBUILD b/abs/core/python_modules/python2-typing/PKGBUILD
new file mode 100644
index 0000000..ac90a5b
--- /dev/null
+++ b/abs/core/python_modules/python2-typing/PKGBUILD
@@ -0,0 +1,29 @@
+# Maintainer: Johannes Löthberg <johannes@kyriasis.com>
+
+pkgname=python2-typing
+pkgver=3.6.4
+pkgrel=1
+
+pkgdesc="Backport of the standard library typing module to Python versions older than 3.6"
+url="https://pypi.python.org/pypi/typing"
+arch=('any')
+license=('FSF')
+
+makedepends=('python2'
+ 'python2-setuptools')
+
+source=("python2-typing-$pkgver.tar.gz::https://pypi.io/packages/source/t/typing/typing-$pkgver.tar.gz")
+
+md5sums=('5b2ade08d83be488f17b5fe587c27c74')
+
+build() {
+ cd typing-$pkgver
+ python2 setup.py build
+}
+
+package() {
+ depends=('python2')
+
+ cd typing-$pkgver
+ python2 setup.py install --root "$pkgdir" --optimize=1 --skip-build
+}
diff --git a/abs/core/python_modules/python2-typing/python2-typing-3.6.1.tar.gz b/abs/core/python_modules/python2-typing/python2-typing-3.6.1.tar.gz
new file mode 100644
index 0000000..1097c24
--- /dev/null
+++ b/abs/core/python_modules/python2-typing/python2-typing-3.6.1.tar.gz
Binary files differ