summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIsmael Luceno2013-03-16 21:09:49 -0300
committerIsmael Luceno2013-03-16 21:09:49 -0300
commit2b21b3dc744a7edd54be956c82c20c22488cb6fa (patch)
tree468f618cb976bb3433926d6360b8a51e79c29262
parentb4ad2f7e367721bba26ffcd32ce8b9d0a14384c9 (diff)
pil: Add TK sub-dependency
-rw-r--r--python-pypi/pil/HISTORY3
-rwxr-xr-xpython-pypi/pil/PRE_SUB_DEPENDS5
-rwxr-xr-xpython-pypi/pil/SUB_DEPENDS5
3 files changed, 13 insertions, 0 deletions
diff --git a/python-pypi/pil/HISTORY b/python-pypi/pil/HISTORY
index 03e012574b..ae374e193a 100644
--- a/python-pypi/pil/HISTORY
+++ b/python-pypi/pil/HISTORY
@@ -1,3 +1,6 @@
+2013-03-16 Ismael Luceno <ismael@sourcemage.org>
+ * PRE_SUB_DEPENDS, SUB_DEPENDS: Added TK
+
2010-11-03 Ladislav Hagara <hgr@vabo.cz>
* DEPENDS: jpeg -> JPEG
diff --git a/python-pypi/pil/PRE_SUB_DEPENDS b/python-pypi/pil/PRE_SUB_DEPENDS
new file mode 100755
index 0000000000..d2024498b1
--- /dev/null
+++ b/python-pypi/pil/PRE_SUB_DEPENDS
@@ -0,0 +1,5 @@
+case $THIS_SUB_DEPENDS in
+ TK) is_depends_enabled $SPELL tk;;
+ *) message "${PROBLEM_COLOR}bogus sub_depends: $SPELL $THIS_SUB_DEPENDS${DEFAULT_COLOR}"
+ return 1;;
+esac
diff --git a/python-pypi/pil/SUB_DEPENDS b/python-pypi/pil/SUB_DEPENDS
new file mode 100755
index 0000000000..0fafa1351c
--- /dev/null
+++ b/python-pypi/pil/SUB_DEPENDS
@@ -0,0 +1,5 @@
+case $THIS_SUB_DEPENDS in
+ TK) depends tk;;
+ *) message "${PROBLEM_COLOR}bogus sub_depends: $SPELL $THIS_SUB_DEPENDS${DEFAULT_COLOR}"
+ return 1;;
+esac