diff options
author | jmmv <jmmv@pkgsrc.org> | 2005-01-30 12:44:39 +0000 |
---|---|---|
committer | jmmv <jmmv@pkgsrc.org> | 2005-01-30 12:44:39 +0000 |
commit | df333169fb9216f66002b04441324ea1e8d0de5d (patch) | |
tree | 95988a887fefe421c99733881b7056fc145466ab /lang/python20 | |
parent | 8d1e3803647a0ec497b78baaebbb5cd1cb270cd1 (diff) | |
download | pkgsrc-df333169fb9216f66002b04441324ea1e8d0de5d.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/python20')
-rw-r--r-- | lang/python20/ALTERNATIVES | 1 | ||||
-rw-r--r-- | lang/python20/Makefile | 5 |
2 files changed, 4 insertions, 2 deletions
diff --git a/lang/python20/ALTERNATIVES b/lang/python20/ALTERNATIVES new file mode 100644 index 00000000000..53e68f84033 --- /dev/null +++ b/lang/python20/ALTERNATIVES @@ -0,0 +1 @@ +bin/python @PREFIX@/bin/python2.0 diff --git a/lang/python20/Makefile b/lang/python20/Makefile index a5b9ac1ec44..36ad5eb01c4 100644 --- a/lang/python20/Makefile +++ b/lang/python20/Makefile @@ -1,9 +1,9 @@ -# $NetBSD: Makefile,v 1.25 2004/12/19 05:34:07 grant Exp $ +# $NetBSD: Makefile,v 1.26 2005/01/30 12:44:39 jmmv Exp $ # DISTNAME= Python-2.0.1 PKGNAME= python20-2.0.1 -PKGREVISION= 9 +PKGREVISION= 10 CATEGORIES= lang python MASTER_SITES= ftp://ftp.python.org/pub/python/2.0.1/ EXTRACT_SUFX= .tgz @@ -12,6 +12,7 @@ MAINTAINER= tsarna@NetBSD.org HOMEPAGE= http://www.python.org/ COMMENT= Interpreted, interactive, object-oriented programming language +CONFLICTS+= python-[0-9]* CONFLICTS+= python-2.0.* PLIST_SRC= ${WRKDIR}/.PLIST_SRC |