From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 31359139360 for ; Sat, 7 Aug 2021 12:16:45 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 54723E086C; Sat, 7 Aug 2021 12:16:44 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 05C3FE086C for ; Sat, 7 Aug 2021 12:16:43 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 591AE342B07 for ; Sat, 7 Aug 2021 12:16:42 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id BCB207D6 for ; Sat, 7 Aug 2021 12:16:40 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1628338568.c2d30fe3b6190bfc887689ff3f17bcc70c1bf4f0.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pysnmp/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/pysnmp/pysnmp-4.4.12-r1.ebuild dev-python/pysnmp/pysnmp-999999.ebuild X-VCS-Directories: dev-python/pysnmp/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: c2d30fe3b6190bfc887689ff3f17bcc70c1bf4f0 X-VCS-Branch: master Date: Sat, 7 Aug 2021 12:16:40 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: f4e3f34c-d7bf-4e13-bbbc-373e9ddb721a X-Archives-Hash: b2f7be112be23dc31e73d450d499fed6 commit: c2d30fe3b6190bfc887689ff3f17bcc70c1bf4f0 Author: Arthur Zamarin gmail com> AuthorDate: Thu Aug 5 20:07:15 2021 +0000 Commit: Michał Górny gentoo org> CommitDate: Sat Aug 7 12:16:08 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c2d30fe3 dev-python/pysnmp: enable py3.10, use optfeature Signed-off-by: Arthur Zamarin gmail.com> Signed-off-by: Michał Górny gentoo.org> dev-python/pysnmp/pysnmp-4.4.12-r1.ebuild | 11 +++++------ dev-python/pysnmp/pysnmp-999999.ebuild | 13 ++++++------- 2 files changed, 11 insertions(+), 13 deletions(-) diff --git a/dev-python/pysnmp/pysnmp-4.4.12-r1.ebuild b/dev-python/pysnmp/pysnmp-4.4.12-r1.ebuild index ddbf9d265f4..b22b2db34be 100644 --- a/dev-python/pysnmp/pysnmp-4.4.12-r1.ebuild +++ b/dev-python/pysnmp/pysnmp-4.4.12-r1.ebuild @@ -3,8 +3,8 @@ EAPI=7 -PYTHON_COMPAT=( python3_{7..9} ) -inherit distutils-r1 +PYTHON_COMPAT=( python3_{8..10} ) +inherit distutils-r1 optfeature DESCRIPTION="Python SNMP library" HOMEPAGE="https://pypi.org/project/pysnmp/ https://github.com/etingof/pysnmp" @@ -38,8 +38,7 @@ python_install_all() { } pkg_postinst() { - elog "You may also be interested in the following packages: " - elog "dev-python/pysnmp-apps - example programs using pysnmp" - elog "dev-python/pysnmp-mibs - IETF and other mibs" - elog "dev-python/pysmi - to dump MIBs in python format" + optfeature "Example programs using pysnmp" dev-python/pysnmp-apps + 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-999999.ebuild b/dev-python/pysnmp/pysnmp-999999.ebuild index 10dccaf53f2..3e79289ba47 100644 --- a/dev-python/pysnmp/pysnmp-999999.ebuild +++ b/dev-python/pysnmp/pysnmp-999999.ebuild @@ -1,10 +1,10 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 -PYTHON_COMPAT=( python3_{7..9} ) -inherit distutils-r1 git-r3 +PYTHON_COMPAT=( python3_{7..10} ) +inherit distutils-r1 git-r3 optfeature DESCRIPTION="Python SNMP library" HOMEPAGE="https://pypi.org/project/pysnmp/ https://github.com/etingof/pysnmp" @@ -37,8 +37,7 @@ python_install_all() { } pkg_postinst() { - elog "You may also be interested in the following packages: " - elog "dev-python/pysnmp-apps - example programs using pysnmp" - elog "dev-python/pysnmp-mibs - IETF and other mibs" - elog "dev-python/pysmi - to dump MIBs in python format" + optfeature "Example programs using pysnmp" dev-python/pysnmp-apps + optfeature "IETF and other mibs" dev-python/pysnmp-mibs + optfeature "Dump MIBs in python format" dev-python/pysmi }