diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2024-11-06 06:52:33 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2024-11-06 06:52:33 +0000 |
| commit | 93380919930bb84943f6f35b49a4ffbb13fe4b37 (patch) | |
| tree | 7812254eeeaf864b4aea8a6d5069b75514ed9d4c /dev-python | |
| parent | 82aa4a9198c4807d2ee0f6e2a143b54db8e02aca (diff) | |
| download | baldeagleos-repo-93380919930bb84943f6f35b49a4ffbb13fe4b37.tar.gz baldeagleos-repo-93380919930bb84943f6f35b49a4ffbb13fe4b37.tar.xz baldeagleos-repo-93380919930bb84943f6f35b49a4ffbb13fe4b37.zip | |
Adding metadata
Diffstat (limited to 'dev-python')
| -rw-r--r-- | dev-python/pysmi/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/pysmi/pysmi-1.5.9.ebuild | 42 | ||||
| -rw-r--r-- | dev-python/pysnmp/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/pysnmp/pysnmp-7.1.11.ebuild | 49 |
4 files changed, 93 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..8cd67cbc731a --- /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_{9,10,11,12,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 +} diff --git a/dev-python/pysnmp/Manifest b/dev-python/pysnmp/Manifest index 7e80103a8f2f..7bad044e2ab1 100644 --- a/dev-python/pysnmp/Manifest +++ b/dev-python/pysnmp/Manifest @@ -1,4 +1,5 @@ DIST pysnmp-7.0.3.tar.gz 427830 BLAKE2B 5855095c40ca63bfb705293d33d061d94ad0958ab854863fb73468d6aee846ea2fd843f4444eb93a29cb8c1ec3043e1d90445628e66392b04d43d2c027c4ce79 SHA512 9c23ab7073b40ae43a6c56b81c05ef6639f99f44153dcb2f97a455402495cfb5dc8f70025331d5461e6e18a66e1de8246506947bc80465df67cba2381d0d891d +DIST pysnmp-7.1.11.tar.gz 378381 BLAKE2B 4800f2d1542489c7700a1e6429d4ea5e1fca204e5a1af807182b536e8eed78225116daa70ee50f32aedce5063f1aa0cfceef1d6de173a06cb98446e7e684a0f8 SHA512 3cbc9731269db43abeb154a90c9a0146c07555e5adc0e40c07b254a0a4395f275d6e1093eb0a6edaa6787e70b4714f376ba28cd210a80db1014c6cb5aa5b2a74 DIST pysnmp-7.1.7.tar.gz 343907 BLAKE2B a7e03c9f973d30f911d7b6dea3d03221dfd7d2db67aeb97242de9ef6d6a85cedb5cdefedf55cf9bdd9f84812b65fc320c56fd027f2a613163ac54dd7bbf729e4 SHA512 f4b1da334427fee6d9fc9b069e0d03687f195237356ef5f7065690b68ca8fc8abc25969c32acfb8d156d70567fdcf63154eca1d066fadf8020cb4fc0bfb1ce6e DIST pysnmp-7.1.8.tar.gz 344109 BLAKE2B 8c546eab5e0b937d3ef0259155cf6ee0afa6de00f05f6574a7e9f9207e97e204155eb310b81bae5badec20595c4b638189fd39e941ca141abc685f21b91b2bf0 SHA512 b300d9513021bb083ec0243449a39e635ff2bdbe8447d0cfb79fb1cfcea69e51ee593dadfca1f8a17590b648f86c63793757a56a9ba0aeab06a26c538499e50e DIST pysnmp-7.1.9.tar.gz 376850 BLAKE2B 7ef76f636434b7dc5f2c3f3cb21f1071861f8d597dfd6a1e3b5672929645889641abe5e7797a4c8586ec0a702549fa9dc1c5a861a78eb5aada9be7411dbecab9 SHA512 034a99e96311b24e8e0bdfec85e1e0b3f31c9573ff34a131a1005812d762d7b886f4c20e3074551f50e5457fa0f9b2a5a03374df62d348ebdaa5a63851ac94da diff --git a/dev-python/pysnmp/pysnmp-7.1.11.ebuild b/dev-python/pysnmp/pysnmp-7.1.11.ebuild new file mode 100644 index 000000000000..59db4fe102cf --- /dev/null +++ b/dev-python/pysnmp/pysnmp-7.1.11.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_{9,10,11,12,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 +} |
