From b7ee6235299b747c26ae5d46c47b9eb0ab968cc2 Mon Sep 17 00:00:00 2001 From: Alarig Le Lay Date: Tue, 2 Jul 2024 12:01:24 +0200 Subject: [PATCH] net-dns/nagios-check_dane: enable py3.12 Signed-off-by: Alarig Le Lay --- metadata/md5-cache/net-dns/nagios-check_dane-1.1 | 10 ++++++---- .../nagios-check_dane/nagios-check_dane-1.1.ebuild | 14 ++++++-------- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/metadata/md5-cache/net-dns/nagios-check_dane-1.1 b/metadata/md5-cache/net-dns/nagios-check_dane-1.1 index 90c42a7..0f73eed 100644 --- a/metadata/md5-cache/net-dns/nagios-check_dane-1.1 +++ b/metadata/md5-cache/net-dns/nagios-check_dane-1.1 @@ -1,13 +1,15 @@ DEFINED_PHASES=install +DEPEND=dev-libs/openssl dev-python/dnspython DESCRIPTION=Nagios/Icinga plugin for checking DANE/TLSA records EAPI=8 HOMEPAGE=https://github.com/debfx/check_dane 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 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 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 -_md5_=2ea5e2687aa34ea2707b5a08318af095 +_eclasses_=out-of-source-utils 1a9007554652a6e627edbccb3c25a439 multibuild d67e78a235f541871c7dfe4cf7931489 multiprocessing 30ead54fa2e2b5f9cd4e612ffc34d0fe toolchain-funcs e56c7649b804f051623c8bc1a1c44084 multilib c19072c3cd7ac5cb21de013f7e9832e0 python-utils-r1 8b220bbce5c119fb1d4d5c2f5588f3ea python-r1 428f5c53276c2adc06a89108fc2f9f46 +_md5_=bba88e1014d08bdf9aab6dacd7cac6cf diff --git a/net-dns/nagios-check_dane/nagios-check_dane-1.1.ebuild b/net-dns/nagios-check_dane/nagios-check_dane-1.1.ebuild index af39e06..743e612 100644 --- a/net-dns/nagios-check_dane/nagios-check_dane-1.1.ebuild +++ b/net-dns/nagios-check_dane/nagios-check_dane-1.1.ebuild @@ -3,7 +3,7 @@ EAPI=8 -PYTHON_COMPAT=( python3_{9..11} ) +PYTHON_COMPAT=( python3_{10..12} ) inherit python-r1 MY_PN=${PN/nagios-/} @@ -13,20 +13,18 @@ HOMEPAGE="https://github.com/debfx/check_dane" MY_GITHUB_AUTHOR="debfx" 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" SLOT="0" KEYWORDS="~amd64 ~x86" -IUSE="" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" -DEPEND="" -RDEPEND="${DEPEND} - >=dev-lang/python-3.4 +DEPEND=" dev-libs/openssl dev-python/dnspython " -BDEPEND="" - -S="${WORKDIR}/${MY_PN}-${PV}" +RDEPEND="${PYTHON_DEPS}" src_install() { python_scriptinto /usr/lib64/nagios/plugins/