diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-08-31 12:01:05 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-08-31 12:01:05 +0100 |
commit | 5b7f6475da27c05b30659a00ecb49636aca2bece (patch) | |
tree | f67500afbab4acebaa18739efa57f79c7ee620b3 /dev-python/pysnmp | |
parent | 2e8abb8c82f14dd064991a1afd337b2f022b37f6 (diff) |
gentoo auto-resync : 31:08:2024 - 12:01:05
Diffstat (limited to 'dev-python/pysnmp')
-rw-r--r-- | dev-python/pysnmp/Manifest | 6 | ||||
-rw-r--r-- | dev-python/pysnmp/metadata.xml | 2 | ||||
-rw-r--r-- | dev-python/pysnmp/pysnmp-4.4.12-r2.ebuild | 4 | ||||
-rw-r--r-- | dev-python/pysnmp/pysnmp-7.0.3.ebuild | 42 |
4 files changed, 49 insertions, 5 deletions
diff --git a/dev-python/pysnmp/Manifest b/dev-python/pysnmp/Manifest index 587549ece815..4cff13466b43 100644 --- a/dev-python/pysnmp/Manifest +++ b/dev-python/pysnmp/Manifest @@ -1,5 +1,7 @@ AUX pysnmp-4.4.12-python310.patch 1368 BLAKE2B e06fc35d21ad783a023186a76862c6481811060ac7d62be1d869db00ef765ea6de43db740bcac3a0739971b0fcf3f572aa10b67c11ccb2230a3887fedebf7de7 SHA512 ce55137dc7ede872ff177d5f5e429f4e9aaa15964ecdef02fd2ebcd6164debb84b9e5720fd0def6478d8fa08676a56ec3ab0a093ae5b8f9f4160e185d5bd2606 AUX pysnmp-4.4.12-setuptools-version.patch 807 BLAKE2B 84e1db3f4da12341ed243ce65eb3a5fdad1c12a9b1398fb630e8164326acf2b739cd0c103fff9e7dd49b73ce29b8d96872e617937e5eee39a0372bf97f4842ca SHA512 432c8e8f7e001e98ff0c7fb40dae948467bbdb646cd0a5a9cace4e3227c471f792df5c7d35ceea7eeda9c1bcb96d7a35ef8bed8fbb562bdd7e36bb98d8f371e5 DIST pysnmp-4.4.12.tar.gz 442270 BLAKE2B 0e4e1c44d7fe1def24d8bd12bf88012eb54d432888745becacdc9c072ab5a653eb947ee418f6b7b3f84bed39d6656dac25ea00a2accfa546d7310be17b04c8ee SHA512 f22a346443cb07beea594b67b09ce587f5602a439c68148b8a655a0d2c769893848bfcfdd47b5f0002f48c650bf3a39186edddf977fb3ad2cc0d124e66f2ce94 -EBUILD pysnmp-4.4.12-r2.ebuild 1153 BLAKE2B ef9250dfac2a144ff73c970dca1e0b59006f77cb164527197c0629f3bdeb19118066357d6da2766697d6a8c77a75de8d5d50a1a241935239e423df941e7371a3 SHA512 c673b08d2701c0ec584fc11806cb3d1468dd17fa6092002058f29b92a3b341df0bb1c89701379c4d2b97811301c64dada97decaf91243b394d3f02a4cdf2fe65 -MISC metadata.xml 1547 BLAKE2B 9bc643def12cb32e23f3e0786a1ff9ba104f87eeb7a0bbf406bdce6d2c37e0c8609b8cd04289565dc54c0dbc5e8d397575504a09893b1cdc35e2c236d3521439 SHA512 616d2ba5939ca577952b5a99be23df428f40add91c5c3837096e2f5569bd8e460a701a93876626230d6f4757137f5e3b578d98b8e19dd27317f8012178cd0a5c +DIST pysnmp-7.0.3.tar.gz 427830 BLAKE2B 5855095c40ca63bfb705293d33d061d94ad0958ab854863fb73468d6aee846ea2fd843f4444eb93a29cb8c1ec3043e1d90445628e66392b04d43d2c027c4ce79 SHA512 9c23ab7073b40ae43a6c56b81c05ef6639f99f44153dcb2f97a455402495cfb5dc8f70025331d5461e6e18a66e1de8246506947bc80465df67cba2381d0d891d +EBUILD pysnmp-4.4.12-r2.ebuild 1156 BLAKE2B 062dc9078477db1c831d7c5a30b7961f4635271d553ab7e5376d9999437f23d62a395a972a90e48e1ab08fcf2233bef8397357400e9784bfcc8c80d2e3cc1822 SHA512 03ddb84c18277e562af906aad5f0c73dc811d78011b132218ac95b76dad94ef571f88973cd2cf2b332149cefdf54713cde1e0d5f7bdd30e9f16c1b1cc4401aed +EBUILD pysnmp-7.0.3.ebuild 918 BLAKE2B ba0b2fc5cd69bdd8e7259d6001b198e4da2b69cfecf00338ca0b3fb869471045741f3c3a7b445b35a7d18c8f7809c03e706e54ff322692f4202f9b5db34d8a77 SHA512 a3e20609b3879a947443a6692e10179bc0f1226c8219eb0ca26401c33f8704f92e6c0391deffeabaac309398e9c85bc48aff3993262c9999c846f36c66aaea6e +MISC metadata.xml 1548 BLAKE2B f5677ff5c8214dee58dedca8b1c3b64058cf6824a5296d93e1ea827d24b662ed705c1b863969f6fab40314fc7a97e332695b2bc8cd44be2374c43f1eb5af3887 SHA512 b2e9ddeaef3fe6b2c3248395a7c55becb20910a1cd12f80c0daee72ec46271ffb0dbaa96d525d7d05d5dd4c7dfbfc01a4d317611428b3e716bae26b2160c7ed0 diff --git a/dev-python/pysnmp/metadata.xml b/dev-python/pysnmp/metadata.xml index 0640054adfe6..6e5f3b18b770 100644 --- a/dev-python/pysnmp/metadata.xml +++ b/dev-python/pysnmp/metadata.xml @@ -27,6 +27,6 @@ <upstream> <remote-id type="pypi">pysnmp</remote-id> <remote-id type="sourceforge">pysnmp</remote-id> - <remote-id type="github">etingof/pysnmp</remote-id> + <remote-id type="github">lextudio/pysnmp</remote-id> </upstream> </pkgmetadata> diff --git a/dev-python/pysnmp/pysnmp-4.4.12-r2.ebuild b/dev-python/pysnmp/pysnmp-4.4.12-r2.ebuild index 51959b8d4515..f02b6c629fd6 100644 --- a/dev-python/pysnmp/pysnmp-4.4.12-r2.ebuild +++ b/dev-python/pysnmp/pysnmp-4.4.12-r2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -42,7 +42,7 @@ python_install_all() { } pkg_postinst() { - optfeature "Example programs using pysnmp" dev-python/pysnmp-apps + optfeature "Example programs using pysnmp" net-analyzer/snmpclitools optfeature "IETF and other mibs" dev-python/pysnmp-mibs optfeature "Dump MIBs in python format" dev-python/pysmi } diff --git a/dev-python/pysnmp/pysnmp-7.0.3.ebuild b/dev-python/pysnmp/pysnmp-7.0.3.ebuild new file mode 100644 index 000000000000..145d170a0ab7 --- /dev/null +++ b/dev-python/pysnmp/pysnmp-7.0.3.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/pyasn1-0.4.8[${PYTHON_USEDEP}] + >=dev-python/pysnmpcrypto-0.0.4[${PYTHON_USEDEP}] + >=dev-python/pysmi-1.3.0[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + >=dev-python/pysmi-1.3.0[${PYTHON_USEDEP}] + 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() { + mibdump NET-SNMP-EXAMPLES-MIB || die + epytest +} |