git: 36298b83a545 - main - devel/py-dlinfo: New port: Python wrapper for libc's dlinfo

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Sat, 23 Aug 2025 21:50:17 UTC
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=36298b83a545ed38cffd605aa54bb4b52ad8d1fd

commit 36298b83a545ed38cffd605aa54bb4b52ad8d1fd
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2025-08-23 20:06:05 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2025-08-23 21:50:13 +0000

    devel/py-dlinfo: New port: Python wrapper for libc's dlinfo
---
 devel/Makefile            |  1 +
 devel/py-dlinfo/Makefile  | 22 ++++++++++++++++++++++
 devel/py-dlinfo/distinfo  |  3 +++
 devel/py-dlinfo/pkg-descr |  1 +
 4 files changed, 27 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index 8dee3385ed9b..dcb808363927 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -4811,6 +4811,7 @@
     SUBDIR += py-dj52-django-rq
     SUBDIR += py-dj52-strawberry-graphql
     SUBDIR += py-django-rq
+    SUBDIR += py-dlinfo
     SUBDIR += py-dm-tree
     SUBDIR += py-docformatter
     SUBDIR += py-dockerfile-parse
diff --git a/devel/py-dlinfo/Makefile b/devel/py-dlinfo/Makefile
new file mode 100644
index 000000000000..9d1cf8c846ad
--- /dev/null
+++ b/devel/py-dlinfo/Makefile
@@ -0,0 +1,22 @@
+PORTNAME=	dlinfo
+DISTVERSION=	2.0.0
+CATEGORIES=	devel python
+MASTER_SITES=	PYPI
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	yuri@FreeBSD.org
+COMMENT=	Python wrapper for libc's dlinfo
+WWW=		https://github.com/cloudflightio/python-dlinfo
+
+LICENSE=	MIT
+
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools-scm>0:devel/py-setuptools-scm@${PY_FLAVOR}
+
+USES=		python
+USE_PYTHON=	distutils autoplist pytest
+
+NO_ARCH=	yes
+
+# tests as of 2.0.0: 2 failed, 2 passed, 3 xfailed in 6.82s, see https://github.com/cloudflightio/python-dlinfo/issues/98
+
+.include <bsd.port.mk>
diff --git a/devel/py-dlinfo/distinfo b/devel/py-dlinfo/distinfo
new file mode 100644
index 000000000000..e95746cae87e
--- /dev/null
+++ b/devel/py-dlinfo/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1755891046
+SHA256 (dlinfo-2.0.0.tar.gz) = 88a2bc04f51d01bc604cdc9eb1c3cc0bde89057532ca6a3e71a41f6235433e17
+SIZE (dlinfo-2.0.0.tar.gz) = 12727
diff --git a/devel/py-dlinfo/pkg-descr b/devel/py-dlinfo/pkg-descr
new file mode 100644
index 000000000000..57bd4a65dd93
--- /dev/null
+++ b/devel/py-dlinfo/pkg-descr
@@ -0,0 +1 @@
+Python wrapper for libc's dlinfo.