diff --git a/srcpkgs/python-hyperlink/template b/srcpkgs/python-hyperlink/template index fb274123453..933b23f91da 100644 --- a/srcpkgs/python-hyperlink/template +++ b/srcpkgs/python-hyperlink/template @@ -2,31 +2,17 @@ pkgname=python-hyperlink version=21.0.0 revision=3 -build_style=python-module -hostmakedepends="python-setuptools python3-setuptools" +build_style=python2-module +hostmakedepends="python-setuptools" depends="python-idna" -checkdepends="python3-idna python3-pytest" short_desc="Pure-Python implementation of immutable URLs (Python2)" maintainer="Orphaned " license="MIT" homepage="https://github.com/python-hyper/hyperlink" distfiles="${PYPI_SITE}/h/hyperlink/hyperlink-${version}.tar.gz" checksum=427af957daa58bc909471c6c40f74c5450fa123dd093fc53efd2e91d2705a56b - -do_check() { - python3 -m pytest build-${py3_ver} - # python 2 tests fail -} +make_check=no # python2 post_install() { vlicense LICENSE } - -python3-hyperlink_package() { - depends="python3-idna" - short_desc="${short_desc/Python2/Python3}" - pkg_install() { - vmove usr/lib/python3* - vlicense LICENSE - } -} diff --git a/srcpkgs/python3-hyperlink b/srcpkgs/python3-hyperlink deleted file mode 120000 index bd21bced19d..00000000000 --- a/srcpkgs/python3-hyperlink +++ /dev/null @@ -1 +0,0 @@ -python-hyperlink \ No newline at end of file diff --git a/srcpkgs/python3-hyperlink/template b/srcpkgs/python3-hyperlink/template new file mode 100644 index 00000000000..791b24f5844 --- /dev/null +++ b/srcpkgs/python3-hyperlink/template @@ -0,0 +1,18 @@ +# Template file for 'python3-hyperlink' +pkgname=python3-hyperlink +version=21.0.0 +revision=3 +build_style=python3-module +hostmakedepends="python3-setuptools" +depends="python3-idna" +checkdepends="python3-pytest ${depends}" +short_desc="Pure-Python implementation of immutable URLs (Python3)" +maintainer="Orphaned " +license="MIT" +homepage="https://github.com/python-hyper/hyperlink" +distfiles="${PYPI_SITE}/h/hyperlink/hyperlink-${version}.tar.gz" +checksum=427af957daa58bc909471c6c40f74c5450fa123dd093fc53efd2e91d2705a56b + +post_install() { + vlicense LICENSE +}