mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-05 20:36:40 +02:00
community/py-futures: upgrade to 3.1.1, modernize APKBUILD
This commit is contained in:
parent
bc77cc4bfb
commit
a52f383ecd
@ -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"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user