From 28e73c0169de9e086b0c08b5c7f88268120c9858 Mon Sep 17 00:00:00 2001 From: Alessio Sergi Date: Mon, 17 Oct 2016 12:09:15 +0200 Subject: [PATCH] python-munkres: rebuild for Python 3.5 Switch to python3-* pkgs. Convert python3.4-* pkg into dummy pkg. --- srcpkgs/python-munkres/template | 21 +++++++++++++-------- srcpkgs/python3-munkres | 1 + 2 files changed, 14 insertions(+), 8 deletions(-) create mode 120000 srcpkgs/python3-munkres diff --git a/srcpkgs/python-munkres/template b/srcpkgs/python-munkres/template index 64671e759c6..c824b7819cf 100644 --- a/srcpkgs/python-munkres/template +++ b/srcpkgs/python-munkres/template @@ -1,13 +1,12 @@ # Template file for 'python-munkres' pkgname=python-munkres version=1.0.8 -revision=1 +revision=2 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" +hostmakedepends="python-devel python3-devel" depends="python" short_desc="Algorithm for the Assignment Problem (Python2)" maintainer="Juan RP " @@ -16,13 +15,19 @@ license="Apache-2.0" distfiles="${PYPI_SITE}/m/munkres/munkres-${version}.tar.gz" checksum=185f1a9c4d2c31f2f19afa48bc2ec726c11e945eded4784d272da2fd49bf7a55 -python3.4-munkres_package() { +python3-munkres_package() { noarch=yes - pycompile_version="3.4" pycompile_module="munkres.py" - depends="python3.4" - short_desc="${short_desc/Python2/Python3.4}" + replaces="python3.4-munkres>=0" + depends="python3" + short_desc="${short_desc/Python2/Python3}" pkg_install() { - vmove usr/lib/python3.4 + vmove usr/lib/python3* } } +python3.4-munkres_package() { + noarch=yes + build_style=meta + short_desc="${short_desc/Python2/Python3.4} (transitional dummy package)" + depends="python3-munkres>=${version}_${revision}" +} diff --git a/srcpkgs/python3-munkres b/srcpkgs/python3-munkres new file mode 120000 index 00000000000..a8a6e0a8b19 --- /dev/null +++ b/srcpkgs/python3-munkres @@ -0,0 +1 @@ +python-munkres \ No newline at end of file