Re: "py-" prefix shouldn't be needed for Python-based ports that are programs, not libraries
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 16 Feb 2024 06:48:12 UTC
Yuri wrote:
> I think that this section
> https://wiki.freebsd.org/Python/PortsPolicy#Prefixing_.28py-.2A.29
> should be amended:
>
> Examples of compelling cases:
>
> * The port is a program, and not a library.
>
>
> There is no need to have flavors for Python ports that build only
> programs and don't build libraries.
>
This distinction does not practically exist; any Python package, even if
primarily a program, can be specified and imported as a library in
another as a dependency. See meson, which had to grow flavours when
meson-python came about.
Putting -pyN as ${PKGNAMESUFFIX} when not the default flavour for those
cases can be considered however.
--
Charlie Li
...nope, still don't have an exit line.