diff --git a/srcpkgs/python-namedlist/template b/srcpkgs/python-namedlist/template index 55484094831..a1a482ddb43 100644 --- a/srcpkgs/python-namedlist/template +++ b/srcpkgs/python-namedlist/template @@ -1,12 +1,11 @@ # Template file for 'python-namedlist' pkgname=python-namedlist version=1.7 -revision=1 +revision=2 noarch=yes wrksrc="namedlist-${version}" build_style=python-module -python_versions="2.7 3.4" -hostmakedepends="python-setuptools python3.4-setuptools" +hostmakedepends="python-setuptools python3-setuptools" depends="python" pycompile_module="namedlist" short_desc="Similar to namedtuple, but instances are mutable" @@ -16,13 +15,19 @@ license="Apache-2.0" distfiles="${PYPI_SITE}/n/namedlist/namedlist-${version}.tar.gz" checksum=190b39ceaf1d6b59999811259e61beb1b26aaa482fb8c95538294d551461c986 -python3.4-namedlist_package() { +python3-namedlist_package() { noarch=yes - depends="python3.4" - pycompile_version="3.4" + depends="python3" pycompile_module="namedlist" - short_desc="${short_desc/Python2/Python3.4}" + replaces="python3.4-namedlist>=0" + short_desc="${short_desc/Python2/Python3}" pkg_install() { - vmove usr/lib/python3.4 + vmove usr/lib/python3* } } +python3.4-namedlist_package() { + noarch=yes + build_style=meta + short_desc="${short_desc/Python2/Python3.4} (transitional dummy package)" + depends="python3-namedlist>=${version}_${revision}" +} diff --git a/srcpkgs/python3-namedlist b/srcpkgs/python3-namedlist new file mode 120000 index 00000000000..df1c7622ef2 --- /dev/null +++ b/srcpkgs/python3-namedlist @@ -0,0 +1 @@ +python-namedlist \ No newline at end of file