[Lunar-commits] <moonbase-other> pygments: Adjusting for Python-3

Dennis Veatch dennisveatch at bellsouth.net
Sat Nov 15 12:28:35 CET 2014


commit 7e943f9112ac3018e882168454530dec9df4e0aa
Author: Dennis Veatch <dennisveatch at bellsouth.net>
Date: Sat, 15 Nov 2014 06:27:59 -0500
URL: https://github.com/lunar-linux/moonbase-other/commit/7e943f9112ac3018e882168454530dec9df4e0aa

pygments: Adjusting for Python-3
---
  python/pygments/BUILD   | +10/-3    
  python/pygments/DEPENDS | +2/-0     
  2 files changed, 12 insertions(+), 3 deletions(-)

--- a/python/pygments/BUILD
+++ b/python/pygments/BUILD
@@ -1,3 +1,10 @@
-python setup.py config &&
-prepare_install &&
-python setup.py install --root=/
+  python setup.py config &&
+  prepare_install &&
+  python setup.py install --root=/ &&
+
+  if in_depends $MODULE Python-3 ; then
+   devoke_installwatch &&
+   prepare_install &&
+   python3 setup.py install --root=/
+  fi
+
--- a/python/pygments/DEPENDS
+++ b/python/pygments/DEPENDS
@@ -1 +1,3 @@
 depends setuptools
+
+optional_depends "Python-3" "" "" "For Python-3 support" n




More information about the Lunar-commits mailing list