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 Fri, Jul 17, 2009 at 01:48:55AM +0000, Oliver V. Gould wrote:
> 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' ;;

...and it should be PYTHON_VERSION_REQD and not PYTHON_VERSION_DEFAULT.

Joerg


Home | Main Index | Thread Index | Old Index