summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xpython-pypi/six/BUILD7
-rwxr-xr-xpython-pypi/six/DEPENDS3
-rw-r--r--python-pypi/six/HISTORY3
-rwxr-xr-xpython-pypi/six/INSTALL6
4 files changed, 18 insertions, 1 deletions
diff --git a/python-pypi/six/BUILD b/python-pypi/six/BUILD
new file mode 100755
index 0000000000..e9842bdd54
--- /dev/null
+++ b/python-pypi/six/BUILD
@@ -0,0 +1,7 @@
+# both versions of python may be present
+if is_depends_enabled $SPELL python;then
+ default_build_python
+fi &&
+if is_depends_enabled $SPELL python3;then
+ default_build_python3
+fi
diff --git a/python-pypi/six/DEPENDS b/python-pypi/six/DEPENDS
index 48d8ddc44d..dbf35edafc 100755
--- a/python-pypi/six/DEPENDS
+++ b/python-pypi/six/DEPENDS
@@ -1 +1,2 @@
-. $SECTION_DIRECTORY/PY_DEPENDS
+optional_depends python3 '' '' 'support Python v3' &&
+optional_depends python '' '' 'support Python v2'
diff --git a/python-pypi/six/HISTORY b/python-pypi/six/HISTORY
index 5142c85ff6..9fe1432dc9 100644
--- a/python-pypi/six/HISTORY
+++ b/python-pypi/six/HISTORY
@@ -1,3 +1,6 @@
+2016-09-20 Florian Franzmann <siflfran@hawo.stw.uni-erlangen.de>
+ * BUILD, INSTALL, DEPENDS: allow for building both python 2 and 3 versions
+
2015-12-27 Treeve Jelbert <treeve@sourcemage.org>
* DETAILS: version 1.10.0
diff --git a/python-pypi/six/INSTALL b/python-pypi/six/INSTALL
new file mode 100755
index 0000000000..32274b4dad
--- /dev/null
+++ b/python-pypi/six/INSTALL
@@ -0,0 +1,6 @@
+if is_depends_enabled $SPELL python;then
+ default_install_python
+fi &&
+if is_depends_enabled $SPELL python3;then
+ default_install_python3
+fi