SwordArMor-gentoo-overlay/net-dns/nagios-check_dns_sync/nagios-check_dns_sync-9999.ebuild
Alarig Le Lay 8c1aa166c5
net-dns/nagios-check_dns_sync: Adding py3.9 support
Package-Manager: Portage-3.0.18, Repoman-3.0.2
Signed-off-by: Alarig Le Lay <alarig@swordarmor.fr>
2021-06-22 09:23:09 +02:00

35 lines
731 B
Bash

# Copyright 2020-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{6..9} )
inherit distutils-r1 git-r3
MY_PN=${PN/nagios-/}
DESCRIPTION="A nagios-like plugin to check that zones are synced"
HOMEPAGE="https://github.com/paulla/check_dns_sync"
MY_GITHUB_AUTHOR="paulla"
EGIT_REPO_URI="https://github.com/${MY_GITHUB_AUTHOR}/${MY_PN}.git"
LICENSE="BSD-2"
SLOT="0"
KEYWORDS=""
IUSE=""
DEPEND=""
RDEPEND="
${DEPEND}
dev-python/nagiosplugin[${PYTHON_USEDEP}]
net-dns/bind-tools
"
BDEPEND=""
src_install() {
default
python_scriptinto /usr/lib64/nagios/plugins/
python_foreach_impl python_newscript src/check_dns_sync/check_dns_sync.py \
check_dns_sync
}