[Lunar-commits] <moonbase-other> PyYAML: Version bump and setting it up to build the Python-3 part (can co-exist).
Dennis Veatch
dennisveatch at bellsouth.net
Thu Oct 9 18:43:24 CEST 2014
commit 73762773a3c2c908299874fe8a8fa9f148e5a22c
Author: Dennis Veatch <dennisveatch at bellsouth.net>
Date: Thu, 09 Oct 2014 12:42:50 -0400
URL: https://github.com/lunar-linux/moonbase-other/commit/73762773a3c2c908299874fe8a8fa9f148e5a22c
PyYAML: Version bump and setting it up to build the Python-3 part (can co-exist).
---
python/PyYAML/BUILD | +11/-3
python/PyYAML/DEPENDS | +2/-0
python/PyYAML/DETAILS | +3/-3
3 files changed, 16 insertions(+), 6 deletions(-)
--- a/python/PyYAML/BUILD
+++ b/python/PyYAML/BUILD
@@ -1,3 +1,11 @@
-python setup.py build &&
-prepare_install &&
-python setup.py install --root=/
+
+ python setup.py build &&
+ prepare_install &&
+ python setup.py install --optimize=1 &&
+
+# Now for the Python-3 part
+ if in_depends $MODULE Python-3 ; then
+ python setup.py build &&
+ prepare_install &&
+ python3 setup.py install --optimize=1
+ fi
--- a/python/PyYAML/DEPENDS
+++ b/python/PyYAML/DEPENDS
@@ -1,2 +1,4 @@
depends Python
depends setuptools
+
+optional_depends Python-3 "" "" "For Python 3 support"
--- a/python/PyYAML/DETAILS
+++ b/python/PyYAML/DETAILS
@@ -1,11 +1,11 @@
MODULE=PyYAML
- VERSION=3.10
+ VERSION=3.11
SOURCE=$MODULE-$VERSION.tar.gz
SOURCE_URL=http://pypi.python.org/packages/source/P/PyYAML
- SOURCE_VFY=sha1:476dcfbcc6f4ebf3c06186229e8e2bd7d7b20e73
+ SOURCE_VFY=sha1:1a2d5df8b31124573efb9598ec6d54767f3c4cd4
WEB_SITE=http://pypi.python.org/pypi/PyYAML
ENTERED=20130415
- UPDATED=20130415
+ UPDATED=20141009
SHORT="YAML parser and emitter for Python"
cat << EOF
More information about the Lunar-commits
mailing list