28 lines
831 B
Bash
28 lines
831 B
Bash
# Template file for 'python-munkres'
|
|
pkgname=python-munkres
|
|
version=1.0.12
|
|
revision=1
|
|
noarch=yes
|
|
wrksrc="munkres-release-${version}"
|
|
build_style="python-module"
|
|
pycompile_module="munkres.py"
|
|
hostmakedepends="python-setuptools python3-setuptools"
|
|
depends="python"
|
|
short_desc="Algorithm for the Assignment Problem (Python2)"
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
|
license="Apache-2.0"
|
|
homepage="https://github.com/bmc/munkres"
|
|
changelog="https://github.com/bmc/munkres/blob/master/CHANGELOG.md"
|
|
distfiles="https://github.com/bmc/munkres/archive/release-${version}.tar.gz"
|
|
checksum=70b3b32b4fed3b354e5c42e4d1273880a33a13ab8c108a4247140eb661767a0b
|
|
|
|
python3-munkres_package() {
|
|
noarch=yes
|
|
pycompile_module="munkres.py"
|
|
depends="python3"
|
|
short_desc="${short_desc/Python2/Python3}"
|
|
pkg_install() {
|
|
vmove usr/lib/python3*
|
|
}
|
|
}
|