commit:     9147eb3e3a5dfc814e72d34317ba184c1e5879c1
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Dec  4 07:26:45 2024 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Dec  4 07:26:45 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9147eb3e

dev-python/pysnmp: Bump to 7.1.14

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/pysnmp/Manifest             |  1 +
 dev-python/pysnmp/pysnmp-7.1.14.ebuild | 49 ++++++++++++++++++++++++++++++++++
 2 files changed, 50 insertions(+)

diff --git a/dev-python/pysnmp/Manifest b/dev-python/pysnmp/Manifest
index 454b33b5bbe5..1eec5aee6579 100644
--- a/dev-python/pysnmp/Manifest
+++ b/dev-python/pysnmp/Manifest
@@ -1 +1,2 @@
 DIST pysnmp-7.1.13.tar.gz 378397 BLAKE2B 
e10c50b85f604211f0b96199150fa3580c40e7acac8670fe1419d2095fd8bf479ce0c4ff1ef77a69f2c178e0c9f8b8ccdc72ee75acb3153cfc428d398bf0051e
 SHA512 
630dd81ea6db5c7b75564031c8382408fda6a4625fa9f694a57f9f3570c70293de2560f3b1fb607d929d604731633dcbb9e6fd9cb9a8b189ef339257a3c16569
+DIST pysnmp-7.1.14.tar.gz 380516 BLAKE2B 
972426164598d1579b174cadae84e610cfe0a8c5574c25cee8ea8dca804021900818a2d66c89df6d185257050f88625a1cdddcfcc5b43fcf03d053523bdae9cd
 SHA512 
edbce007d53bd0a876bef7ee2b0286b46f6c6a33b9da89a82d737580bc31a34197a9ad490e4d09441984ccc89b61110bfea2a9f563a84b081d4127a29bee1c80

diff --git a/dev-python/pysnmp/pysnmp-7.1.14.ebuild 
b/dev-python/pysnmp/pysnmp-7.1.14.ebuild
new file mode 100644
index 000000000000..8e1fe159f72f
--- /dev/null
+++ b/dev-python/pysnmp/pysnmp-7.1.14.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2024 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
+}

Reply via email to