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)



The following reply was made to PR pkg/58155; it has been noted by GNATS.

From: Jonathan Perkin <jperkin%mnx.io@localhost>
To: Benny Siegert <bsiegert%gmail.com@localhost>
Cc: Joerg Sonnenberger <joerg%bec.de@localhost>, pkg-manager%netbsd.org@localhost,
	gnats-admin%netbsd.org@localhost, pkgsrc-bugs%netbsd.org@localhost,
	campbell+netbsd%mumble.net@localhost, gnats-bugs%netbsd.org@localhost
Subject: Re: pkg/58155 (CONFLICTS doesn't work with multi-version packages)
Date: Thu, 18 Apr 2024 08:54:24 +0100

 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