From af9046ef47e3de4eb69c3445e780dab6ad846faa Mon Sep 17 00:00:00 2001 From: Britney Fransen Date: Thu, 1 Mar 2018 16:04:13 +0000 Subject: python2-typing: dep of python-sphinx --- abs/core/python_modules/python2-typing/PKGBUILD | 29 +++++++++++++++++++++ .../python2-typing/python2-typing-3.6.1.tar.gz | Bin 0 -> 66698 bytes 2 files changed, 29 insertions(+) create mode 100644 abs/core/python_modules/python2-typing/PKGBUILD create mode 100644 abs/core/python_modules/python2-typing/python2-typing-3.6.1.tar.gz 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 + +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 Binary files /dev/null and b/abs/core/python_modules/python2-typing/python2-typing-3.6.1.tar.gz differ -- cgit v0.12