diff --git a/srcpkgs/python-lxml/template b/srcpkgs/python-lxml/template index 395fbd31f9..d3f79c03f5 100644 --- a/srcpkgs/python-lxml/template +++ b/srcpkgs/python-lxml/template @@ -1,12 +1,11 @@ # Template file for 'python-lxml' pkgname=python-lxml version=3.6.4 -revision=1 +revision=2 wrksrc="lxml-${version}" build_style=python-module -python_versions="2.7 3.4" -hostmakedepends="python-setuptools python3.4-setuptools libxslt-devel" -makedepends="python-devel python3.4-devel libxslt-devel" +hostmakedepends="python-setuptools python3-setuptools libxslt-devel" +makedepends="python-devel python3-devel libxslt-devel" pycompile_module="lxml" short_desc="Python2 binding for the libxml2 and libxslt libraries" maintainer="Juan RP " @@ -15,11 +14,16 @@ license="BSD, ElementTree, GPL-2, ZPL" distfiles="${PYPI_SITE}/l/lxml/lxml-${version}.tar.gz" checksum=61d5d3e00b5821e6cda099b3b4ccfea4527bf7c595e0fb3a7a760490cedd6172 -python3.4-lxml_package() { - pycompile_version="3.4" +python3-lxml_package() { + replaces="python3.4-lxml>=0" pycompile_module="lxml" - short_desc="${short_desc/Python2/Python3.4}" + short_desc="${short_desc/Python2/Python3}" pkg_install() { - vmove usr/lib/python3.4 + vmove usr/lib/python3* } } +python3.4-lxml_package() { + build_style=meta + short_desc="${short_desc/Python2/Python3.4} (transitional dummy package)" + depends="python3-lxml>=${version}_${revision}" +} diff --git a/srcpkgs/python3-lxml b/srcpkgs/python3-lxml new file mode 120000 index 0000000000..e69b7beb13 --- /dev/null +++ b/srcpkgs/python3-lxml @@ -0,0 +1 @@ +python-lxml \ No newline at end of file