diff --git a/srcpkgs/python-natsort/template b/srcpkgs/python-natsort/template deleted file mode 100644 index 7101e297aad..00000000000 --- a/srcpkgs/python-natsort/template +++ /dev/null @@ -1,39 +0,0 @@ -# Template file for 'python-natsort' -pkgname=python-natsort -version=6.0.0 -revision=2 -archs=noarch -wrksrc="natsort-${version}" -build_style=python-module -pycompile_module="natsort" -hostmakedepends="python-setuptools python3-setuptools" -depends="python-setuptools" -checkdepends="python3-pytest-mock python3-hypothesis" -short_desc="Simple yet flexible natural sorting in Python2" -maintainer="Michal Koutenský " -license="MIT" -homepage="https://github.com/SethMMorton/natsort" -distfiles="${PYPI_SITE}/n/natsort/natsort-${version}.tar.gz" -checksum=ff3effb5618232866de8d26e5af4081a4daa9bb0dfed49ac65170e28e45f2776 -alternatives="natsort:natsort:/usr/bin/natsort2" - -do_check() { - python3 -m pytest -} - -post_install() { - vlicense LICENSE -} - -python3-natsort_package() { - archs=noarch - pycompile_module="natsort" - depends="python3-setuptools" - short_desc="${short_desc/Python2/Python3}" - alternatives="natsort:natsort:/usr/bin/natsort3" - pkg_install() { - vmove usr/bin/*3 - vmove usr/lib/python3* - vlicense LICENSE - } -} diff --git a/srcpkgs/python3-natsort b/srcpkgs/python3-natsort deleted file mode 120000 index 58b9239919e..00000000000 --- a/srcpkgs/python3-natsort +++ /dev/null @@ -1 +0,0 @@ -python-natsort \ No newline at end of file diff --git a/srcpkgs/python3-natsort/template b/srcpkgs/python3-natsort/template new file mode 100644 index 00000000000..d86211907f5 --- /dev/null +++ b/srcpkgs/python3-natsort/template @@ -0,0 +1,24 @@ +# Template file for 'python3-natsort' +pkgname=python3-natsort +version=6.0.0 +revision=3 +wrksrc="natsort-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools" +depends="python3-setuptools" +checkdepends="python3-pytest-mock python3-hypothesis" +short_desc="Simple yet flexible natural sorting in Python3" +maintainer="Michal Koutenský " +license="MIT" +homepage="https://github.com/SethMMorton/natsort" +distfiles="${PYPI_SITE}/n/natsort/natsort-${version}.tar.gz" +checksum=ff3effb5618232866de8d26e5af4081a4daa9bb0dfed49ac65170e28e45f2776 +conflicts="python-natsort>=0" + +do_check() { + python3 -m pytest +} + +post_install() { + vlicense LICENSE +}