diff --git a/srcpkgs/python-iso8601/template b/srcpkgs/python-iso8601/template deleted file mode 100644 index c397a2310fb..00000000000 --- a/srcpkgs/python-iso8601/template +++ /dev/null @@ -1,35 +0,0 @@ -# Template file for 'python-iso8601' -pkgname=python-iso8601 -version=0.1.16 -revision=2 -wrksrc="iso8601-${version}" -build_style=python-module -hostmakedepends="python-setuptools python3-setuptools" -depends="python" -checkdepends="python-pytest python3-pytest" -short_desc="ISO8601 formatted dated parser for Python2" -maintainer="Andrew J. Hesford " -license="MIT" -homepage="https://github.com/micktwomey/pyiso8601" -distfiles="${PYPI_SITE}/i/iso8601/iso8601-${version}.tar.gz" -checksum=36532f77cc800594e8f16641edae7f1baf7932f05d8e508545b95fc53c6dc85b -replaces="python-iso-8601>=0" - -do_check() { - python2 -m pytest iso8601 - python3 -m pytest iso8601 -} - -post_install() { - vlicense LICENSE -} - -python3-iso8601_package() { - short_desc="${short_desc/Python2/Python3}" - depends="python3" - replaces="python3-iso-8601>=0" - pkg_install() { - vlicense LICENSE - vmove ${py3_lib} - } -} diff --git a/srcpkgs/python3-iso8601 b/srcpkgs/python3-iso8601 deleted file mode 120000 index 23cdd05bb54..00000000000 --- a/srcpkgs/python3-iso8601 +++ /dev/null @@ -1 +0,0 @@ -python-iso8601 \ No newline at end of file diff --git a/srcpkgs/python3-iso8601/template b/srcpkgs/python3-iso8601/template new file mode 100644 index 00000000000..55d696ac4e1 --- /dev/null +++ b/srcpkgs/python3-iso8601/template @@ -0,0 +1,20 @@ +# Template file for 'python3-iso8601' +pkgname=python3-iso8601 +version=1.0.0 +revision=1 +wrksrc="iso8601-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools" +depends="python3" +checkdepends="python3-pytest python3-hypothesis python3-pytz" +short_desc="ISO8601 formatted dated parser for Python3" +maintainer="Andrew J. Hesford " +license="MIT" +homepage="https://github.com/micktwomey/pyiso8601" +distfiles="${PYPI_SITE}/i/iso8601/iso8601-${version}.tar.gz" +checksum=79ec9749f8bf35ffae77f835e80e96d2f95affa0f79d3d7b25c0fa7e06207a8b +replaces="python3-iso-8601>=0" + +post_install() { + vlicense LICENSE +} diff --git a/srcpkgs/python-iso8601/update b/srcpkgs/python3-iso8601/update similarity index 100% rename from srcpkgs/python-iso8601/update rename to srcpkgs/python3-iso8601/update