From 70ecd880631e2bf1931a5807c229263088116d15 Mon Sep 17 00:00:00 2001 From: Alessio Sergi Date: Fri, 4 Jul 2014 10:51:14 +0200 Subject: [PATCH] python-lxml: update to 3.3.5; add python3.4 subpkg --- srcpkgs/python-lxml/template | 29 +++++++++++++++++++++-------- srcpkgs/python3.4-lxml | 1 + 2 files changed, 22 insertions(+), 8 deletions(-) create mode 120000 srcpkgs/python3.4-lxml diff --git a/srcpkgs/python-lxml/template b/srcpkgs/python-lxml/template index c2ce5b27ee..33465ffef7 100644 --- a/srcpkgs/python-lxml/template +++ b/srcpkgs/python-lxml/template @@ -1,15 +1,28 @@ # Template file for 'python-lxml' pkgname=python-lxml -version=2.3.5 -revision=2 +version=3.3.5 +revision=1 wrksrc="lxml-${version}" build_style=python-module -hostmakedepends="python-devel libxslt-devel" -makedepends="python-devel libxslt-devel" +python_versions="2.7 3.4" +hostmakedepends="python-setuptools python3.4-setuptools libxslt-devel" +makedepends="python-devel python3.4-devel libxslt-devel python-cssselect + python3.4-cssselect" +depends="python libxml2 libxslt python-cssselect" pycompile_module="lxml" -short_desc="Python binding for the libxml2 and libxslt libraries" +short_desc="Python2 binding for the libxml2 and libxslt libraries" maintainer="Juan RP " -license="BSD" homepage="http://lxml.de/" -distfiles="http://pypi.python.org/packages/source/l/lxml/lxml-${version}.tar.gz" -checksum=0912d5e83d9e82f2c6ee1267cb5cefb0fffcd9e20b19bbc1e52e2662ef30e064 +license="BSD" +distfiles="https://pypi.python.org/packages/source/l/lxml/lxml-${version}.tar.gz" +checksum=6ad6949dc7eea744a30fba77a968dd5910f545220e58bcc813b9df5c793e318a + +python3.4-lxml_package() { + depends="python3.4 libxml2 libxslt python3.4-cssselect" + pycompile_version="3.4" + pycompile_module="lxml" + short_desc="${short_desc/Python2/Python3.4}" + pkg_install() { + vmove usr/lib/python3.4 + } +} diff --git a/srcpkgs/python3.4-lxml b/srcpkgs/python3.4-lxml new file mode 120000 index 0000000000..e69b7beb13 --- /dev/null +++ b/srcpkgs/python3.4-lxml @@ -0,0 +1 @@ +python-lxml \ No newline at end of file