diff options
| author | Michał Górny <mgorny@gentoo.org> | 2025-04-28 04:36:05 +0200 |
|---|---|---|
| committer | Michał Górny <mgorny@gentoo.org> | 2025-04-28 05:16:50 +0200 |
| commit | 95596498842ec791f433008b5ca63ee730daf465 (patch) | |
| tree | a8e5000ed6aa7109bacca629356e6cc1e47bcf3b /dev-python | |
| parent | 30aa61d4f8181ae5b9e9bea683eec2047e69c921 (diff) | |
| download | gentoo-95596498842ec791f433008b5ca63ee730daf465.tar.gz gentoo-95596498842ec791f433008b5ca63ee730daf465.tar.bz2 gentoo-95596498842ec791f433008b5ca63ee730daf465.zip | |
dev-python/pysnmp: Bump to 7.1.19
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python')
| -rw-r--r-- | dev-python/pysnmp/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/pysnmp/pysnmp-7.1.19.ebuild | 54 |
2 files changed, 55 insertions, 0 deletions
diff --git a/dev-python/pysnmp/Manifest b/dev-python/pysnmp/Manifest index 0602c13e6688..99b922558ed0 100644 --- a/dev-python/pysnmp/Manifest +++ b/dev-python/pysnmp/Manifest @@ -1 +1,2 @@ DIST pysnmp-7.1.17.tar.gz 366560 BLAKE2B 43a1483af845ce16e6b99e6ae4858d797ec21450012302817d67d790bfba7b435fb443eedc29b58bf2c69d534263710d835655a955b578a680b8054cd0f2f78e SHA512 01fa8483499374e26ed7672de4a30865f197c6b14beb679fec1b2750c7a2c983f3b74851418c9830a37fb8a73881beeaca844a1dc8eab2a5081eb8038be8bfe2 +DIST pysnmp-7.1.19.gh.tar.gz 499285 BLAKE2B 2c40284907bec639e2709e1a450c112d4142a66942cd86565f9c229658e15de5f6bf58e62392e78200685511657d581a0ff16334f930980f5d8c877293f630cd SHA512 05bf5a65f4d6944b309f4ed8ae581359a7944b7fd42e5f96097ea38de2573d251d067935edbd97cd0aa45e8606d850258413f7597176c03e96a68f2faab5c8ed diff --git a/dev-python/pysnmp/pysnmp-7.1.19.ebuild b/dev-python/pysnmp/pysnmp-7.1.19.ebuild new file mode 100644 index 000000000000..52e5215d204d --- /dev/null +++ b/dev-python/pysnmp/pysnmp-7.1.19.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_{10..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 +} |
