aboutsummaryrefslogtreecommitdiffstats
path: root/main/py3-munkres/APKBUILD
blob: 34657d52917720732de32e19d6eb79b3e0115d95 (plain)
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
33
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py3-munkres
_pkgname=munkres
pkgver=1.1.1
pkgrel=1
pkgdesc="Munkres algorithm for the assignment problem"
url="http://bmc.github.com/munkres/"
arch="noarch"
license="BSD"
depends=""
replaces="py2-munkres"
makedepends="python3-dev py3-nose"
source="$_pkgname-$pkgver.tar.gz::https://github.com/bmc/munkres/archive/release-$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-release-$pkgver"

build() {
	cd "$builddir"
	python3 setup.py build
}

check() {
	cd "$builddir"
	python3 setup.py test
}

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


sha512sums="652638b8351664783fa370d18883606215b72f71eb04980d10b926379d3fe251df7580c464ff448be94beba4a9b6c7bf97318b560163579588b8b5da181a0b6b  munkres-1.1.1.tar.gz"