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 09:49:51 +0100
And, for completeness sake as there are complaints we're not being
helpful enough here, you can verify this yourselves using "pkg_admin
pmatch", for example:
Dewey match with fully-formed PKGBASE works:
$ pkg_admin pmatch 'py311-gtk<2.0' py311-gtk-0.9 && echo match || echo no match
match
fnmatch on both PKGBASE and PKGVERSION works:
$ pkg_admin pmatch 'py*-gtk-[0-9]*' py311-gtk-0.9 && echo match || echo no match
match
Dewey match with fnmatch in PKGBASE does NOT work:
$ pkg_admin pmatch 'py*-gtk<2.0' py311-gtk-0.9 && echo match || echo no match
no match
Dewey match with alternates in PKGBASE does work:
$ pkg_admin pmatch '{py27,py311}-gtk<2.0' py311-gtk-0.9 && echo match || echo no match
match
Hope that helps,
--
Jonathan Perkin - mnx.io - pkgsrc.smartos.org
Open Source Complete Cloud www.tritondatacenter.com
Home |
Main Index |
Thread Index |
Old Index