summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Franzmann2016-09-20 19:32:58 +0200
committerFlorian Franzmann2016-09-21 16:54:15 +0200
commit98e8317a7bdaf526739de92b97f3fa05b37b0b55 (patch)
tree27017fb504f9468e8373479c92e0c96fd437db4f
parentd9ceaf57076175217d1a1f1c677846fd02e4e499 (diff)
python-pypi/six: allow python 2 and 3
-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