From 58828df7ef75a256f461348ec637d7429eedc40e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Piotr=20W=C3=B3jcik?= Date: Wed, 20 Feb 2019 22:32:43 +0100 Subject: [PATCH] python3-munkres: update to 1.1.2. --- srcpkgs/python-munkres/template | 16 +++------------- srcpkgs/python-munkres/update | 2 ++ srcpkgs/python3-munkres | 1 - srcpkgs/python3-munkres/template | 18 ++++++++++++++++++ srcpkgs/python3-munkres/update | 1 + 5 files changed, 24 insertions(+), 14 deletions(-) create mode 100644 srcpkgs/python-munkres/update delete mode 120000 srcpkgs/python3-munkres create mode 100644 srcpkgs/python3-munkres/template create mode 100644 srcpkgs/python3-munkres/update diff --git a/srcpkgs/python-munkres/template b/srcpkgs/python-munkres/template index 5bef0d4e13c..100ca3e1be4 100644 --- a/srcpkgs/python-munkres/template +++ b/srcpkgs/python-munkres/template @@ -2,11 +2,11 @@ pkgname=python-munkres version=1.0.12 revision=1 -noarch=yes +archs=noarch wrksrc="munkres-release-${version}" -build_style="python-module" +build_style=python2-module pycompile_module="munkres.py" -hostmakedepends="python-setuptools python3-setuptools" +hostmakedepends="python-setuptools" depends="python" short_desc="Algorithm for the Assignment Problem (Python2)" maintainer="Juan RP " @@ -15,13 +15,3 @@ 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* - } -} diff --git a/srcpkgs/python-munkres/update b/srcpkgs/python-munkres/update new file mode 100644 index 00000000000..336cd063743 --- /dev/null +++ b/srcpkgs/python-munkres/update @@ -0,0 +1,2 @@ +pkgname=release +ignore=1.1.* diff --git a/srcpkgs/python3-munkres b/srcpkgs/python3-munkres deleted file mode 120000 index a8a6e0a8b19..00000000000 --- a/srcpkgs/python3-munkres +++ /dev/null @@ -1 +0,0 @@ -python-munkres \ No newline at end of file diff --git a/srcpkgs/python3-munkres/template b/srcpkgs/python3-munkres/template new file mode 100644 index 00000000000..f5d3bfeaa76 --- /dev/null +++ b/srcpkgs/python3-munkres/template @@ -0,0 +1,18 @@ +# Template file for 'python3-munkres' +pkgname=python3-munkres +version=1.1.2 +revision=1 +archs=noarch +wrksrc="munkres-release-${version}" +build_style=python3-module +pycompile_module="munkres.py" +hostmakedepends="python3-setuptools" +depends="python3" +checkdepends="python3-nose" +short_desc="Algorithm for the Assignment Problem (Python3)" +maintainer="Juan RP " +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=0a25570d1498d4ce86b6ed151f3afa1da7318deac56db25100ccbdb9b12625c3 diff --git a/srcpkgs/python3-munkres/update b/srcpkgs/python3-munkres/update new file mode 100644 index 00000000000..d3094846993 --- /dev/null +++ b/srcpkgs/python3-munkres/update @@ -0,0 +1 @@ +pkgname=release