From 7fa8a1e3f149eea4c844c47cfe26136ed7614c58 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 15 Apr 2024 12:04:03 +0100 Subject: gentoo auto-resync : 15:04:2024 - 12:04:02 --- net-analyzer/nagios-check_multiple/Manifest | 2 +- .../nagios-check_multiple-0.0.1-r2.ebuild | 46 ---------------------- .../nagios-check_multiple-0.0.1-r3.ebuild | 46 ++++++++++++++++++++++ 3 files changed, 47 insertions(+), 47 deletions(-) delete mode 100644 net-analyzer/nagios-check_multiple/nagios-check_multiple-0.0.1-r2.ebuild create mode 100644 net-analyzer/nagios-check_multiple/nagios-check_multiple-0.0.1-r3.ebuild (limited to 'net-analyzer/nagios-check_multiple') diff --git a/net-analyzer/nagios-check_multiple/Manifest b/net-analyzer/nagios-check_multiple/Manifest index 5bd83058fb04..dfd5292e0939 100644 --- a/net-analyzer/nagios-check_multiple/Manifest +++ b/net-analyzer/nagios-check_multiple/Manifest @@ -1,3 +1,3 @@ DIST nagios-check_multiple-0.0.1.tar.gz 9376 BLAKE2B 2db464b7edd4aa704560a3f16a5d70e4cdef7cd35284e3c679f3e10e5ef6eaaba19dc361efbb10a77f87c14726439869e4b415fe7e393a1d7ac23233b3bfa66a SHA512 a75bcd821afc6daca612f42c552fb965a3068dc04a94df41ff41d36928c764d44bcf72e1bd6d776bf4b443c73fc3946c0a91443a562019fcd1b6e8687d0ebcd2 -EBUILD nagios-check_multiple-0.0.1-r2.ebuild 1367 BLAKE2B df32a3635acd626b17142fe07b968893895e1a591250b7dd053593d105f014dafe04d9e0171fbefc71b132402f1095258783593a564d3a5678851acb10144065 SHA512 2d61c3506e13fcbf5a81e47d3bd79af49a6ed3c3a76bda35d5d50a2e1b0444c24d234e35987f9f1fefb60f30f7435bf3f7aa58c52268320fba688a0c8a1b2d92 +EBUILD nagios-check_multiple-0.0.1-r3.ebuild 1368 BLAKE2B 33cfdbe9f8a5d0297f55662d504a136fa003402c394625d5ced41805070b5cbbc394dcab258456824afe279339bd646c0e33b2d734c9bece1d47f16e43ad9c03 SHA512 cabec260951ce5d90e9f258a3c8ec14f1bec64f7c65d00ff93afe5d0b3ce1cbc2f2ba92e856e039ed13c3a843ad77858eec8b1b06e784b0c337b2e33592011a6 MISC metadata.xml 347 BLAKE2B c25107d223ed89498730678d4338d8c6bdef7693a86418fd80ebcbe48b0ca7a250af6740abaa20be36b9be23490c16e52d0bc2ae20901b93c05b97222526ad83 SHA512 4f246f7fc5e6af8898c19b653013ac167107f3663aa93dbee5186f7a1740140bd01d26208347c03cdd0526639be28245d8413cb4560a1a2ea90c565729c7ee35 diff --git a/net-analyzer/nagios-check_multiple/nagios-check_multiple-0.0.1-r2.ebuild b/net-analyzer/nagios-check_multiple/nagios-check_multiple-0.0.1-r2.ebuild deleted file mode 100644 index d5e64ac02fa8..000000000000 --- a/net-analyzer/nagios-check_multiple/nagios-check_multiple-0.0.1-r2.ebuild +++ /dev/null @@ -1,46 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python{3_9,3_10,3_11} ) -DISTUTILS_USE_PEP517=setuptools -inherit distutils-r1 - -MY_PN="check_multiple" -DESCRIPTION="A Nagios plugin to execute multiple checks in parallel" -HOMEPAGE="https://github.com/clarkbox/check_multiple" -SRC_URI="https://github.com/clarkbox/check_multiple/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64" -IUSE="test" -RESTRICT="!test? ( test )" - -S="${WORKDIR}/${MY_PN}-${PV}" - -src_install() { - distutils-r1_src_install - - local nagiosplugindir="/usr/$(get_libdir)/nagios/plugins" - dodir "${nagiosplugindir}" - - # Create a symlink from the nagios plugin directory to the /usr/bin - # location. The "binary" in /usr/bin should also be a symlink, since - # the python machinery allows the user to switch out the - # interpreter. We don't want to mess with any of that, so we just - # point to whatever the system would use if the user executed - # ${MY_PN}. - # - # The relative symlink is preferred so that if the package is - # installed e.g. while in a chroot, the symlink will never point - # outside of that chroot. - # - dosym "../../../bin/${MY_PN}" "${nagiosplugindir}/${MY_PN}" -} - -python_test() { - "${EPYTHON}" -m unittest -v lib/check_multiple/check_multiple.py \ - || die "test suite failed" -} diff --git a/net-analyzer/nagios-check_multiple/nagios-check_multiple-0.0.1-r3.ebuild b/net-analyzer/nagios-check_multiple/nagios-check_multiple-0.0.1-r3.ebuild new file mode 100644 index 000000000000..8444b98c88c4 --- /dev/null +++ b/net-analyzer/nagios-check_multiple/nagios-check_multiple-0.0.1-r3.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python{3_10,3_11,3_12} ) +DISTUTILS_USE_PEP517=setuptools +inherit distutils-r1 + +MY_PN="check_multiple" +DESCRIPTION="A Nagios plugin to execute multiple checks in parallel" +HOMEPAGE="https://github.com/clarkbox/check_multiple" +SRC_URI="https://github.com/clarkbox/check_multiple/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="amd64" +IUSE="test" +RESTRICT="!test? ( test )" + +S="${WORKDIR}/${MY_PN}-${PV}" + +src_install() { + distutils-r1_src_install + + local nagiosplugindir="/usr/$(get_libdir)/nagios/plugins" + dodir "${nagiosplugindir}" + + # Create a symlink from the nagios plugin directory to the /usr/bin + # location. The "binary" in /usr/bin should also be a symlink, since + # the python machinery allows the user to switch out the + # interpreter. We don't want to mess with any of that, so we just + # point to whatever the system would use if the user executed + # ${MY_PN}. + # + # The relative symlink is preferred so that if the package is + # installed e.g. while in a chroot, the symlink will never point + # outside of that chroot. + # + dosym "../../../bin/${MY_PN}" "${nagiosplugindir}/${MY_PN}" +} + +python_test() { + "${EPYTHON}" -m unittest -v lib/check_multiple/check_multiple.py \ + || die "test suite failed" +} -- cgit v1.2.3