aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py2-typing
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2017-05-24 13:38:28 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2017-05-24 13:38:34 +0000
commit6576bf04cd0ce1e6c19394816f2c0715eaf7aca8 (patch)
tree41592cbeac2b45e0ca38d06fe09d833c97545fd0 /testing/py2-typing
parent62a475001d1fc01b8099d7f66f93def00611ccf1 (diff)
downloadaports-6576bf04cd0ce1e6c19394816f2c0715eaf7aca8.tar.bz2
aports-6576bf04cd0ce1e6c19394816f2c0715eaf7aca8.tar.xz
testing/py2-typing: upgrade to 3.6.1, added check() function
Diffstat (limited to 'testing/py2-typing')
-rw-r--r--testing/py2-typing/APKBUILD11
1 files changed, 7 insertions, 4 deletions
diff --git a/testing/py2-typing/APKBUILD b/testing/py2-typing/APKBUILD
index 5ed8001998..ca0a59614c 100644
--- a/testing/py2-typing/APKBUILD
+++ b/testing/py2-typing/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py2-typing
_pkgname=typing
-pkgver=3.5.2.2
+pkgver=3.6.1
pkgrel=0
pkgdesc="Backport of stdlib's typing module from Python 3.5"
url="https://pypi.python.org/pypi/typing/"
@@ -13,6 +13,11 @@ 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
@@ -23,6 +28,4 @@ package() {
python2 setup.py install --prefix=/usr --root="$pkgdir"
}
-md5sums="61ffbe736df9f419563dbfffa64ebb7d py2-typing-3.5.2.2.tar.gz"
-sha256sums="2bce34292653af712963c877f3085250a336738e64f99048d1b8509bebc4772f py2-typing-3.5.2.2.tar.gz"
-sha512sums="38d8899cf7ccfc86299ea59a234a80a7938ff9e78d84a9593befd163959ee90af3201dfd495e172904bc6423919b338bee470d166e9c41d9697662c27ed2fbc8 py2-typing-3.5.2.2.tar.gz"
+sha512sums="37881848a85545329360a5ddaae06deadefa36725c19c6fdfbbaeac1c5b18ad556d39bd57ea3eb4f9f609e16c0a1bd00dc076689d8c06315549594805e53c3eb py2-typing-3.6.1.tar.gz"