dev-python/pysmi: Bump to 1.6.1

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny 2025-04-27 04:26:17 +02:00
parent 5b6185ee82
commit 512c0d915a
No known key found for this signature in database
GPG Key ID: 639ADAE2329E240E
2 changed files with 49 additions and 0 deletions

View File

@ -1 +1,2 @@
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

View File

@ -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_{10..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
}