pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/58155 (CONFLICTS doesn't work with multi-version packages)



Sorry, I also meant to add, one way to handle this would be for pyversion.mk to provide a variable that lists all of the current known versions of python for an alternate match, so something like:

  PYTHON_VERSION_LIST=	py27,py38,py39,py310,py311,py312

and then packages can use it like:

  CONFLICTS+= {${PYTHON_VERSION_LIST}}-gtk<0.6.10

It's not pretty, and again would be less performant than listing them all explicitly, but would be syntactically correct and avoid having to update many many packages every time python versions change.

--
Jonathan Perkin   -   mnx.io   -   pkgsrc.smartos.org
Open Source Complete Cloud   www.tritondatacenter.com


Home | Main Index | Thread Index | Old Index