diff --git a/srcpkgs/python-isodate/template b/srcpkgs/python-isodate/template index b073c6dae9e..5f2117b711b 100644 --- a/srcpkgs/python-isodate/template +++ b/srcpkgs/python-isodate/template @@ -1,17 +1,29 @@ # Template file for 'python-isodate' pkgname=python-isodate -version=0.4.8 -revision=2 +version=0.5.0 +revision=1 +noarch=yes wrksrc="isodate-${version}" build_style=python-module -hostmakedepends="python-devel" -makedepends="python-devel" -noarch="yes" +python_versions="2.7 3.4" +hostmakedepends="python-setuptools python3.4-setuptools" +makedepends="python-devel python3.4-devel" +depends="python" pycompile_module="isodate" -depends="python>=2.7<3.0" -short_desc="An ISO 8601 date/time/duration parser and formater" +short_desc="ISO 8601 date/time/duration parser and formatter (Python2)" maintainer="Juan RP " +homepage="https://pypi.python.org/pypi/isodate/" license="BSD" -homepage="http://pypi.python.org/pypi/isodate" -distfiles="http://pypi.python.org/packages/source/i/isodate/isodate-${version}.tar.gz" -checksum=45b84949e4d1ef4c9e55e4516bf7c33707e8007b80bf62fc887d3c7320ab400b +distfiles="https://pypi.python.org/packages/source/i/isodate/isodate-${version}.tar.gz" +checksum=f3e436a9c321882942a6c62e9d8ea49787b4c0ea7f7bb3cbd047bcf76bd0dfbe + +python3.4-isodate_package() { + noarch=yes + depends="python3.4" + pycompile_version="3.4" + pycompile_module="isodate" + short_desc="${short_desc/Python2/Python3.4}" + pkg_install() { + vmove usr/lib/python3.4 + } +} diff --git a/srcpkgs/python3.4-isodate b/srcpkgs/python3.4-isodate new file mode 120000 index 00000000000..e821ac8eb64 --- /dev/null +++ b/srcpkgs/python3.4-isodate @@ -0,0 +1 @@ +python-isodate \ No newline at end of file