commit: 0e5274e432ac0313555a22c162ce1914dbb3fd7c
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Jan 16 04:52:01 2025 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Jan 16 05:11:04 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0e5274e4
dev-python/pysnmp: Bump to 7.1.16
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/pysnmp/Manifest | 1 +
dev-python/pysnmp/pysnmp-7.1.16.ebuild | 49 ++++++++++++++++++++++++++++++++++
2 files changed, 50 insertions(+)
diff --git a/dev-python/pysnmp/Manifest b/dev-python/pysnmp/Manifest
index 134016605f6b..225f8b036a59 100644
--- a/dev-python/pysnmp/Manifest
+++ b/dev-python/pysnmp/Manifest
@@ -1 +1,2 @@
DIST pysnmp-7.1.15.tar.gz 380504 BLAKE2B
a0bc0d321c88fd3ab45b32be590172d67d721dacbd10effa4e535db907cd39ca191413007b2c1ff2f42553049b4ca4472abdde72bef541685edad474597e8e31
SHA512
8e24d5e7563c6299dbeaeb066a4045c44f860ed8fb9565bf621b3d6c99301c8a6f6e8661ecbb3285b4032b415bec3cbbe4969b856a22fad932ce5371fc019144
+DIST pysnmp-7.1.16.tar.gz 379606 BLAKE2B
7ba59e52b7d27ef9400e1ec4c2aee395f86873b03b9bbb3a313e23c3af69965b245e2f3d5c4c3cdc98ee257aa4bc41c213b9d0237e9d5bc960dda2a4606c57ff
SHA512
ee6a86dbf104f510eb698cc705d24f2c67efcede0b4605f7ba0aa5f3b1ebdec50608eb1144a16e6418213f824f996a7185c1452fd144d5a0df1a4f2650dbf3a4
diff --git a/dev-python/pysnmp/pysnmp-7.1.16.ebuild
b/dev-python/pysnmp/pysnmp-7.1.16.ebuild
new file mode 100644
index 000000000000..19ed4eb3da9d
--- /dev/null
+++ b/dev-python/pysnmp/pysnmp-7.1.16.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=poetry
+PYTHON_COMPAT=( python3_{10..13} )
+inherit distutils-r1 pypi
+
+DESCRIPTION="Python SNMP library"
+HOMEPAGE="
+ https://pypi.org/project/pysnmp/
+ https://github.com/lextudio/pysnmp/
+"
+
+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
+}