net-dns/nagios-check_dane: enable py3.12

Signed-off-by: Alarig Le Lay <alarig@swordarmor.fr>
This commit is contained in:
Alarig Le Lay 2024-07-02 12:01:24 +02:00
parent 41f0bf39d2
commit b7ee623529
Signed by: alarig
GPG key ID: 7AFE62C6DF8BCDEC
2 changed files with 12 additions and 12 deletions

View file

@ -1,13 +1,15 @@
DEFINED_PHASES=install DEFINED_PHASES=install
DEPEND=dev-libs/openssl dev-python/dnspython
DESCRIPTION=Nagios/Icinga plugin for checking DANE/TLSA records DESCRIPTION=Nagios/Icinga plugin for checking DANE/TLSA records
EAPI=8 EAPI=8
HOMEPAGE=https://github.com/debfx/check_dane HOMEPAGE=https://github.com/debfx/check_dane
INHERIT=python-r1 INHERIT=python-r1
IUSE=python_targets_python3_10 python_targets_python3_11 IUSE=python_targets_python3_10 python_targets_python3_11 python_targets_python3_12
KEYWORDS=~amd64 ~x86 KEYWORDS=~amd64 ~x86
LICENSE=GPL-3 LICENSE=GPL-3
RDEPEND=>=dev-lang/python-3.4 dev-libs/openssl dev-python/dnspython RDEPEND=python_targets_python3_10? ( dev-lang/python:3.10 ) python_targets_python3_11? ( dev-lang/python:3.11 ) python_targets_python3_12? ( dev-lang/python:3.12 )
REQUIRED_USE=|| ( python_targets_python3_10 python_targets_python3_11 python_targets_python3_12 )
SLOT=0 SLOT=0
SRC_URI=https://github.com/debfx/check_dane/archive/1.1.tar.gz -> nagios-check_dane-1.1.tar.gz SRC_URI=https://github.com/debfx/check_dane/archive/1.1.tar.gz -> nagios-check_dane-1.1.tar.gz
_eclasses_=out-of-source-utils 1a9007554652a6e627edbccb3c25a439 multibuild d67e78a235f541871c7dfe4cf7931489 multiprocessing 30ead54fa2e2b5f9cd4e612ffc34d0fe toolchain-funcs e56c7649b804f051623c8bc1a1c44084 multilib c19072c3cd7ac5cb21de013f7e9832e0 python-utils-r1 8b220bbce5c119fb1d4d5c2f5588f3ea python-r1 8a28fa6d3e3bc96ff8a7eff2badbe71f _eclasses_=out-of-source-utils 1a9007554652a6e627edbccb3c25a439 multibuild d67e78a235f541871c7dfe4cf7931489 multiprocessing 30ead54fa2e2b5f9cd4e612ffc34d0fe toolchain-funcs e56c7649b804f051623c8bc1a1c44084 multilib c19072c3cd7ac5cb21de013f7e9832e0 python-utils-r1 8b220bbce5c119fb1d4d5c2f5588f3ea python-r1 428f5c53276c2adc06a89108fc2f9f46
_md5_=2ea5e2687aa34ea2707b5a08318af095 _md5_=bba88e1014d08bdf9aab6dacd7cac6cf

View file

@ -3,7 +3,7 @@
EAPI=8 EAPI=8
PYTHON_COMPAT=( python3_{9..11} ) PYTHON_COMPAT=( python3_{10..12} )
inherit python-r1 inherit python-r1
MY_PN=${PN/nagios-/} MY_PN=${PN/nagios-/}
@ -13,20 +13,18 @@ HOMEPAGE="https://github.com/debfx/check_dane"
MY_GITHUB_AUTHOR="debfx" MY_GITHUB_AUTHOR="debfx"
SRC_URI="https://github.com/${MY_GITHUB_AUTHOR}/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" SRC_URI="https://github.com/${MY_GITHUB_AUTHOR}/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/${MY_PN}-${PV}"
LICENSE="GPL-3" LICENSE="GPL-3"
SLOT="0" SLOT="0"
KEYWORDS="~amd64 ~x86" KEYWORDS="~amd64 ~x86"
IUSE="" REQUIRED_USE="${PYTHON_REQUIRED_USE}"
DEPEND="" DEPEND="
RDEPEND="${DEPEND}
>=dev-lang/python-3.4
dev-libs/openssl dev-libs/openssl
dev-python/dnspython dev-python/dnspython
" "
BDEPEND="" RDEPEND="${PYTHON_DEPS}"
S="${WORKDIR}/${MY_PN}-${PV}"
src_install() { src_install() {
python_scriptinto /usr/lib64/nagios/plugins/ python_scriptinto /usr/lib64/nagios/plugins/