[Bug 280183] devel/py-clang: REQUEST Can port be renamed to devel/py-pyclang?

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 11 Jul 2024 12:39:55 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=280183

Po-Chuan Hsieh <sunpoet@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|ports-bugs@FreeBSD.org      |sunpoet@FreeBSD.org

--- Comment #2 from Po-Chuan Hsieh <sunpoet@FreeBSD.org> ---
No, this port should not be renamed. Its canonical name is clang [1], not
pyclang.

> Recently I ran into some trouble where port devel/py-pyclang is requested from a site (ESP32, Espressif). In some cases the port is referenced as "clang" where the prepending PY_FLAVOR is ommited, which is confusing, since "clang" is also installed on recent FreeBSDs.

That means the dependent port should be fixed to use the correct dependency
line, "${PYTHON_PKGNAMEPREFIX}clang>=0:devel/py-clang@${PY_FLAVOR}".

> Port devel/py-yaml has been recently renamed to devel/py-pyyaml, so I take the liberty to aks kindly whether a renaming is possible without a major impact on ports alreday referencing py-clang.

Regarding the recent move from devel/py-yaml to devel/py-pyyaml, it is actually
a *FIX*. pyyaml is the canonical/correct name [2] used by other Python
libraries.

BTW, the WWW of this port should be changed to
https://github.com/trolldbois/python-clang which is the real URL of the source
code of this python library. At least the forementioned URL should be added as
primary WWW.

[1] https://pypi.org/project/clang/
[2] https://pypi.org/project/PyYAML/

-- 
You are receiving this mail because:
You are the assignee for the bug.