summaryrefslogtreecommitdiff
path: root/lang/python23
diff options
context:
space:
mode:
authorjmmv <jmmv>2005-01-30 12:44:39 +0000
committerjmmv <jmmv>2005-01-30 12:44:39 +0000
commitbb759c5439b52a7d4eaff37a605aef2a90da35ef (patch)
tree95988a887fefe421c99733881b7056fc145466ab /lang/python23
parentc816450bae86579c8848170eb5158e4e0d4b8720 (diff)
downloadpkgsrc-bb759c5439b52a7d4eaff37a605aef2a90da35ef.tar.gz
Convert the python packages to use the alternatives system to install a
bin/python wrapper. Bump their PKGREVISION to 1. Also remove the python package. In order to preserve a similar behavior to this one using the new framework, start by installing pkg_alternatives. Then just open its manpage, scroll down to the EXAMPLES section, Applying filters subsection, and follow the (rather short) directions given there.
Diffstat (limited to 'lang/python23')
-rw-r--r--lang/python23/ALTERNATIVES1
-rw-r--r--lang/python23/Makefile6
2 files changed, 5 insertions, 2 deletions
diff --git a/lang/python23/ALTERNATIVES b/lang/python23/ALTERNATIVES
new file mode 100644
index 00000000000..cb4cf330e28
--- /dev/null
+++ b/lang/python23/ALTERNATIVES
@@ -0,0 +1 @@
+bin/python @PREFIX@/bin/python2.3
diff --git a/lang/python23/Makefile b/lang/python23/Makefile
index 81619cc7011..2359bb926eb 100644
--- a/lang/python23/Makefile
+++ b/lang/python23/Makefile
@@ -1,8 +1,10 @@
-# $NetBSD: Makefile,v 1.24 2005/01/24 19:50:43 recht Exp $
+# $NetBSD: Makefile,v 1.25 2005/01/30 12:44:40 jmmv Exp $
#
PKGNAME= python23-2.3.4
-PKGREVISION= 5
+PKGREVISION= 6
+
+CONFLICTS+= python-[0-9]*
#PKG_INSTALLATION_TYPES= overwrite pkgviews