commit: 579b6c6633cc30525364d7695071f02a1f7635ce
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed May 28 04:17:37 2025 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed May 28 04:57:28 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=579b6c66
dev-python/pysmi: Bump to 1.6.2
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/pysmi/Manifest | 1 +
dev-python/pysmi/pysmi-1.6.2.ebuild | 48 +++++++++++++++++++++++++++++++++++++
2 files changed, 49 insertions(+)
diff --git a/dev-python/pysmi/Manifest b/dev-python/pysmi/Manifest
index b3f8e4bd4211..903ab50f3b2a 100644
--- a/dev-python/pysmi/Manifest
+++ b/dev-python/pysmi/Manifest
@@ -1,2 +1,3 @@
DIST pysmi-1.5.9.tar.gz 131529 BLAKE2B
d3ef2a848815b1d33f9f545a002c2e7a04ddf97979974c53dad4e6b7372369820c011a3996592ed3ad8625b306cc35bafb5fb9230d6155a64ecc53803e5db973
SHA512
3f580b96d677acd5ca5b107186269ee0ef6673326746cc3f09d8fb5fe549fa1456783f33c5213c288c783190220ae30ef2cfb71e9947804abbee38d5792bfa09
DIST pysmi-1.6.1.gh.tar.gz 188037 BLAKE2B
58951f8743e7cd9e8369d237f7bc59152d5553e43a24f03bcaf73305b654a46f4acf627e55464623dfde3d8da93b4430b5d7bdc96478ef74c0ac7192d201ddad
SHA512
d3c8fc08e8221910375e6fd68700a96b8ce98d6818ae825a181d6b0c45df745ae268a9dcb3dca9c0c24b973a12c4db090b0aa38b1fd2f6723fb68cbe67ff89c7
+DIST pysmi-1.6.2.gh.tar.gz 190091 BLAKE2B
4040a2f06b814939f3abbf961cb642832342c28b0e5c22917aa3fe53fb11f4b144c512cb666a69586555c78a64451313f447d224e8e9d66ceec5a85614102f05
SHA512
adba85c5231d724c1d524be0767260ecc1b1bccfc21c0ee91c9bf988ab50ac2a1cfbe684adbc1d37df959cb15de76a1de3dadb13543b54c54e7b8e8d5c568c70
diff --git a/dev-python/pysmi/pysmi-1.6.2.ebuild
b/dev-python/pysmi/pysmi-1.6.2.ebuild
new file mode 100644
index 000000000000..6eb09d5165eb
--- /dev/null
+++ b/dev-python/pysmi/pysmi-1.6.2.ebuild
@@ -0,0 +1,48 @@
+# Copyright 2017-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=flit
+PYTHON_COMPAT=( python3_{11..13} )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="Pure-Python implementation of SNMP/SMI MIB parsing and conversion
library"
+HOMEPAGE="
+ https://github.com/lextudio/pysmi/
+ https://pypi.org/project/pysmi/
+"
+# 1.6.1 removed tests
+SRC_URI="
+ https://github.com/lextudio/pysmi/archive/v${PV}.tar.gz
+ -> ${P}.gh.tar.gz
+"
+
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~sparc ~x86"
+
+RDEPEND="
+ >=dev-python/jinja2-3.1.3[${PYTHON_USEDEP}]
+ >=dev-python/ply-3.11[${PYTHON_USEDEP}]
+ >=dev-python/requests-2.26.0[${PYTHON_USEDEP}]
+"
+BDEPEND="
+ test? (
+ >=dev-python/pysnmp-7.1.16[${PYTHON_USEDEP}]
+ )
+"
+
+EPYTEST_XDIST=1
+distutils_enable_tests pytest
+
+python_test() {
+ local EPYTEST_DESELECT=(
+ # incompatibility with pysnmp >= 7
+
tests/test_objecttype_smiv2_pysnmp.py::ObjectTypeBitsTestCase::testObjectTypeSyntax
+ )
+
+ local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+ epytest
+}