diff options
Diffstat (limited to 'dev-python/pysnmp')
-rw-r--r-- | dev-python/pysnmp/Manifest | 2 | ||||
-rw-r--r-- | dev-python/pysnmp/pysnmp-7.1.5.ebuild | 42 |
2 files changed, 44 insertions, 0 deletions
diff --git a/dev-python/pysnmp/Manifest b/dev-python/pysnmp/Manifest index 1df6e4c310f7..b539d0571a88 100644 --- a/dev-python/pysnmp/Manifest +++ b/dev-python/pysnmp/Manifest @@ -1,3 +1,5 @@ DIST pysnmp-7.0.3.tar.gz 427830 BLAKE2B 5855095c40ca63bfb705293d33d061d94ad0958ab854863fb73468d6aee846ea2fd843f4444eb93a29cb8c1ec3043e1d90445628e66392b04d43d2c027c4ce79 SHA512 9c23ab7073b40ae43a6c56b81c05ef6639f99f44153dcb2f97a455402495cfb5dc8f70025331d5461e6e18a66e1de8246506947bc80465df67cba2381d0d891d +DIST pysnmp-7.1.5.tar.gz 329154 BLAKE2B e4befd3a4e9dcbd777feff76af4df474952c7c91e787b43247e15ab32da162c9ea6ea4c56d059af811872b0119e6acc912a8c44c5efb96181db861589abaa2df SHA512 61a462c62c27a65c62a33ebb8d1f92efc1dd3284785ab8cdc3b0073d92d2aada2a0dea55629a7ea99ca181a30585cb729d994169fc2b6d4d029630cefff2648d EBUILD pysnmp-7.0.3.ebuild 914 BLAKE2B c97a2ed8d6e36eb5f1a3a9c363b4bc48037c133b62006bc4628a73d284b0ea82a92c09dc30ac73146bcbd3aacd4e8003cb2ca6767fe1a59e671df6bbb616d513 SHA512 4d49cb3bc0e472ec457f5572ece1825da4c87b9edd51a69281f6c58f3c30b70ead02093b4072cc871a2f801d9240cc464caf31561a8769df3957314641cea82d +EBUILD pysnmp-7.1.5.ebuild 950 BLAKE2B 401f090eefd8e2b68c22ee59cd446b67328056e6fe4c1f96214d4f70bf1fb2ff5955c5afa3fcb140758df0b17cb227746a3487f5ad2bc1777ffeaa7809d34bb2 SHA512 e8189162bcff082e564d2b560980b56f9d9448ee4111016be26f6ccf62b0dd834dd8feb1bcec9026747d3c0a56d4d644907d564a3653ded5f4eb887c72b0120f MISC metadata.xml 1548 BLAKE2B f5677ff5c8214dee58dedca8b1c3b64058cf6824a5296d93e1ea827d24b662ed705c1b863969f6fab40314fc7a97e332695b2bc8cd44be2374c43f1eb5af3887 SHA512 b2e9ddeaef3fe6b2c3248395a7c55becb20910a1cd12f80c0daee72ec46271ffb0dbaa96d525d7d05d5dd4c7dfbfc01a4d317611428b3e716bae26b2160c7ed0 diff --git a/dev-python/pysnmp/pysnmp-7.1.5.ebuild b/dev-python/pysnmp/pysnmp-7.1.5.ebuild new file mode 100644 index 000000000000..97044728012a --- /dev/null +++ b/dev-python/pysnmp/pysnmp-7.1.5.ebuild @@ -0,0 +1,42 @@ +# 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_{10..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.3.0[${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 -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + mibdump NET-SNMP-EXAMPLES-MIB || die + mibdump IF-MIB || die + epytest -p asyncio +} |