On Thu, Apr 27, 2023 at 1:27 PM Sandro <lists@penguinpee.nl> wrote:
On 27-04-2023 10:48, Petr Viktorin wrote:
> That sounds good. You could also do it the other way around.

I think that depends on the main purpose of the package. Is it primarily
an app or primarily a library. In this case it seems the utility is
prevalent.

Albeit, I don't mind naming it python-vkbasalt-cli and providing a
python3-vkbasalt-cli subpackage and a provides vkbasalt = ...

I did the same for python-fvs, which looks to be primarily a library
with an added utility [1]

I had the same question when packaging up git-revise (a Python-based program that is a git extension, so it is an executable script), and the advice I received was if the package is on PyPi, then it is probably best to use a python-* name to make it discoverable (https://lists.fedoraproject.org/archives/list/python-devel@lists.fedoraproject.org/message/QYWJ7UUEBSSQ5QAPJSVDWPLM5KOYRZW5/). I decided to name the source RPM python-git-revise (instead of just git-revise), and then included a subpackage with the shortname so that it was still searchable/installable easily.

-Ian
 

> In this case, it looks like `vkbasalt-cli` is developed independently of
> vkbasalt itself, is that right? If there's a chance that an “official”
> vkbasalt CLI appears in the future, consider using only
> `python-vkbasalt-cli`, to prevent future confusion.
> But I guess if that ever happened, the fact that vkbasalt-cli provides
> `/usr/bin/vkbasalt` would be a bigger issue.

Well, I submitted the package for review [2] and have been told that
vkbasalt not being published on PyPI is an issue wrt naming parity.
So, I filed a bug requesting publication on PyPI [3], but I haven't
heard back from upstream, yet. If upstream remains unresponsive, I would
need to either publish it myself or get the name reserved as described
in PyPI parity [4].

AFAICT, the package is developed independently of vkbasalt and
specifically for Bottles.

[1] https://bugzilla.redhat.com/show_bug.cgi?id=2187061
[2] https://bugzilla.redhat.com/show_bug.cgi?id=2188653
[3] https://gitlab.com/TheEvilSkeleton/vkbasalt-cli/-/issues/10
[4]
https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/#_pypi_parity

-- Sandro
_______________________________________________
python-devel mailing list -- python-devel@lists.fedoraproject.org
To unsubscribe send an email to python-devel-leave@lists.fedoraproject.org
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/python-devel@lists.fedoraproject.org
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue