From 1edbc8b082cb52f768d7710378c0f92831f8e784 Mon Sep 17 00:00:00 2001 From: Larry Hajali Date: Sun, 14 Sep 2014 07:59:15 +0700 Subject: python/lxml: Updated for version 3.4.0. Signed-off-by: Willy Sudiarto Raharjo --- python/lxml/README | 4 ++-- python/lxml/lxml.SlackBuild | 7 ++++++- python/lxml/lxml.info | 6 +++--- 3 files changed, 11 insertions(+), 6 deletions(-) (limited to 'python/lxml') diff --git a/python/lxml/README b/python/lxml/README index 03c9bcbdbc9f..61afd1f60f49 100644 --- a/python/lxml/README +++ b/python/lxml/README @@ -2,5 +2,5 @@ lxml is a Pythonic binding for the libxml2 and libxslt libraries. It is unique in that it combines the speed and feature completeness of these libraries with the simplicity of a native Python API. -Cython and pysetuptools are optional build dependencies. cssselect -and html5lib are optional runtime dependencies. +Cython, python3 and pysetuptools are optional build dependencies. +cssselect and html5lib are optional runtime dependencies. diff --git a/python/lxml/lxml.SlackBuild b/python/lxml/lxml.SlackBuild index e06a19193054..a59729373e5b 100644 --- a/python/lxml/lxml.SlackBuild +++ b/python/lxml/lxml.SlackBuild @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=lxml -VERSION=${VERSION:-3.3.6} +VERSION=${VERSION:-3.4.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -68,6 +68,11 @@ find -L . \ python setup.py build --with-unicode-strings python setup.py install --skip-build --root=$PKG +if $(python3 -c 'import os' 2>/dev/null); then + python3 setup.py build --with-unicode-strings + python3 setup.py install --skip-build --root=$PKG +fi + find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true diff --git a/python/lxml/lxml.info b/python/lxml/lxml.info index b5e8b6c81c74..8bb868f63539 100644 --- a/python/lxml/lxml.info +++ b/python/lxml/lxml.info @@ -1,8 +1,8 @@ PRGNAM="lxml" -VERSION="3.3.6" +VERSION="3.4.0" HOMEPAGE="http://lxml.de/" -DOWNLOAD="http://pypi.python.org/packages/source/l/lxml/lxml-3.3.6.tar.gz" -MD5SUM="a804b36864c483fe7abdd7f493a0c379" +DOWNLOAD="http://pypi.python.org/packages/source/l/lxml/lxml-3.4.0.tar.gz" +MD5SUM="bc90cc4e4ee04e1f8290ae0f70e34eea" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="BeautifulSoup" -- cgit v1.2.3