pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
py-netsnmp-cffi: Add a package, version 0.1.1.
Module Name: pkgsrc-wip
Committed By: Havard Eidnes <he%NetBSD.org@localhost>
Pushed By: he
Date: Wed Apr 16 10:42:24 2025 +0000
Changeset: 9a3f96fafda7d78a81c7a3807e00325d4861f56e
Added Files:
py-netsnmp-cffi/DESCR
py-netsnmp-cffi/Makefile
py-netsnmp-cffi/PLIST
py-netsnmp-cffi/distinfo
Log Message:
py-netsnmp-cffi: Add a package, version 0.1.1.
This is a CFFI-based Python interface for the Net-SNMP C library,
enabling efficient parallel SNMP communication with large amounts
of devices from Python. It provides both asynchronous (asyncio)
and synchronous interfaces.
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=9a3f96fafda7d78a81c7a3807e00325d4861f56e
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
py-netsnmp-cffi/DESCR | 4 ++++
py-netsnmp-cffi/Makefile | 25 +++++++++++++++++++++++++
py-netsnmp-cffi/PLIST | 48 ++++++++++++++++++++++++++++++++++++++++++++++++
py-netsnmp-cffi/distinfo | 5 +++++
4 files changed, 82 insertions(+)
diffs:
diff --git a/py-netsnmp-cffi/DESCR b/py-netsnmp-cffi/DESCR
new file mode 100644
index 0000000000..3f581ebd95
--- /dev/null
+++ b/py-netsnmp-cffi/DESCR
@@ -0,0 +1,4 @@
+This is a CFFI-based Python interface for the Net-SNMP C library,
+enabling efficient parallel SNMP communication with large amounts
+of devices from Python. It provides both asynchronous (asyncio)
+and synchronous interfaces.
diff --git a/py-netsnmp-cffi/Makefile b/py-netsnmp-cffi/Makefile
new file mode 100644
index 0000000000..4ff607f053
--- /dev/null
+++ b/py-netsnmp-cffi/Makefile
@@ -0,0 +1,25 @@
+# $NetBSD$
+
+DISTNAME= netsnmp-cffi-0.1.1
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES= net
+MASTER_SITES= ${MASTER_SITE_GITHUB:=Uninett/}
+GITHUB_PROJECT= netsnmp-cffi
+
+MAINTAINER= he%NetBSD.org@localhost
+HOMEPAGE= https://github.com/Uninett/netsnmp-cffi
+COMMENT= CFFI-based python interface to net-snmp
+LICENSE= apache-2.0
+
+USE_LANGUAGES+= c
+# Needs python >= 39
+PYTHON_VERSIONS_INCOMPATIBLE+= 27
+
+MAKE_ENV+= SETUPTOOLS_SCM_PRETEND_VERSION=${PKGVERSION}
+
+TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools>=70.1:../../devel/py-setuptools
+DEPENDS+= ${PYPKGPREFIX}-cffi-[0-9]*:../../devel/py-cffi
+
+.include "../../net/net-snmp/buildlink3.mk"
+.include "../../lang/python/wheel.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/py-netsnmp-cffi/PLIST b/py-netsnmp-cffi/PLIST
new file mode 100644
index 0000000000..c50e53df55
--- /dev/null
+++ b/py-netsnmp-cffi/PLIST
@@ -0,0 +1,48 @@
+@comment $NetBSD$
+bin/asnmpget
+${PYSITELIB}/${WHEEL_INFODIR}/LICENSE
+${PYSITELIB}/${WHEEL_INFODIR}/METADATA
+${PYSITELIB}/${WHEEL_INFODIR}/RECORD
+${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
+${PYSITELIB}/${WHEEL_INFODIR}/entry_points.txt
+${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
+${PYSITELIB}/netsnmpy/__init__.py
+${PYSITELIB}/netsnmpy/__init__.pyc
+${PYSITELIB}/netsnmpy/__init__.pyo
+${PYSITELIB}/netsnmpy/_netsnmp.abi3.so
+${PYSITELIB}/netsnmpy/constants.py
+${PYSITELIB}/netsnmpy/constants.pyc
+${PYSITELIB}/netsnmpy/constants.pyo
+${PYSITELIB}/netsnmpy/errors.py
+${PYSITELIB}/netsnmpy/errors.pyc
+${PYSITELIB}/netsnmpy/errors.pyo
+${PYSITELIB}/netsnmpy/netsnmp.py
+${PYSITELIB}/netsnmpy/netsnmp.pyc
+${PYSITELIB}/netsnmpy/netsnmp.pyo
+${PYSITELIB}/netsnmpy/netsnmp_ffi.py
+${PYSITELIB}/netsnmpy/netsnmp_ffi.pyc
+${PYSITELIB}/netsnmpy/netsnmp_ffi.pyo
+${PYSITELIB}/netsnmpy/oids.py
+${PYSITELIB}/netsnmpy/oids.pyc
+${PYSITELIB}/netsnmpy/oids.pyo
+${PYSITELIB}/netsnmpy/programs/__init__.py
+${PYSITELIB}/netsnmpy/programs/__init__.pyc
+${PYSITELIB}/netsnmpy/programs/__init__.pyo
+${PYSITELIB}/netsnmpy/programs/asnmpget.py
+${PYSITELIB}/netsnmpy/programs/asnmpget.pyc
+${PYSITELIB}/netsnmpy/programs/asnmpget.pyo
+${PYSITELIB}/netsnmpy/programs/trapd.py
+${PYSITELIB}/netsnmpy/programs/trapd.pyc
+${PYSITELIB}/netsnmpy/programs/trapd.pyo
+${PYSITELIB}/netsnmpy/session.py
+${PYSITELIB}/netsnmpy/session.pyc
+${PYSITELIB}/netsnmpy/session.pyo
+${PYSITELIB}/netsnmpy/trapsession.py
+${PYSITELIB}/netsnmpy/trapsession.pyc
+${PYSITELIB}/netsnmpy/trapsession.pyo
+${PYSITELIB}/netsnmpy/types.py
+${PYSITELIB}/netsnmpy/types.pyc
+${PYSITELIB}/netsnmpy/types.pyo
+${PYSITELIB}/netsnmpy/version.py
+${PYSITELIB}/netsnmpy/version.pyc
+${PYSITELIB}/netsnmpy/version.pyo
diff --git a/py-netsnmp-cffi/distinfo b/py-netsnmp-cffi/distinfo
new file mode 100644
index 0000000000..83e3a31619
--- /dev/null
+++ b/py-netsnmp-cffi/distinfo
@@ -0,0 +1,5 @@
+$NetBSD$
+
+BLAKE2s (netsnmp-cffi-0.1.1.tar.gz) = 10d75260cfca2be08f73f7ff0e8726a3eec2b351a6a6c8f136d0a4ddea087d37
+SHA512 (netsnmp-cffi-0.1.1.tar.gz) = 1f0be1e2af13364f3b93c7dc26e2f78d57e9f9120185fe4b85251e4b0a7417117a83dd3626abd2874a6b1ce99cbd1d7e42198b1159bd7b715b51084a9e121311
+Size (netsnmp-cffi-0.1.1.tar.gz) = 38212 bytes
Home |
Main Index |
Thread Index |
Old Index