Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Jan 2002 14:07:14 +0200
From:      Johann Visagie <johann@egenetics.com>
To:        freebsd-ports@FreeBSD.org
Cc:        Hye-Shik Chang <perky@fallin.lv>, tg@FreeBSD.org
Subject:   Re: ports/33720: Update port: math/py-numeric
Message-ID:  <20020109120714.GP2775@fling.sanbi.ac.za>
In-Reply-To: <200201091150.g09Bo3349132@freefall.freebsd.org>
References:  <200201091150.g09Bo3349132@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <johann@egenetics.com>
> To: Hye-Shik Chang <perky@fallin.lv>
> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020109120714.GP2775>