* [gentoo-commits] repo/gentoo:master commit in: dev-python/pysnmp/, dev-python/pysnmp/files/
@ 2024-09-14 14:07 Michał Górny
0 siblings, 0 replies; only message in thread
From: Michał Górny @ 2024-09-14 14:07 UTC (permalink / raw
To: gentoo-commits
commit: cc942a7008bbdf57132344cfafac460b2314e265
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Sep 14 14:04:42 2024 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Sep 14 14:04:42 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cc942a70
dev-python/pysnmp: Remove old
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/pysnmp/Manifest | 1 -
.../pysnmp/files/pysnmp-4.4.12-python310.patch | 36 ----------------
.../files/pysnmp-4.4.12-setuptools-version.patch | 20 ---------
dev-python/pysnmp/pysnmp-4.4.12-r2.ebuild | 48 ----------------------
4 files changed, 105 deletions(-)
diff --git a/dev-python/pysnmp/Manifest b/dev-python/pysnmp/Manifest
index f718d6d2fe49..cc3fa7a1e4d1 100644
--- a/dev-python/pysnmp/Manifest
+++ b/dev-python/pysnmp/Manifest
@@ -1,2 +1 @@
-DIST pysnmp-4.4.12.tar.gz 442270 BLAKE2B 0e4e1c44d7fe1def24d8bd12bf88012eb54d432888745becacdc9c072ab5a653eb947ee418f6b7b3f84bed39d6656dac25ea00a2accfa546d7310be17b04c8ee SHA512 f22a346443cb07beea594b67b09ce587f5602a439c68148b8a655a0d2c769893848bfcfdd47b5f0002f48c650bf3a39186edddf977fb3ad2cc0d124e66f2ce94
DIST pysnmp-7.0.3.tar.gz 427830 BLAKE2B 5855095c40ca63bfb705293d33d061d94ad0958ab854863fb73468d6aee846ea2fd843f4444eb93a29cb8c1ec3043e1d90445628e66392b04d43d2c027c4ce79 SHA512 9c23ab7073b40ae43a6c56b81c05ef6639f99f44153dcb2f97a455402495cfb5dc8f70025331d5461e6e18a66e1de8246506947bc80465df67cba2381d0d891d
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
-}
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2024-09-14 14:07 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-14 14:07 [gentoo-commits] repo/gentoo:master commit in: dev-python/pysnmp/, dev-python/pysnmp/files/ Michał Górny
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox