From owner-freebsd-ports Wed Jan 9 4: 7:33 2002 Delivered-To: freebsd-ports@freebsd.org Received: from fling.sanbi.ac.za (fling.sanbi.ac.za [196.38.142.119]) by hub.freebsd.org (Postfix) with ESMTP id 7266337B417; Wed, 9 Jan 2002 04:07:19 -0800 (PST) Received: from johann by fling.sanbi.ac.za with local (Exim 3.13 #4) id 16OHVi-00023n-00; Wed, 09 Jan 2002 14:07:14 +0200 Date: Wed, 9 Jan 2002 14:07:14 +0200 From: Johann Visagie To: freebsd-ports@FreeBSD.org Cc: Hye-Shik Chang , tg@FreeBSD.org Subject: Re: ports/33720: Update port: math/py-numeric Message-ID: <20020109120714.GP2775@fling.sanbi.ac.za> References: <200201091150.g09Bo3349132@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200201091150.g09Bo3349132@freefall.freebsd.org> User-Agent: Mutt/1.3.25i Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Johann Visagie on 2002-01-09 (Wed) at 03:50:03 -0800: > > The following reply was made to PR ports/33720; it has been noted by GNATS. > > From: Johann Visagie > To: Hye-Shik Chang > Cc: freebsd-gnats-submit@FreeBSD.org > Subject: Re: ports/33720: Update port: math/py-numeric > Date: Wed, 9 Jan 2002 13:43:06 +0200 > > > USE_PYTHON= yes > > -PYTHON_VERSION= python2.1 > > +PYTHON_VERSION= python2.2 > > What version of Python is _required_ for this new version of Numeric? > Wouldn't it maybe be a better idea to use $PYTHON_REL to check whether > the minimum version requirement has been satisfied rather than to > enforce version 2.2? > > (Yup, I have to change that in my own ports as well...) In fact, explicitly setting PYTHON_VERSION should probably be discouraged (though as I said I've done it often enough myself). For instance, see what happens when one tries installing the current version of the math/py-numeric port on a box where the python-2.2 port has been installed: ===> Extracting for py21-numeric-20.2.1 >> Checksum OK for Numeric-20.2.1.tar.gz. ===> py21-numeric-20.2.1 depends on file: /usr/local/lib/python2.1/distutils/core.py - not found ===> Verifying install for /usr/local/lib/python2.1/distutils/core.py in /usr/ports/lang/python ===> Extracting for python-2.2 ^C We can all see where that will lead... -- V To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message