summaryrefslogtreecommitdiffstats
path: root/python-pypi
diff options
context:
space:
mode:
authorEric Sandall2019-08-09 20:04:33 +0000
committerEric Sandall2019-08-14 16:38:41 +0000
commitdf1847af0cab9aa11a9372c2c548c913c5a2759a (patch)
treeb812a5f5c95d2755aa8432c98d2cb597a6ed3bae /python-pypi
parenteb1a2440a00cf5ae56beee63b0b31f4e91edb84c (diff)
mako: Allow sub depend PYTHON3 to override Python (v2) dependency.
May want to change python-pypi/FUNCTIONS to do similar (reverse if/else logic)? There can be only one. If mako was built against python (v2) and then someone (mesa) requests it to be built against python3, sure the dependencies will be updated, but python-pypi/FUNCTIONS will only build/install against the python (v2) libraries.
Diffstat (limited to 'python-pypi')
-rwxr-xr-xpython-pypi/mako/BUILD7
-rw-r--r--python-pypi/mako/HISTORY5
-rwxr-xr-xpython-pypi/mako/INSTALL7
3 files changed, 19 insertions, 0 deletions
diff --git a/python-pypi/mako/BUILD b/python-pypi/mako/BUILD
new file mode 100755
index 0000000000..102c8d3b77
--- /dev/null
+++ b/python-pypi/mako/BUILD
@@ -0,0 +1,7 @@
+# If Python3 build is specifically requested (e.g. mesa), build that instead
+# Can only build/install one python-version bound mako
+if is_depends_enabled $SPELL python3; then
+ default_build_python3
+else
+ default_build_python
+fi
diff --git a/python-pypi/mako/HISTORY b/python-pypi/mako/HISTORY
index de3b6681ed..58b2ab968b 100644
--- a/python-pypi/mako/HISTORY
+++ b/python-pypi/mako/HISTORY
@@ -1,3 +1,8 @@
+2019-08-09 Eric Sandall <sandalle@sourcemage.org>
+ * BUILD,INSTALL: Allow sub depend PYTHON3 to override Python install.
+ May want to change python-pypi/FUNCTIONS to do similar (reverse if/else logic)?
+ There can be only one.
+
2019-08-04 Florian Franzmann <siflfran@hawo.stw.uni-erlangen.de>
* DETAILS: version 1.1.0
diff --git a/python-pypi/mako/INSTALL b/python-pypi/mako/INSTALL
new file mode 100755
index 0000000000..bdd1f08168
--- /dev/null
+++ b/python-pypi/mako/INSTALL
@@ -0,0 +1,7 @@
+# If Python3 build is specifically requested (e.g. mesa), build that instead
+# Can only build/install one python-version bound mako
+if is_depends_enabled $SPELL python3; then
+ default_install_python3
+else
+ default_install_python
+fi