summaryrefslogtreecommitdiff
path: root/python/lxml/lxml.SlackBuild
diff options
context:
space:
mode:
authorLarry Hajali <larryhaja@gmail.com>2014-09-14 07:59:15 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-09-14 07:59:15 +0700
commit1edbc8b082cb52f768d7710378c0f92831f8e784 (patch)
tree67cc2fb19cfc7d7cadf200115d7700933336996c /python/lxml/lxml.SlackBuild
parente1b353b7f92ee042a8ea407106635bb00f187f68 (diff)
downloadslackbuilds-1edbc8b082cb52f768d7710378c0f92831f8e784.tar.gz
python/lxml: Updated for version 3.4.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python/lxml/lxml.SlackBuild')
-rw-r--r--python/lxml/lxml.SlackBuild7
1 files changed, 6 insertions, 1 deletions
diff --git a/python/lxml/lxml.SlackBuild b/python/lxml/lxml.SlackBuild
index e06a191930..a59729373e 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