[Lunar-commits] <moonbase-other> lxml: Bump to 3.4.0 and adjusting to deal with Python3

Dennis Veatch dennisveatch at bellsouth.net
Thu Oct 9 19:08:28 CEST 2014


commit 43e72aa8bb32bcc3cfb3fbae259b0c429e76c866
Author: Dennis Veatch <dennisveatch at bellsouth.net>
Date: Thu, 09 Oct 2014 13:08:03 -0400
URL: https://github.com/lunar-linux/moonbase-other/commit/43e72aa8bb32bcc3cfb3fbae259b0c429e76c866

lxml: Bump to 3.4.0 and adjusting to deal with Python3
---
  python/lxml/BUILD   | +6/-4     
  python/lxml/DEPENDS | +2/-0     
  python/lxml/DETAILS | +3/-3     
  3 files changed, 11 insertions(+), 7 deletions(-)

--- a/python/lxml/BUILD
+++ b/python/lxml/BUILD
@@ -1,8 +1,10 @@
-(
 
   python setup.py build &&
   prepare_install &&
-  python setup.py install --root=/
-
-) > $C_FIFO 2>&1
+  python setup.py install --optimize=1 &&
 
+  if in_depends $MODULE Python-3 ; then
+      python3 setup.py build    &&
+      prepare_install          &&
+      python3 setup.py install --optimize=1
+  fi
--- a/python/lxml/DEPENDS
+++ b/python/lxml/DEPENDS
@@ -1,2 +1,4 @@
 depends  Python
 depends  libxslt
+
+optional_depends Python-3 "" "" "For Python-3 support"
--- a/python/lxml/DETAILS
+++ b/python/lxml/DETAILS
@@ -1,11 +1,11 @@
           MODULE=lxml
-         VERSION=3.3.3
+         VERSION=3.4.0
           SOURCE=$MODULE-$VERSION.tar.gz
       SOURCE_URL=http://pypi.python.org/packages/source/l/lxml
-      SOURCE_VFY=sha1:e701a4d8d7840fdf04944004dc0f38deff65214b
+      SOURCE_VFY=sha1:df4ee0805fa85e3d019610ef1b9d31a024085fe1
         WEB_SITE=http://lxml.de
          ENTERED=20021223
-         UPDATED=20140323
+         UPDATED=20141009
            SHORT="Python wrappers for libxml2 and libxslt"
 
 cat << EOF




More information about the Lunar-commits mailing list