diff --git a/srcpkgs/python-idna/template b/srcpkgs/python-idna/template index 5ecad795c9d..05101f64b88 100644 --- a/srcpkgs/python-idna/template +++ b/srcpkgs/python-idna/template @@ -3,8 +3,8 @@ pkgname=python-idna version=2.10 revision=1 wrksrc="idna-${version}" -build_style=python-module -hostmakedepends="python-setuptools python3-setuptools" +build_style=python2-module +hostmakedepends="python-setuptools" depends="python" short_desc="Internationalized Domain Names in Applications (IDNA) for Python2" maintainer="Alessio Sergi " @@ -17,12 +17,3 @@ checksum=b307872f855b18632ce0c21c5e45be78c0ea7ae4c15c828c20788b26921eb3f6 post_install() { vlicense LICENSE.rst } - -python3-idna_package() { - depends="python3" - short_desc="${short_desc/Python2/Python3}" - pkg_install() { - vmove usr/lib/python3* - vlicense LICENSE.rst - } -} diff --git a/srcpkgs/python3-idna b/srcpkgs/python3-idna deleted file mode 120000 index a7670f27913..00000000000 --- a/srcpkgs/python3-idna +++ /dev/null @@ -1 +0,0 @@ -python-idna \ No newline at end of file diff --git a/srcpkgs/python3-idna/template b/srcpkgs/python3-idna/template new file mode 100644 index 00000000000..29f49107e2f --- /dev/null +++ b/srcpkgs/python3-idna/template @@ -0,0 +1,19 @@ +# Template file for 'python3-idna' +pkgname=python3-idna +version=3.2 +revision=1 +wrksrc="idna-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools" +depends="python3" +short_desc="Internationalized Domain Names in Applications (IDNA) for Python3" +maintainer="Alessio Sergi " +license="BSD-3-Clause" +homepage="https://github.com/kjd/idna" +changelog="https://raw.githubusercontent.com/kjd/idna/master/HISTORY.rst" +distfiles="${PYPI_SITE}/i/idna/idna-${version}.tar.gz" +checksum=467fbad99067910785144ce333826c71fb0e63a425657295239737f7ecd125f3 + +post_install() { + vlicense LICENSE.md +}