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)



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