summaryrefslogtreecommitdiff
path: root/lang/python15
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/python15
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/python15')
-rw-r--r--lang/python15/ALTERNATIVES1
-rw-r--r--lang/python15/Makefile6
2 files changed, 5 insertions, 2 deletions
diff --git a/lang/python15/ALTERNATIVES b/lang/python15/ALTERNATIVES
new file mode 100644
index 00000000000..c871aa63a66
--- /dev/null
+++ b/lang/python15/ALTERNATIVES
@@ -0,0 +1 @@
+bin/python @PREFIX@/bin/python1.5
diff --git a/lang/python15/Makefile b/lang/python15/Makefile
index 465c5ecbfed..0ce2d22be0e 100644
--- a/lang/python15/Makefile
+++ b/lang/python15/Makefile
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.11 2004/10/04 00:49:26 jschauma Exp $
+# $NetBSD: Makefile,v 1.12 2005/01/30 12:44:39 jmmv Exp $
#
DISTNAME= py152
PKGNAME= python15-1.5.2
-PKGREVISION= 2
+PKGREVISION= 3
CATEGORIES= lang python
MASTER_SITES= http://www.python.org/ftp/python/src/
EXTRACT_SUFX= .tgz
@@ -12,6 +12,8 @@ MAINTAINER= tech-pkg@NetBSD.org
HOMEPAGE= http://www.python.org/
COMMENT= Interpreted, interactive, object-oriented programming language
+CONFLICTS+= python-[0-9]*
+
WRKSRC= ${WRKDIR}/Python-1.5.2
GNU_CONFIGURE= YES
CONFIGURE_ARGS+= --without-thread