commit:     3a85cc0a537ce14f3185af4f05a7b38de6e4139a
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Mon Mar 31 17:38:38 2025 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Mon Mar 31 17:42:26 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3a85cc0a

net-analyzer/net-snmp: use python-single-r1.eclass

This package only needs a single python impl, which is passed to
autotools econf call. distutils-r1.eclass isn't used at all. There is no
difference in the hash of files before and after the change (if you
enable IUSE=python of course).

Closes: https://bugs.gentoo.org/909999
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 net-analyzer/net-snmp/net-snmp-5.9.4-r1.ebuild | 6 ++----
 net-analyzer/net-snmp/net-snmp-9999.ebuild     | 6 ++----
 2 files changed, 4 insertions(+), 8 deletions(-)

diff --git a/net-analyzer/net-snmp/net-snmp-5.9.4-r1.ebuild 
b/net-analyzer/net-snmp/net-snmp-5.9.4-r1.ebuild
index 78fcf925ee18..ba264e867217 100644
--- a/net-analyzer/net-snmp/net-snmp-5.9.4-r1.ebuild
+++ b/net-analyzer/net-snmp/net-snmp-5.9.4-r1.ebuild
@@ -1,15 +1,13 @@
-# Copyright 1999-2024 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
-DISTUTILS_OPTIONAL=yes
-DISTUTILS_SINGLE_IMPL=yes
 GENTOO_DEPEND_ON_PERL=no
 PYTHON_COMPAT=( python3_{10..12} )
 WANT_AUTOMAKE=none
 
-inherit autotools distutils-r1 libtool perl-module systemd
+inherit autotools python-single-r1 libtool perl-module systemd
 
 DESCRIPTION="Software for generating and retrieving SNMP data"
 HOMEPAGE="https://www.net-snmp.org/";

diff --git a/net-analyzer/net-snmp/net-snmp-9999.ebuild 
b/net-analyzer/net-snmp/net-snmp-9999.ebuild
index 6546b019fbb5..a96348082cd5 100644
--- a/net-analyzer/net-snmp/net-snmp-9999.ebuild
+++ b/net-analyzer/net-snmp/net-snmp-9999.ebuild
@@ -1,15 +1,13 @@
-# Copyright 1999-2024 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
-DISTUTILS_OPTIONAL=yes
-DISTUTILS_SINGLE_IMPL=yes
 GENTOO_DEPEND_ON_PERL=no
 PYTHON_COMPAT=( python3_{10..12} )
 WANT_AUTOMAKE=none
 
-inherit autotools distutils-r1 perl-module systemd
+inherit autotools python-single-r1 perl-module systemd
 
 DESCRIPTION="Software for generating and retrieving SNMP data"
 HOMEPAGE="https://www.net-snmp.org/";

Reply via email to