net-dns/nagios-check_dane: Switching to python-r1

Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Alarig Le Lay <alarig@swordarmor.fr
This commit is contained in:
Alarig Le Lay 2020-05-07 15:49:10 +02:00
parent e95d3b4079
commit 635831c6fe
Signed by: alarig
GPG key ID: 7AFE62C6DF8BCDEC

View file

@ -3,6 +3,9 @@
EAPI=7
PYTHON_COMPAT=( python3_{6,7,8} )
inherit python-r1
MY_PN=${PN/nagios-/}
DESCRIPTION="Nagios/Icinga plugin for checking DANE/TLSA records"
@ -26,8 +29,8 @@ BDEPEND=""
S="${WORKDIR}/${MY_PN}-${PV}"
src_install() {
exeinto /usr/lib64/nagios/plugins/
doexe check_dane
python_scriptinto /usr/lib64/nagios/plugins/
python_foreach_impl python_doscript check_dane
dodoc README.md
}