diff options
author | Michał Górny <mgorny@gentoo.org> | 2024-11-05 19:53:02 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2024-11-05 20:30:25 +0100 |
commit | 5fdcc4384ede9dbe54acb3bb08e44d829b831577 (patch) | |
tree | 0892312471a586a964cdf962057835447591f8fe /dev-python/pysmi | |
parent | dev-python/pysnmp: Bump to 7.1.11 (diff) | |
download | gentoo-5fdcc4384ede9dbe54acb3bb08e44d829b831577.tar.gz gentoo-5fdcc4384ede9dbe54acb3bb08e44d829b831577.tar.bz2 gentoo-5fdcc4384ede9dbe54acb3bb08e44d829b831577.zip |
dev-python/pysmi: Bump to 1.5.9
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/pysmi')
-rw-r--r-- | dev-python/pysmi/Manifest | 1 | ||||
-rw-r--r-- | dev-python/pysmi/pysmi-1.5.9.ebuild | 42 |
2 files changed, 43 insertions, 0 deletions
diff --git a/dev-python/pysmi/Manifest b/dev-python/pysmi/Manifest index 721a28e7250c..ee5331b9d625 100644 --- a/dev-python/pysmi/Manifest +++ b/dev-python/pysmi/Manifest @@ -1,3 +1,4 @@ DIST pysmi-1.5.0.tar.gz 124064 BLAKE2B 763501b0fd575e356944372f0f173857d8a982a1cc7342636807d7147f7b6615d9c9518f099fb3071356957f0775e7bbd6b5f37d2110947ad22585cc44dff461 SHA512 f99fbc186b2fd481b16269e5b3622821b932459ec97023968ce8e0ae5c2d863702122a44fafb26d901b8a0b03c02f97e60c6999bdde0f19d551a61daf4e926b5 DIST pysmi-1.5.6.tar.gz 123690 BLAKE2B bd5ca7b8bb5e9eaa3e16f59e4c32eed3cc80a0d17e7834fd0512271ea1b24dfc473d3b63943c4e621d6ba4e469eb5005fe1855387bed831e314e1e349a655d84 SHA512 86522b72726cd6f279a8259ed1037f23b2c03b302c0981e6a89f5a7e93b602a65b2bc8e3a264dea738f10710280a618b93f24563c89e66a30cc0661a90e79549 DIST pysmi-1.5.7.tar.gz 128727 BLAKE2B b53e5c3992bafe66052550b92a2e835773c1f6549135466ab541d1cbc04b96fdbe240276561f41d88651f7f3debedd3505166129efcbe230c28bb98e79ae95be SHA512 80eab0c3c685da1ab46a8a7945ad7e31df0b2d7b089bb00e0df5445b4df9ab6ba3d244c69878a5e078cfb9f660307c0261e73c09b7e0e1b1acec157cafa6eaf6 +DIST pysmi-1.5.9.tar.gz 131529 BLAKE2B d3ef2a848815b1d33f9f545a002c2e7a04ddf97979974c53dad4e6b7372369820c011a3996592ed3ad8625b306cc35bafb5fb9230d6155a64ecc53803e5db973 SHA512 3f580b96d677acd5ca5b107186269ee0ef6673326746cc3f09d8fb5fe549fa1456783f33c5213c288c783190220ae30ef2cfb71e9947804abbee38d5792bfa09 diff --git a/dev-python/pysmi/pysmi-1.5.9.ebuild b/dev-python/pysmi/pysmi-1.5.9.ebuild new file mode 100644 index 000000000000..72d69ec64ebd --- /dev/null +++ b/dev-python/pysmi/pysmi-1.5.9.ebuild @@ -0,0 +1,42 @@ +# Copyright 2017-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="Pure-Python implementation of SNMP/SMI MIB parsing and conversion library" +HOMEPAGE=" + https://github.com/lextudio/pysmi/ + https://pypi.org/project/pysmi/ +" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~sparc ~x86" + +RDEPEND=" + >=dev-python/jinja-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.11[${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 +} |