aboutsummaryrefslogtreecommitdiffstats
path: root/community/py3-munkres/APKBUILD
blob: 9b73594da66505e15778204865a4acf3247eb9fb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py3-munkres
_pkgname=munkres
pkgver=1.1.2
pkgrel=1
pkgdesc="Munkres algorithm for the assignment problem"
url="http://software.clapper.org/munkres/"
arch="noarch"
license="BSD"
makedepends="py3-setuptools"
checkdepends="py3-nose"
source="$_pkgname-$pkgver.tar.gz::https://github.com/bmc/munkres/archive/release-$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-release-$pkgver"

replaces="py-munkres" # Backwards compatibility
provides="py-munkres=$pkgver-r$pkgrel" # Backwards compatibility

build() {
	python3 setup.py build
}

check() {
	python3 setup.py test
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}


sha512sums="4a8b698f53812303f5020b4fc357f859a63d97370fe311d16ae959addd9cacee65667e430cd0d00496e423c1f0c7a3c8d4219ba49600a982de323fadd2c03bec  munkres-1.1.2.tar.gz"