diff options
author | Francesco Colista <fcolista@alpinelinux.org> | 2017-04-17 17:52:46 +0000 |
---|---|---|
committer | Francesco Colista <fcolista@alpinelinux.org> | 2017-04-17 17:52:46 +0000 |
commit | a52f383ecd950f3bd4c794cc42e9699db244988e (patch) | |
tree | cda9f592fe3d5863e5a81ac717208a896badeec4 /community | |
parent | bc77cc4bfb87864b702b2c3d02c1ad974585d817 (diff) | |
download | aports-a52f383ecd950f3bd4c794cc42e9699db244988e.tar.bz2 aports-a52f383ecd950f3bd4c794cc42e9699db244988e.tar.xz |
community/py-futures: upgrade to 3.1.1, modernize APKBUILD
Diffstat (limited to 'community')
-rw-r--r-- | community/py-futures/APKBUILD | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/community/py-futures/APKBUILD b/community/py-futures/APKBUILD index 4862d209f2..cd9a38e5ff 100644 --- a/community/py-futures/APKBUILD +++ b/community/py-futures/APKBUILD @@ -2,23 +2,25 @@ # Maintainer: Fabian Affolter <fabian@affolter-engineering.ch> pkgname=py-futures _pkgname=futures -pkgver=3.0.5 +pkgver=3.1.1 pkgrel=0 pkgdesc="Backport of the concurrent.futures package from Python 3.2" url="http://code.google.com/p/pythonfutures/" arch="noarch" license="BSD" -depends="" -depends_dev="" makedepends="python2-dev" -install="" subpackages="py2-${pkgname/py-/}:_py2" source="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 || return 1 + python2 setup.py build } package() { @@ -38,6 +40,4 @@ _py2() { replaces="$pkgname" } -md5sums="ced2c365e518242512d7a398b515ff95 futures-3.0.5.tar.gz" -sha256sums="0542525145d5afc984c88f914a0c85c77527f65946617edb5274f72406f981df futures-3.0.5.tar.gz" -sha512sums="29f366a273600924acba4b78d53e2f911379da04a7067c3bc2911c20c0fe880300fc2b8c91d8f1b6689e5732b79eeb4198fde56854ab2b7caf47382ad5942435 futures-3.0.5.tar.gz" +sha512sums="7ccb041271ed2688591942f46ab2d2c92d806efbd5209ff9aba77c6d5d3c1a1495fccbeb1718d914894b0b8d936438687e8f3cc22b7ab6625fb518321084ead3 futures-3.1.1.tar.gz" |