Date: Thu, 15 Feb 2024 23:02:27 -0800 From: Yuri <yuri@FreeBSD.org> To: ports@freebsd.org Subject: Re: "py-" prefix shouldn't be needed for Python-based ports that are programs, not libraries Message-ID: <07d2ff32-b297-4f7b-8aad-be04b89df0ca@FreeBSD.org> In-Reply-To: <9ecdf1c4-97d1-4a18-bd77-9aff2ee2cc8d@freebsd.org> References: <593106a3-b1c1-4aa6-95b9-e0d15ed2cd47@FreeBSD.org> <9ecdf1c4-97d1-4a18-bd77-9aff2ee2cc8d@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --]
On 2/15/24 22:48, Charlie Li wrote:
> 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.
This isn't true.
If the program has one main function and several helper
application-specific submodules - none of them can be used by any other
software as dependency because everything is application-specific.
If the package has the description "Command line utility to xx" - this
likely means that this is just a command line application and nothing
more, and it shouldn't have the "py-" prefix.
Yuri
[-- Attachment #2 --]
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<div class="moz-cite-prefix">On 2/15/24 22:48, Charlie Li wrote:<br>
</div>
<blockquote type="cite"
cite="mid:9ecdf1c4-97d1-4a18-bd77-9aff2ee2cc8d@freebsd.org">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.
</blockquote>
<p><br>
</p>
<p>This isn't true.</p>
<p>If the program has one main function and several helper
application-specific submodules - none of them can be used by any
other software as dependency because everything is
application-specific.</p>
<p><br>
</p>
<p>If the package has the description "<span
style="font-family:monospace"><span
style="color:#000000;background-color:#ffffff;">Command line
utility to xx"</span> - this likely means that this is just a
command line application and nothing more, and it shouldn't have
the "py-" prefix.<br>
</span></p>
<p><br>
</p>
<p><br>
</p>
<p>Yuri</p>
<p><br>
</p>
</body>
</html>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?07d2ff32-b297-4f7b-8aad-be04b89df0ca>
