diff --git a/srcpkgs/python-six/template b/srcpkgs/python-six/template index 9c02f224a86..dbf1e2280b1 100644 --- a/srcpkgs/python-six/template +++ b/srcpkgs/python-six/template @@ -2,10 +2,9 @@ pkgname=python-six version=1.16.0 revision=3 -build_style=python-module -hostmakedepends="python-setuptools python3-setuptools" +build_style=python2-module +hostmakedepends="python-setuptools" depends="python" -checkdepends="python3-pytest" short_desc="Python 2 and 3 compatibility utilities (Python2)" maintainer="Orphaned " license="MIT" @@ -17,16 +16,3 @@ checksum=1e61c37477a1626458e36f7b1d82aa5c9b094fa4802892072e49de9c60c4c926 post_install() { vlicense LICENSE } - -do_check() { - python3 -m pytest -} - -python3-six_package() { - depends="python3" - short_desc="${short_desc/Python2/Python3}" - pkg_install() { - vmove usr/lib/python3* - vlicense LICENSE - } -} diff --git a/srcpkgs/python3-six b/srcpkgs/python3-six deleted file mode 120000 index 70747adc77e..00000000000 --- a/srcpkgs/python3-six +++ /dev/null @@ -1 +0,0 @@ -python-six \ No newline at end of file diff --git a/srcpkgs/python3-six/template b/srcpkgs/python3-six/template new file mode 100644 index 00000000000..2a9f67cbf51 --- /dev/null +++ b/srcpkgs/python3-six/template @@ -0,0 +1,19 @@ +# Template file for 'python3-six' +pkgname=python3-six +version=1.16.0 +revision=3 +build_style=python3-module +hostmakedepends="python3-setuptools" +depends="python3" +checkdepends="python3-pytest" +short_desc="Python 2 and 3 compatibility utilities (Python3)" +maintainer="Orphaned " +license="MIT" +homepage="https://github.com/benjaminp/six" +changelog="https://raw.githubusercontent.com/benjaminp/six/master/CHANGES" +distfiles="${PYPI_SITE}/s/six/six-${version}.tar.gz" +checksum=1e61c37477a1626458e36f7b1d82aa5c9b094fa4802892072e49de9c60c4c926 + +post_install() { + vlicense LICENSE +}