diff options
Diffstat (limited to 'dev-python/pysnmp')
-rw-r--r-- | dev-python/pysnmp/Manifest | 6 | ||||
-rw-r--r-- | dev-python/pysnmp/files/pysnmp-4.4.12-python310.patch | 36 | ||||
-rw-r--r-- | dev-python/pysnmp/files/pysnmp-4.4.12-setuptools-version.patch | 20 | ||||
-rw-r--r-- | dev-python/pysnmp/pysnmp-4.4.12-r2.ebuild | 48 | ||||
-rw-r--r-- | dev-python/pysnmp/pysnmp-7.0.3.ebuild | 2 |
5 files changed, 2 insertions, 110 deletions
diff --git a/dev-python/pysnmp/Manifest b/dev-python/pysnmp/Manifest index 5656e95f632e..1df6e4c310f7 100644 --- a/dev-python/pysnmp/Manifest +++ b/dev-python/pysnmp/Manifest @@ -1,7 +1,3 @@ -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 DIST pysnmp-7.0.3.tar.gz 427830 BLAKE2B 5855095c40ca63bfb705293d33d061d94ad0958ab854863fb73468d6aee846ea2fd843f4444eb93a29cb8c1ec3043e1d90445628e66392b04d43d2c027c4ce79 SHA512 9c23ab7073b40ae43a6c56b81c05ef6639f99f44153dcb2f97a455402495cfb5dc8f70025331d5461e6e18a66e1de8246506947bc80465df67cba2381d0d891d -EBUILD pysnmp-4.4.12-r2.ebuild 1150 BLAKE2B 6d1be0bcd7c8728a0a0617cd9135f3f7bff86b02a5005997590df7d5258f9a58e98b4a57e1bb043aeb8a32428c828aaca56079aa7d364f3cb8416f7361186f74 SHA512 a66daca5322ce02c53c6805876c8f2f88b435395d3bb9b66e46290f2b2ec5d58f50d308886625d1252278d8573861336ecbbbb7137e22b9a85c44160dcb6bf2b -EBUILD pysnmp-7.0.3.ebuild 918 BLAKE2B ba0b2fc5cd69bdd8e7259d6001b198e4da2b69cfecf00338ca0b3fb869471045741f3c3a7b445b35a7d18c8f7809c03e706e54ff322692f4202f9b5db34d8a77 SHA512 a3e20609b3879a947443a6692e10179bc0f1226c8219eb0ca26401c33f8704f92e6c0391deffeabaac309398e9c85bc48aff3993262c9999c846f36c66aaea6e +EBUILD pysnmp-7.0.3.ebuild 914 BLAKE2B c97a2ed8d6e36eb5f1a3a9c363b4bc48037c133b62006bc4628a73d284b0ea82a92c09dc30ac73146bcbd3aacd4e8003cb2ca6767fe1a59e671df6bbb616d513 SHA512 4d49cb3bc0e472ec457f5572ece1825da4c87b9edd51a69281f6c58f3c30b70ead02093b4072cc871a2f801d9240cc464caf31561a8769df3957314641cea82d MISC metadata.xml 1548 BLAKE2B f5677ff5c8214dee58dedca8b1c3b64058cf6824a5296d93e1ea827d24b662ed705c1b863969f6fab40314fc7a97e332695b2bc8cd44be2374c43f1eb5af3887 SHA512 b2e9ddeaef3fe6b2c3248395a7c55becb20910a1cd12f80c0daee72ec46271ffb0dbaa96d525d7d05d5dd4c7dfbfc01a4d317611428b3e716bae26b2160c7ed0 diff --git a/dev-python/pysnmp/files/pysnmp-4.4.12-python310.patch b/dev-python/pysnmp/files/pysnmp-4.4.12-python310.patch deleted file mode 100644 index 1fd272d8b5b6..000000000000 --- a/dev-python/pysnmp/files/pysnmp-4.4.12-python310.patch +++ /dev/null @@ -1,36 +0,0 @@ -https://github.com/etingof/pysnmp/pull/415 - -From 1d83beddd61b71e71dd725a12813a7052c14f730 Mon Sep 17 00:00:00 2001 -From: Flaviu Tamas <me@flaviutamas.com> -Date: Sun, 26 Dec 2021 18:07:09 -0500 -Subject: [PATCH 1/2] Fixes #413 - -Thanks to @mheppner for finding the issue and reporting the bug. ---- a/pysnmp/carrier/asyncio/dgram/base.py -+++ b/pysnmp/carrier/asyncio/dgram/base.py -@@ -44,7 +44,7 @@ - from pysnmp.carrier import error - from pysnmp.carrier.asyncio.base import AbstractAsyncioTransport - --IS_PYTHON_344_PLUS = platform.python_version_tuple() >= ('3', '4', '4') -+IS_PYTHON_344_PLUS = [int(v) for v in platform.python_version_tuple()] >= [3, 4, 4] - - - class DgramAsyncioProtocol(asyncio.DatagramProtocol, AbstractAsyncioTransport): - -From fc5ad9c1b1b9195f49d327f471705f9519ce5c09 Mon Sep 17 00:00:00 2001 -From: Flaviu Tamas <me@flaviutamas.com> -Date: Fri, 31 Dec 2021 11:41:09 -0500 -Subject: [PATCH 2/2] Fix python 3.10 compatability, part 2 - ---- a/pysnmp/carrier/asyncio/dispatch.py -+++ b/pysnmp/carrier/asyncio/dispatch.py -@@ -43,7 +43,7 @@ - from pysnmp.carrier.base import AbstractTransportDispatcher - from pysnmp.error import PySnmpError - --IS_PYTHON_344_PLUS = platform.python_version_tuple() >= ('3', '4', '4') -+IS_PYTHON_344_PLUS = [int(v) for v in platform.python_version_tuple()] >= [3, 4, 4] - - - class AsyncioDispatcher(AbstractTransportDispatcher): diff --git a/dev-python/pysnmp/files/pysnmp-4.4.12-setuptools-version.patch b/dev-python/pysnmp/files/pysnmp-4.4.12-setuptools-version.patch deleted file mode 100644 index e2793fd6eeaa..000000000000 --- a/dev-python/pysnmp/files/pysnmp-4.4.12-setuptools-version.patch +++ /dev/null @@ -1,20 +0,0 @@ -https://github.com/etingof/pysnmp/commit/2ee8b8707d36e772d6308f434b445a766e6586e7 -https://bugs.gentoo.org/836608 - -From 2ee8b8707d36e772d6308f434b445a766e6586e7 Mon Sep 17 00:00:00 2001 -From: Michael Weiss <dev.primeos@gmail.com> -Date: Thu, 7 Nov 2019 18:55:45 +0100 -Subject: [PATCH] Improve the setuptools version check (#322) - -Handles malformed `setuptools.__version__` such as "41.4.0.post20191022" ---- a/setup.py -+++ b/setup.py -@@ -85,7 +85,7 @@ def howto_install_setuptools(): - - setup, Command = setuptools.setup, setuptools.Command - -- observed_version = [int(x) for x in setuptools.__version__.split('.')] -+ observed_version = [int(x) for x in setuptools.__version__.split('.')[:3]] - required_version = [36, 2, 0] - - # NOTE(etingof): require fresh setuptools to build proper wheels diff --git a/dev-python/pysnmp/pysnmp-4.4.12-r2.ebuild b/dev-python/pysnmp/pysnmp-4.4.12-r2.ebuild deleted file mode 100644 index 9a510e7893fa..000000000000 --- a/dev-python/pysnmp/pysnmp-4.4.12-r2.ebuild +++ /dev/null @@ -1,48 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{9..11} ) -inherit distutils-r1 optfeature pypi - -DESCRIPTION="Python SNMP library" -HOMEPAGE="https://pypi.org/project/pysnmp/ https://github.com/etingof/pysnmp" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 ~arm arm64 ppc ~sparc x86" -IUSE="doc examples" - -RDEPEND=" - >=dev-python/pyasn1-0.2.3[${PYTHON_USEDEP}] - dev-python/pycryptodome[${PYTHON_USEDEP}]" -PDEPEND="dev-python/pysmi[${PYTHON_USEDEP}]" - -PATCHES=( - "${FILESDIR}"/${P}-setuptools-version.patch - "${FILESDIR}"/${PN}-4.4.12-python310.patch -) - -distutils_enable_sphinx docs/source - -python_prepare_all() { - touch docs/source/conf.py || die - distutils-r1_python_prepare_all -} - -python_install_all() { - if use examples; then - docinto examples - dodoc -r examples/. docs/mibs - docompress -x /usr/share/doc/${PF}/examples - fi - - distutils-r1_python_install_all -} - -pkg_postinst() { - 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 index 145d170a0ab7..10f800ed6118 100644 --- a/dev-python/pysnmp/pysnmp-7.0.3.ebuild +++ b/dev-python/pysnmp/pysnmp-7.0.3.ebuild @@ -15,7 +15,7 @@ HOMEPAGE=" LICENSE="BSD-2" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~sparc ~x86" +KEYWORDS="amd64 ~arm arm64 ppc ~sparc x86" PROPERTIES="test_network" RESTRICT="test" |