aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorperky <perky@FreeBSD.org>2006-10-09 23:51:28 +0800
committerperky <perky@FreeBSD.org>2006-10-09 23:51:28 +0800
commite42f9bb31dc814d2b39e90e5379b275aa4e8d29a (patch)
treeeb3bdcd9a47a481c6ee3aa0d6c4df8049afac534
parent3baac0f09c4a3d576405621c93e58f7baf4518aa (diff)
downloadfreebsd-ports-gnome-e42f9bb31dc814d2b39e90e5379b275aa4e8d29a.tar.gz
freebsd-ports-gnome-e42f9bb31dc814d2b39e90e5379b275aa4e8d29a.tar.zst
freebsd-ports-gnome-e42f9bb31dc814d2b39e90e5379b275aa4e8d29a.zip
- Restrict a dependency to the real interpreter to _RUN only. This
allows portupgrade to upgrade lang/python from 2.4 flawlessly. - So remove obsolete instruction.
-rw-r--r--UPDATING3
-rw-r--r--lang/python/Makefile2
-rw-r--r--lang/python25/Makefile7
-rw-r--r--lang/python26/Makefile7
-rw-r--r--lang/python27/Makefile7
-rw-r--r--lang/python30/Makefile7
-rw-r--r--lang/python31/Makefile7
-rw-r--r--lang/python32/Makefile7
8 files changed, 1 insertions, 46 deletions
diff --git a/UPDATING b/UPDATING
index fa229600a9e7..ea3213551a43 100644
--- a/UPDATING
+++ b/UPDATING
@@ -10,9 +10,6 @@ upgrades.
AFFECTS: users of any ports using Python
AUTHOR: perky@FreeBSD.org
- When you upgrade lang/python, you need to use this command:
- portupgrade -o lang/python25 python-2.4.x (your current version)
-
After upgrading of lang/python, you must rebuild all its consumer
ports to make them get ready to Python 2.5.
diff --git a/lang/python/Makefile b/lang/python/Makefile
index 118bdf78ead2..853ba7705af1 100644
--- a/lang/python/Makefile
+++ b/lang/python/Makefile
@@ -15,7 +15,7 @@ EXTRACT_ONLY= # empty
MAINTAINER= python@FreeBSD.org
COMMENT= The "meta-port" for the stable version of Python interpreter
-USE_PYTHON= yes
+USE_PYTHON_RUN= yes
PYTHON_VERSION= python2.5
NO_BUILD= yes
diff --git a/lang/python25/Makefile b/lang/python25/Makefile
index 706e204e5f2d..8831de95431e 100644
--- a/lang/python25/Makefile
+++ b/lang/python25/Makefile
@@ -179,13 +179,6 @@ pre-su-install:
.endfor
pre-install:
- @if [ -f ${PREFIX}/bin/python ]; then \
- ${ECHO_CMD} "=============================="; \
- ${ECHO_CMD} "If you're upgrading it using portupgrade, try portupgrade -o lang/python25 python-2.4.x"; \
- ${ECHO_CMD} "=============================="; \
- ${FALSE}; \
- fi
-
${EGREP} -v ${PLIST_EXCLUDE} ${PLIST_TEMPLATE} | \
${AWK} '{ print $$0; } \
/LIBDIR.*\.py$$/ && !/\/bad/ { print $$0 "o"; print $$0 "c"; }' > ${PLIST}
diff --git a/lang/python26/Makefile b/lang/python26/Makefile
index 706e204e5f2d..8831de95431e 100644
--- a/lang/python26/Makefile
+++ b/lang/python26/Makefile
@@ -179,13 +179,6 @@ pre-su-install:
.endfor
pre-install:
- @if [ -f ${PREFIX}/bin/python ]; then \
- ${ECHO_CMD} "=============================="; \
- ${ECHO_CMD} "If you're upgrading it using portupgrade, try portupgrade -o lang/python25 python-2.4.x"; \
- ${ECHO_CMD} "=============================="; \
- ${FALSE}; \
- fi
-
${EGREP} -v ${PLIST_EXCLUDE} ${PLIST_TEMPLATE} | \
${AWK} '{ print $$0; } \
/LIBDIR.*\.py$$/ && !/\/bad/ { print $$0 "o"; print $$0 "c"; }' > ${PLIST}
diff --git a/lang/python27/Makefile b/lang/python27/Makefile
index 706e204e5f2d..8831de95431e 100644
--- a/lang/python27/Makefile
+++ b/lang/python27/Makefile
@@ -179,13 +179,6 @@ pre-su-install:
.endfor
pre-install:
- @if [ -f ${PREFIX}/bin/python ]; then \
- ${ECHO_CMD} "=============================="; \
- ${ECHO_CMD} "If you're upgrading it using portupgrade, try portupgrade -o lang/python25 python-2.4.x"; \
- ${ECHO_CMD} "=============================="; \
- ${FALSE}; \
- fi
-
${EGREP} -v ${PLIST_EXCLUDE} ${PLIST_TEMPLATE} | \
${AWK} '{ print $$0; } \
/LIBDIR.*\.py$$/ && !/\/bad/ { print $$0 "o"; print $$0 "c"; }' > ${PLIST}
diff --git a/lang/python30/Makefile b/lang/python30/Makefile
index 706e204e5f2d..8831de95431e 100644
--- a/lang/python30/Makefile
+++ b/lang/python30/Makefile
@@ -179,13 +179,6 @@ pre-su-install:
.endfor
pre-install:
- @if [ -f ${PREFIX}/bin/python ]; then \
- ${ECHO_CMD} "=============================="; \
- ${ECHO_CMD} "If you're upgrading it using portupgrade, try portupgrade -o lang/python25 python-2.4.x"; \
- ${ECHO_CMD} "=============================="; \
- ${FALSE}; \
- fi
-
${EGREP} -v ${PLIST_EXCLUDE} ${PLIST_TEMPLATE} | \
${AWK} '{ print $$0; } \
/LIBDIR.*\.py$$/ && !/\/bad/ { print $$0 "o"; print $$0 "c"; }' > ${PLIST}
diff --git a/lang/python31/Makefile b/lang/python31/Makefile
index 706e204e5f2d..8831de95431e 100644
--- a/lang/python31/Makefile
+++ b/lang/python31/Makefile
@@ -179,13 +179,6 @@ pre-su-install:
.endfor
pre-install:
- @if [ -f ${PREFIX}/bin/python ]; then \
- ${ECHO_CMD} "=============================="; \
- ${ECHO_CMD} "If you're upgrading it using portupgrade, try portupgrade -o lang/python25 python-2.4.x"; \
- ${ECHO_CMD} "=============================="; \
- ${FALSE}; \
- fi
-
${EGREP} -v ${PLIST_EXCLUDE} ${PLIST_TEMPLATE} | \
${AWK} '{ print $$0; } \
/LIBDIR.*\.py$$/ && !/\/bad/ { print $$0 "o"; print $$0 "c"; }' > ${PLIST}
diff --git a/lang/python32/Makefile b/lang/python32/Makefile
index 706e204e5f2d..8831de95431e 100644
--- a/lang/python32/Makefile
+++ b/lang/python32/Makefile
@@ -179,13 +179,6 @@ pre-su-install:
.endfor
pre-install:
- @if [ -f ${PREFIX}/bin/python ]; then \
- ${ECHO_CMD} "=============================="; \
- ${ECHO_CMD} "If you're upgrading it using portupgrade, try portupgrade -o lang/python25 python-2.4.x"; \
- ${ECHO_CMD} "=============================="; \
- ${FALSE}; \
- fi
-
${EGREP} -v ${PLIST_EXCLUDE} ${PLIST_TEMPLATE} | \
${AWK} '{ print $$0; } \
/LIBDIR.*\.py$$/ && !/\/bad/ { print $$0 "o"; print $$0 "c"; }' > ${PLIST}