diff options
author | Francesco Colista <fcolista@alpinelinux.org> | 2017-06-19 14:54:40 +0000 |
---|---|---|
committer | Francesco Colista <fcolista@alpinelinux.org> | 2017-06-19 14:54:40 +0000 |
commit | a828a12e7fea4d9fa05bf869cf5c67ed7ff6a0a6 (patch) | |
tree | 6f27dc83ab29173cbff091ae53188e39dbbc0c53 /community/py2-typing | |
parent | 232d305d5788fb032c28b40e812a8d73d8e6004c (diff) | |
download | aports-a828a12e7fea4d9fa05bf869cf5c67ed7ff6a0a6.tar.bz2 aports-a828a12e7fea4d9fa05bf869cf5c67ed7ff6a0a6.tar.xz |
community/py2-typing: moved from testing
Diffstat (limited to 'community/py2-typing')
-rw-r--r-- | community/py2-typing/APKBUILD | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/community/py2-typing/APKBUILD b/community/py2-typing/APKBUILD new file mode 100644 index 0000000000..ca0a59614c --- /dev/null +++ b/community/py2-typing/APKBUILD @@ -0,0 +1,31 @@ +# Contributor: Fabian Affolter <fabian@affolter-engineering.ch> +# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch> +pkgname=py2-typing +_pkgname=typing +pkgver=3.6.1 +pkgrel=0 +pkgdesc="Backport of stdlib's typing module from Python 3.5" +url="https://pypi.python.org/pypi/typing/" +arch="noarch" +license="PSF" +depends="python2" +makedepends="python2-dev py-setuptools" +source="$pkgname-$pkgver.tar.gz::https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz" +builddir="$srcdir/$_pkgname-$pkgver" + +check() { + cd "$builddir" + python2 setup.py check +} + +build() { + cd "$builddir" + python2 setup.py build +} + +package() { + cd "$builddir" + python2 setup.py install --prefix=/usr --root="$pkgdir" +} + +sha512sums="37881848a85545329360a5ddaae06deadefa36725c19c6fdfbbaeac1c5b18ad556d39bd57ea3eb4f9f609e16c0a1bd00dc076689d8c06315549594805e53c3eb py2-typing-3.6.1.tar.gz" |