aboutsummaryrefslogtreecommitdiffstats
path: root/main/py-munkres
diff options
context:
space:
mode:
authorFabian Affolter <fabian@affolter-engineering.ch>2017-06-28 06:54:02 +0000
committerWilliam Pitcock <nenolod@dereferenced.org>2017-06-30 21:55:54 +0000
commit8a6fe7b85917f8e1bc7259508c1a14db7919ecde (patch)
tree4873ebe6e7a9a98bec0cac8da922bd6ab04337a0 /main/py-munkres
parent26c693e9211adbd808323d8dbf863c88517aada2 (diff)
downloadaports-8a6fe7b85917f8e1bc7259508c1a14db7919ecde.tar.bz2
aports-8a6fe7b85917f8e1bc7259508c1a14db7919ecde.tar.xz
main/py-munkres: upgrade to 1.0.12
Diffstat (limited to 'main/py-munkres')
-rw-r--r--main/py-munkres/APKBUILD16
1 files changed, 7 insertions, 9 deletions
diff --git a/main/py-munkres/APKBUILD b/main/py-munkres/APKBUILD
index 8c85b303af..f7197190aa 100644
--- a/main/py-munkres/APKBUILD
+++ b/main/py-munkres/APKBUILD
@@ -2,8 +2,8 @@
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py-munkres
_pkgname=munkres
-pkgver=1.0.8
-pkgrel=1
+pkgver=1.0.12
+pkgrel=0
pkgdesc="Munkres algorithm for the assignment problem"
url="http://bmc.github.com/munkres/"
arch="noarch"
@@ -11,13 +11,13 @@ license="BSD"
depends=""
makedepends="python2-dev python3-dev py-setuptools"
subpackages="py2-${pkgname#py-}:_py2 py3-${pkgname#py-}:_py3"
-source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
-builddir="$srcdir/$_pkgname-$pkgver"
+source="https://github.com/bmc/munkres/archive/release-$pkgver.tar.gz#/$_pkgname-$pkgver.tar.gz"
+builddir="$srcdir/$_pkgname-release-$pkgver"
build() {
cd "$builddir"
- python2 setup.py build || return 1
- python3 setup.py build || return 1
+ python2 setup.py build
+ python3 setup.py build
}
package() {
@@ -43,6 +43,4 @@ _py() {
$python setup.py install --prefix=/usr --root="$subpkgdir"
}
-md5sums="8e93108d2cb0e532aabd5dc9e418328c munkres-1.0.8.tar.gz"
-sha256sums="185f1a9c4d2c31f2f19afa48bc2ec726c11e945eded4784d272da2fd49bf7a55 munkres-1.0.8.tar.gz"
-sha512sums="e0afda8b91e51d177b9e2dc66ccacce849649d1a7d0e756884ac030acf4080076aa428182c5e9366613ee16db338ba7dcd3c38977de0888781b1885f08cb8236 munkres-1.0.8.tar.gz"
+sha512sums="9049fd350b739c9095b6e1da8fe0041210d4723ab8c0c6a7fc9943392bebf9eb224c6f420c8158a47607277e13fba2f3c7803ee222d58e8e3720d5647f44e596 munkres-1.0.12.tar.gz"