aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2026-04-27 13:01:18 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2026-04-27 13:06:47 +0000
commitbd02a49238002725be5c5531a9c8dd6706c840b5 (patch)
tree9091b349d088ba23f8ad6662925f5a4cf4e147dd
parent6fe3caa8fac8c20cb3d1ac83f388f57cedff249b (diff)
devel/py-session-info2: Add py-session-info2 0.4.1
Use the session-info CLI program (see session-info -h) or use it programmatically. Import whayever your script/notebook relies on, as well as session_info.
-rw-r--r--devel/Makefile1
-rw-r--r--devel/py-session-info2/Makefile25
-rw-r--r--devel/py-session-info2/distinfo3
-rw-r--r--devel/py-session-info2/pkg-descr4
4 files changed, 33 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index 87bb966a77c1..7a92fecbac29 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -6053,6 +6053,7 @@
SUBDIR += py-sentry-sdk
SUBDIR += py-serializable
SUBDIR += py-session-info
+ SUBDIR += py-session-info2
SUBDIR += py-setoptconf
SUBDIR += py-setproctitle
SUBDIR += py-setupmeta
diff --git a/devel/py-session-info2/Makefile b/devel/py-session-info2/Makefile
new file mode 100644
index 000000000000..4f815f84f257
--- /dev/null
+++ b/devel/py-session-info2/Makefile
@@ -0,0 +1,25 @@
+PORTNAME= session-info2
+PORTVERSION= 0.4.1
+CATEGORIES= devel python
+MASTER_SITES= PYPI
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+DISTNAME= session_info2-${PORTVERSION}
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= Print versions of imported packages
+WWW= https://session-info2.readthedocs.io/en/stable/ \
+ https://github.com/scverse/session-info2
+
+LICENSE= MPL20
+LICENSE_FILE= ${WRKSRC}/LICENSE.rst
+
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatch-docstring-description>=0:devel/py-hatch-docstring-description@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}hatch-vcs>=0:devel/py-hatch-vcs@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}hatchling>=0:devel/py-hatchling@${PY_FLAVOR}
+
+USES= python
+USE_PYTHON= autoplist concurrent pep517
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/devel/py-session-info2/distinfo b/devel/py-session-info2/distinfo
new file mode 100644
index 000000000000..c7c828ebbfe8
--- /dev/null
+++ b/devel/py-session-info2/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1777252472
+SHA256 (session_info2-0.4.1.tar.gz) = 3bb2bf7b73b2e13a1737e9aa91a6dae55e2c49e83bee973f24245f31ae264a1f
+SIZE (session_info2-0.4.1.tar.gz) = 25207
diff --git a/devel/py-session-info2/pkg-descr b/devel/py-session-info2/pkg-descr
new file mode 100644
index 000000000000..0fa814e1f0b8
--- /dev/null
+++ b/devel/py-session-info2/pkg-descr
@@ -0,0 +1,4 @@
+Use the session-info CLI program (see session-info -h) or use it
+programmatically.
+
+Import whayever your script/notebook relies on, as well as session_info.