pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: ${PYPKGPREFIX}- for package names (and wip/py-buildbot)
On 2009-07-16, Alan Barrett <apb%cequrux.com@localhost> wrote:
> I have the following patch in pkg_rolling-replace. It's obviously
> not the right thing, but it has worked well enough to allow pkg_rr to
> replace both py24-foo and py25-foo.
A minor nit:
> + # Set PYTHON_VESION_DEFAULT if necessary
> + MAKE_SET_VARS=''
> + case "$pkg" in
> + py25-*) MAKE_SET_VARS='PYTHON_VERSION_DEFAULT=25' ;;
> + py24-*) MAKE_SET_VARS='PYTHON_VERSION_DEFAULT=24' ;;
should also include:
py26-*) MAKE_SET_VARS='PYTHON_VERSION_DEFAULT=26' ;;
As you noted, this is clearly not scalable. There should be no need to
modify pkg_rr when i.e. Python 2.7 is released.
- Oliver
Home |
Main Index |
Thread Index |
Old Index