summaryrefslogtreecommitdiff
path: root/net/py-netsnmp
diff options
context:
space:
mode:
authorhe <he@pkgsrc.org>2014-08-05 12:22:43 +0000
committerhe <he@pkgsrc.org>2014-08-05 12:22:43 +0000
commitfe5e6114cbc8657c27e3572ba1efd9c6ff3887c4 (patch)
tree038187361cbd095206fdc969251eb7aed10d69c0 /net/py-netsnmp
parent0684a60aeb1992026952377a93bbfb2d77051147 (diff)
downloadpkgsrc-fe5e6114cbc8657c27e3572ba1efd9c6ff3887c4.tar.gz
Add the "netsnmp" Python module, interfacing to net-snmp.
DESCR: This is the Python 'netsnmp' extension module. The 'netsnmp' module provides a full featured, tri-lingual SNMP (SNMPv3, SNMPv2c, SNMPv1) client API. The 'netsnmp' module internals rely on the Net-SNMP toolkit library.
Diffstat (limited to 'net/py-netsnmp')
-rw-r--r--net/py-netsnmp/DESCR4
-rw-r--r--net/py-netsnmp/Makefile18
-rw-r--r--net/py-netsnmp/PLIST18
-rw-r--r--net/py-netsnmp/distinfo5
4 files changed, 45 insertions, 0 deletions
diff --git a/net/py-netsnmp/DESCR b/net/py-netsnmp/DESCR
new file mode 100644
index 00000000000..0e8193e4962
--- /dev/null
+++ b/net/py-netsnmp/DESCR
@@ -0,0 +1,4 @@
+This is the Python 'netsnmp' extension module. The 'netsnmp' module
+provides a full featured, tri-lingual SNMP (SNMPv3, SNMPv2c,
+SNMPv1) client API. The 'netsnmp' module internals rely on the
+Net-SNMP toolkit library.
diff --git a/net/py-netsnmp/Makefile b/net/py-netsnmp/Makefile
new file mode 100644
index 00000000000..a66a20a412e
--- /dev/null
+++ b/net/py-netsnmp/Makefile
@@ -0,0 +1,18 @@
+# $NetBSD: Makefile,v 1.1 2014/08/05 12:22:43 he Exp $
+
+.include "../../net/net-snmp/Makefile.common"
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/net-snmp/netsnmp/}
+CATEGORIES= net python
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+COMMENT= Python bindings to extensible SNMP implementation
+
+WRKSRC= ${WRKDIR}/${DISTNAME}/python
+
+USE_LANGUAGES= c
+EGG_NAME= netsnmp_python-1.0a1
+PYTHON_VERSIONS_INCOMPATIBLE= 33 34
+
+.include "../../net/net-snmp/buildlink3.mk"
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/net/py-netsnmp/PLIST b/net/py-netsnmp/PLIST
new file mode 100644
index 00000000000..a069627067b
--- /dev/null
+++ b/net/py-netsnmp/PLIST
@@ -0,0 +1,18 @@
+@comment $NetBSD: PLIST,v 1.1 2014/08/05 12:22:43 he Exp $
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/netsnmp/__init__.py
+${PYSITELIB}/netsnmp/__init__.pyc
+${PYSITELIB}/netsnmp/__init__.pyo
+${PYSITELIB}/netsnmp/client.py
+${PYSITELIB}/netsnmp/client.pyc
+${PYSITELIB}/netsnmp/client.pyo
+${PYSITELIB}/netsnmp/client_intf.so
+${PYSITELIB}/netsnmp/tests/__init__.py
+${PYSITELIB}/netsnmp/tests/__init__.pyc
+${PYSITELIB}/netsnmp/tests/__init__.pyo
+${PYSITELIB}/netsnmp/tests/test.py
+${PYSITELIB}/netsnmp/tests/test.pyc
+${PYSITELIB}/netsnmp/tests/test.pyo
diff --git a/net/py-netsnmp/distinfo b/net/py-netsnmp/distinfo
new file mode 100644
index 00000000000..abc74cb2516
--- /dev/null
+++ b/net/py-netsnmp/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2014/08/05 12:22:43 he Exp $
+
+SHA1 (net-snmp-5.7.2.1.tar.gz) = 815d4e5520a1ed96a27def33e7534b4190599f0f
+RMD160 (net-snmp-5.7.2.1.tar.gz) = 129b74e70a5027749c766ea9cdb53a3c4a3cf40b
+Size (net-snmp-5.7.2.1.tar.gz) = 6281532 bytes