python-munkres: update to 1.0.8
License changed to Apache 2.0. Fix pycompile_module.
This commit is contained in:
parent
72de1b78e6
commit
574d8cf8f1
1 changed files with 8 additions and 13 deletions
|
@ -1,31 +1,26 @@
|
|||
# Template file for 'python-munkres'
|
||||
pkgname=python-munkres
|
||||
version=1.0.7
|
||||
version=1.0.8
|
||||
revision=1
|
||||
noarch=yes
|
||||
wrksrc="munkres-${version}"
|
||||
build_style="python-module"
|
||||
python_versions="2.7 3.4"
|
||||
pycompile_module="munkres.py"
|
||||
hostmakedepends="python-devel python3.4-devel"
|
||||
makedepends="${hostmakedepends}"
|
||||
depends="python"
|
||||
pycompile_module="munkres"
|
||||
short_desc="Algorithm for the Assignment Problem (Python2)"
|
||||
maintainer="Steven R <dev@styez.com>"
|
||||
homepage="http://software.clapper.org/munkres/"
|
||||
license="BSD"
|
||||
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
||||
homepage="https://github.com/bmc/munkres"
|
||||
license="Apache-2.0"
|
||||
distfiles="${PYPI_SITE}/m/munkres/munkres-${version}.tar.gz"
|
||||
checksum=334a5d849bcefed3e4c32ecfbca4ee8dfc8ef5f2f181334d6f7f4e100b71d6c4
|
||||
|
||||
pre_install() {
|
||||
sed -i 's,#!/usr/bin/env python,&3.4,' build-3.4/lib/munkres.py
|
||||
}
|
||||
checksum=185f1a9c4d2c31f2f19afa48bc2ec726c11e945eded4784d272da2fd49bf7a55
|
||||
|
||||
python3.4-munkres_package() {
|
||||
noarch=yes
|
||||
depends="python3.4"
|
||||
pycompile_version="3.4"
|
||||
pycompile_module="munkres"
|
||||
pycompile_module="munkres.py"
|
||||
depends="python3.4"
|
||||
short_desc="${short_desc/Python2/Python3.4}"
|
||||
pkg_install() {
|
||||
vmove usr/lib/python3.4
|
||||
|
|
Loading…
Reference in a new issue