diff options
author | Arthur Zamarin <arthurzam@gmail.com> | 2021-08-05 23:07:15 +0300 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2021-08-07 14:16:08 +0200 |
commit | c2d30fe3b6190bfc887689ff3f17bcc70c1bf4f0 (patch) | |
tree | d719cc7bc599019e27efa5e752a054b661b35608 /dev-python/pysnmp | |
parent | net-print/hplip-plugin: Version bump to 3.21.6 (diff) | |
download | gentoo-c2d30fe3b6190bfc887689ff3f17bcc70c1bf4f0.tar.gz gentoo-c2d30fe3b6190bfc887689ff3f17bcc70c1bf4f0.tar.bz2 gentoo-c2d30fe3b6190bfc887689ff3f17bcc70c1bf4f0.zip |
dev-python/pysnmp: enable py3.10, use optfeature
Signed-off-by: Arthur Zamarin <arthurzam@gmail.com>
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/pysnmp')
-rw-r--r-- | dev-python/pysnmp/pysnmp-4.4.12-r1.ebuild | 11 | ||||
-rw-r--r-- | 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 ddbf9d265f40..b22b2db34bee 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 10dccaf53f2d..3e79289ba474 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 } |