On 2026/10/30 12:31, Kirill A. Korinsky wrote:
> Jasper, ports@,
> 
> I'd like to backport to portroach in the ports tree
> https://github.com/jasperla/portroach/pull/26
> 
> It should allow to catch some python packages which is missed right now.
> 
> Any objections? Ok?

you can go further to match the other cases;

https://packaging.python.org/en/latest/specifications/binary-distribution-format/#escaping-and-unicode

"In distribution names, any run of -_. characters (HYPHEN-MINUS, LOW
LINE and FULL STOP) should be replaced with _ (LOW LINE), and uppercase
characters should be replaced with corresponding lowercase ones. This is
equivalent to regular name normalization followed by replacing - with
_."

(I've already looked for ports like this by hand but yes it would be
handy if portroach handled it automatically)

Reply via email to