Created attachment 207936 [details] freebsd_sysctl v0.0.6 Python Module Native Python wrapper for FreeBSD jails using libc. This Python 3 interface for FreeBSD sysctl has no third party dependency and does not require a compile step to install. It is meant for performant (read) access to sysctls, their type, value and description. It is dependency of devel/py-libioc and available in the Pip registry: https://pypi.org/project/freebsd-sysctl/
(In reply to gronke from comment #0) Should this be "FreeBSD sysctls" instead of "FreeBSD jails" ?
The PyPI name for this package is freebsd-sysctl, please use that as the PORTNAME If you could also confirm the port passes QA (portlint, poudriere, PythonPolicy [1]), that would be great. [1] https://wiki.freebsd.org/Python/PortsPolicy
I would probably also put this in sysutils as a primary category, devel, python as secondaries.
Created attachment 208950 [details] freebsd_sysctl v0.0.7 Python Module - Port and PyPi package renamed to freebsd-sysctl (although the import name is still freebsd_sysctl) - `sysutils` is added as secondary category. The library gives programmatic access to sysctls from Python, but is not meant to be a system utility for direct usage.
A commit references this bug: Author: netchild Date: Sat Nov 9 15:53:41 UTC 2019 New revision: 517131 URL: https://svnweb.freebsd.org/changeset/ports/517131 Log: Native Python wrapper for FreeBSD sysctls using libc. WWW: https://github.com/gronke/py-freebsd_sysctl PR: 240920 Submitted by: stefan@gronke.net Changes: head/devel/Makefile head/devel/py-freebsd-sysctl/ head/devel/py-freebsd-sysctl/Makefile head/devel/py-freebsd-sysctl/distinfo head/devel/py-freebsd-sysctl/pkg-descr