diff --git a/srcpkgs/python-isodate/template b/srcpkgs/python-isodate/template index fd3068d2a9..61026de7c9 100644 --- a/srcpkgs/python-isodate/template +++ b/srcpkgs/python-isodate/template @@ -1,12 +1,11 @@ # Template file for 'python-isodate' pkgname=python-isodate version=0.5.4 -revision=1 +revision=2 noarch=yes wrksrc="isodate-${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="isodate" short_desc="ISO 8601 date/time/duration parser and formatter (Python2)" @@ -16,13 +15,19 @@ license="BSD" distfiles="${PYPI_SITE}/i/isodate/isodate-${version}.tar.gz" checksum=42105c41d037246dc1987e36d96f3752ffd5c0c24834dd12e4fdbe1e79544e31 -python3.4-isodate_package() { +python3-isodate_package() { noarch=yes - depends="python3.4" - pycompile_version="3.4" + depends="python3" pycompile_module="isodate" - short_desc="${short_desc/Python2/Python3.4}" + replaces="python3.4-isodate>=0" + short_desc="${short_desc/Python2/Python3}" pkg_install() { - vmove usr/lib/python3.4 + vmove usr/lib/python3* } } +python3.4-isodate_package() { + noarch=yes + build_style=meta + short_desc="${short_desc/Python2/Python3.4} (transitional dummy package)" + depends="python3-isodate>=${version}_${revision}" +} diff --git a/srcpkgs/python3-isodate b/srcpkgs/python3-isodate new file mode 120000 index 0000000000..e821ac8eb6 --- /dev/null +++ b/srcpkgs/python3-isodate @@ -0,0 +1 @@ +python-isodate \ No newline at end of file