summaryrefslogtreecommitdiff
path: root/dev-python/pysnmp
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2025-06-20 07:06:14 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2025-06-20 07:06:14 +0000
commit43840e755ad19e863ab48bf2175483deaeecf237 (patch)
tree279361271022ec8853f8de0221b9d1dda5bec727 /dev-python/pysnmp
parent1ec499c72856f24382bb98bcb8fbc40e8988d861 (diff)
downloadbaldeagleos-repo-43840e755ad19e863ab48bf2175483deaeecf237.tar.gz
baldeagleos-repo-43840e755ad19e863ab48bf2175483deaeecf237.tar.xz
baldeagleos-repo-43840e755ad19e863ab48bf2175483deaeecf237.zip
Adding metadata
Diffstat (limited to 'dev-python/pysnmp')
-rw-r--r--dev-python/pysnmp/Manifest1
-rw-r--r--dev-python/pysnmp/pysnmp-7.1.21.ebuild54
2 files changed, 55 insertions, 0 deletions
diff --git a/dev-python/pysnmp/Manifest b/dev-python/pysnmp/Manifest
index 8ff20f523bb8..18ce73823ccd 100644
--- a/dev-python/pysnmp/Manifest
+++ b/dev-python/pysnmp/Manifest
@@ -1 +1,2 @@
DIST pysnmp-7.1.20.gh.tar.gz 498284 BLAKE2B 1f4a5129792375b0e8fcae7c7b2cc3b00fd0fc0d3b8ff4fb1ea62274e5a35835f07213477cb2248a18c2ac9b215826e84e555ea4602ad58753ba6f56eb232322 SHA512 41024f45f559cf001958f53cb00b1acaf14aba9caaf21cfbab7a3232e349b8c59a2fc4c686fe1429db71fed1dead19f3aaeb6d6550d370f669b910cdfeabd388
+DIST pysnmp-7.1.21.gh.tar.gz 471713 BLAKE2B 11223cc35043aee87b527438152f17af7920c8ac8364bcaa4bb97ae2f53f6e0f93861ce2f5fa0cbe84eb4661b63871304e22320d4327aed89869a25a3c4b1458 SHA512 65e609690d08b2db8ab497fa4a974e4bc90630891ff80b28351e74d17f1da654a0aa309226658731ad315cce192c6e9e36d9bcbbf87270c9c48dc187df36b03a
diff --git a/dev-python/pysnmp/pysnmp-7.1.21.ebuild b/dev-python/pysnmp/pysnmp-7.1.21.ebuild
new file mode 100644
index 000000000000..820e64f2c336
--- /dev/null
+++ b/dev-python/pysnmp/pysnmp-7.1.21.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=flit
+PYTHON_COMPAT=( python3_{9,10,11,12,13} )
+
+inherit distutils-r1
+
+DESCRIPTION="Python SNMP library"
+HOMEPAGE="
+ https://pypi.org/project/pysnmp/
+ https://github.com/lextudio/pysnmp/
+"
+SRC_URI="
+ https://github.com/lextudio/pysnmp/archive/v${PV}.tar.gz
+ -> ${P}.gh.tar.gz
+"
+
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~sparc ~x86"
+PROPERTIES="test_network"
+RESTRICT="test"
+
+RDEPEND="
+ >=dev-python/cryptography-43.0.1[${PYTHON_USEDEP}]
+ >=dev-python/pyasn1-0.4.8[${PYTHON_USEDEP}]
+ >=dev-python/pysmi-1.5.7[${PYTHON_USEDEP}]
+"
+BDEPEND="
+ test? (
+ dev-python/pytest-asyncio[${PYTHON_USEDEP}]
+ )
+"
+
+distutils_enable_tests pytest
+# TODO
+# distutils_enable_sphinx docs/source dev-python/furo dev-python/sphinx-copybutton dev-python/sphinx-sitemap
+
+python_test() {
+ local EPYTEST_DESELECT=(
+ # TODO
+ tests/smi/manager/test_mib-tree-inspection.py::test_getNodeName_by_symbol_description_with_module_name_2
+ )
+
+ local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+ mibdump CISCO-ENHANCED-IPSEC-FLOW-MIB.py || die
+ mibdump LEXTUDIO-TEST-MIB || die
+ mibdump NET-SNMP-EXAMPLES-MIB || die
+ mibdump IF-MIB || die
+ epytest -p asyncio
+}