diff options
author | jmmv <jmmv> | 2005-01-30 12:44:39 +0000 |
---|---|---|
committer | jmmv <jmmv> | 2005-01-30 12:44:39 +0000 |
commit | 99d43afa287de90c9d3f36d821839d76fcb8a446 (patch) | |
tree | 95988a887fefe421c99733881b7056fc145466ab /lang/python15 | |
parent | c53ff835b3ff90b5544619bd39e7e2049a4c8ac7 (diff) | |
download | pkgsrc-99d43afa287de90c9d3f36d821839d76fcb8a446.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/ALTERNATIVES | 1 | ||||
-rw-r--r-- | lang/python15/Makefile | 6 |
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 |