diff --git a/srcpkgs/python-soupsieve/template b/srcpkgs/python-soupsieve/template deleted file mode 100644 index 8fdef36b1a2..00000000000 --- a/srcpkgs/python-soupsieve/template +++ /dev/null @@ -1,40 +0,0 @@ -# Template file for 'python-soupsieve' -pkgname=python-soupsieve -version=1.9.5 -revision=3 -wrksrc="soupsieve-${version}" -build_style=python-module -hostmakedepends="python-setuptools python3-setuptools" -checkdepends="python-pytest python-lxml python-html5lib python-BeautifulSoup4 - python-backports.functools_lru_cache python3-pytest python3-lxml - python3-html5lib python3-BeautifulSoup4" -short_desc="CSS4 selector implementation for Python2 Beautiful Soup" -maintainer="Aluísio Augusto Silva Gonçalves " -license="MIT" -homepage="https://facelessuser.github.io/soupsieve/" -distfiles="${PYPI_SITE}/s/soupsieve/soupsieve-${version}.tar.gz" -checksum=e2c1c5dee4a1c36bcb790e0fabd5492d874b8ebd4617622c4f6a731701060dda - -do_check() { - PY2PATH="${PWD}/build-2.7/lib" - PY3PATH="${PWD}/build-${py3_ver}/lib" - - PYTHONPATH="${PY2PATH}" python2 -m pytest - PYTHONPATH="${PY3PATH}" python3 -m pytest -} - -post_install() { - vlicense LICENSE.md - - # Remove tests outside of the namespace - rm -rf ${DESTDIR}/${py3_sitelib}/tests - rm -rf ${DESTDIR}/${py2_sitelib}/tests -} - -python3-soupsieve_package() { - short_desc="${short_desc/Python2/Python3}" - pkg_install() { - vmove "usr/lib/python3*" - vlicense LICENSE.md - } -} diff --git a/srcpkgs/python3-soupsieve b/srcpkgs/python3-soupsieve deleted file mode 120000 index 7dd14aa4dc9..00000000000 --- a/srcpkgs/python3-soupsieve +++ /dev/null @@ -1 +0,0 @@ -python-soupsieve \ No newline at end of file diff --git a/srcpkgs/python3-soupsieve/template b/srcpkgs/python3-soupsieve/template new file mode 100644 index 00000000000..568fe455668 --- /dev/null +++ b/srcpkgs/python3-soupsieve/template @@ -0,0 +1,25 @@ +# Template file for 'python3-soupsieve' +pkgname=python3-soupsieve +version=1.9.5 +revision=3 +wrksrc="soupsieve-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools" +checkdepends="python3-pytest python3-lxml python3-html5lib python3-BeautifulSoup4" +short_desc="CSS4 selector implementation for Python3 Beautiful Soup" +maintainer="Aluísio Augusto Silva Gonçalves " +license="MIT" +homepage="https://facelessuser.github.io/soupsieve/" +distfiles="${PYPI_SITE}/s/soupsieve/soupsieve-${version}.tar.gz" +checksum=e2c1c5dee4a1c36bcb790e0fabd5492d874b8ebd4617622c4f6a731701060dda + +do_check() { + PYTHONPATH="${PWD}/build/lib" python3 -m pytest +} + +post_install() { + vlicense LICENSE.md + + # Remove tests outside of the namespace + rm -rf ${DESTDIR}/${py3_sitelib}/tests +}