mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
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>
This commit is contained in:
committed by
Michał Górny
parent
6cb350092e
commit
c2d30fe3b6
@@ -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
|
||||
}
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user