From aaf2d627aa99b8425b74e7ee39af33d70045fd5a Mon Sep 17 00:00:00 2001 From: Dmitry Romanenko Date: Tue, 8 Jan 2019 23:10:15 -0500 Subject: main/py-six: upgrade to 1.12.0, added tests --- main/py-six/APKBUILD | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/main/py-six/APKBUILD b/main/py-six/APKBUILD index 5469cb8eb5..48f81bbcfb 100644 --- a/main/py-six/APKBUILD +++ b/main/py-six/APKBUILD @@ -2,13 +2,14 @@ # Maintainer: William Pitcock pkgname=py-six _pkgname=six -pkgver=1.11.0 +pkgver=1.12.0 pkgrel=0 pkgdesc="Python 2 and 3 compatibility library" url="https://pypi.python.org/pypi/six" arch="noarch" license="MIT" depends="" +checkdepends="pytest" makedepends="python2-dev python3-dev py-setuptools" subpackages="py3-$_pkgname:_py3 py2-$_pkgname:_py2" source="$pkgname-$pkgver.tar.gz::https://github.com/benjaminp/$_pkgname/archive/$pkgver.tar.gz" @@ -20,6 +21,12 @@ build() { python3 setup.py build } +build() { + cd "$builddir" + python2 -m pytest -rfsxX + python3 -m pytest -rfsxX +} + package() { mkdir -p "$pkgdir" } @@ -43,4 +50,4 @@ _py3() { _py python3 } -sha512sums="f301c6e3c159fc87c121a6b860e4a24fa77ca2d23c3beb29201f7ba0ef71188d683d103fd3f44f50bc774a0682183256ac119e20463d389ebe0f481e2c4711f9 py-six-1.11.0.tar.gz" +sha512sums="67f218ec591411b4a460e4e2744083b7e128440a50d006433cd85a7485b3f4bbf37830bee4cfd3e24194e4873f9ad251a62900e2f5fce7429d647b3df14543c3 py-six-1.12.0.tar.gz" -- cgit v1.2.3