diff options
Diffstat (limited to 'net-analyzer/nagios-check_multiple')
3 files changed, 2 insertions, 49 deletions
diff --git a/net-analyzer/nagios-check_multiple/Manifest b/net-analyzer/nagios-check_multiple/Manifest index 57f11e05f337..9eb7ae7ae478 100644 --- a/net-analyzer/nagios-check_multiple/Manifest +++ b/net-analyzer/nagios-check_multiple/Manifest @@ -1,4 +1,3 @@ DIST nagios-check_multiple-0.0.1.tar.gz 9376 BLAKE2B 2db464b7edd4aa704560a3f16a5d70e4cdef7cd35284e3c679f3e10e5ef6eaaba19dc361efbb10a77f87c14726439869e4b415fe7e393a1d7ac23233b3bfa66a SHA512 a75bcd821afc6daca612f42c552fb965a3068dc04a94df41ff41d36928c764d44bcf72e1bd6d776bf4b443c73fc3946c0a91443a562019fcd1b6e8687d0ebcd2 -EBUILD nagios-check_multiple-0.0.1-r1.ebuild 1363 BLAKE2B b694b57a674daa4d5f2d24818952b3073ddaa8b4a0e7c3817c5bc58ab0c61e2a5c48a362c34e61694638879283d5e4096aee199b7f90777db67911b6fe1210ec SHA512 0d5e0b7f3fc32ad9f592c5db2d2cf617a167a86ac5610db531570825d59bca2b67e76a8c3e310d8fa4eaf1cd30a7217a39d8125e7c15eb588d941b1766b84212 -EBUILD nagios-check_multiple-0.0.1.ebuild 1357 BLAKE2B bd94906a71835708c96c225886dae2212cb17b585a4b39c3df3efadc83fdf9f5319029a5ff4406c7adbe3ee50d00c2bf812e902743483c1953770aa6570b79fb SHA512 ac1e10889763e24662d02f640b3174635d2fed615a2e99dfce317dda93a3b847245aeab593bb999ae583228963d6a4df196699569c38a09838dcbee05d3cbc9b +EBUILD nagios-check_multiple-0.0.1-r1.ebuild 1362 BLAKE2B 8d1098d6ad41f5cbc67cda0e042bcea27e39e834f3b84b0a3dd41f60fc7f68b077807da9c8a7fce3bf27c7d284a73031b05b2e85560d68cc01ddf9119879cee5 SHA512 1a6b6a6cde2848be763f590d7b96eba7d11ba6e3153ec9fe6c145b8f1a30551a9f0b76e2783fda91b0c7427de6baeb06863f425785e432500c230bc100f4b26f MISC metadata.xml 347 BLAKE2B c25107d223ed89498730678d4338d8c6bdef7693a86418fd80ebcbe48b0ca7a250af6740abaa20be36b9be23490c16e52d0bc2ae20901b93c05b97222526ad83 SHA512 4f246f7fc5e6af8898c19b653013ac167107f3663aa93dbee5186f7a1740140bd01d26208347c03cdd0526639be28245d8413cb4560a1a2ea90c565729c7ee35 diff --git a/net-analyzer/nagios-check_multiple/nagios-check_multiple-0.0.1-r1.ebuild b/net-analyzer/nagios-check_multiple/nagios-check_multiple-0.0.1-r1.ebuild index 474031b4927f..3918f3822ea4 100644 --- a/net-analyzer/nagios-check_multiple/nagios-check_multiple-0.0.1-r1.ebuild +++ b/net-analyzer/nagios-check_multiple/nagios-check_multiple-0.0.1-r1.ebuild @@ -14,7 +14,7 @@ SRC_URI="https://github.com/clarkbox/check_multiple/archive/v${PV}.tar.gz -> ${P LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64" +KEYWORDS="amd64" IUSE="test" RESTRICT="!test? ( test )" diff --git a/net-analyzer/nagios-check_multiple/nagios-check_multiple-0.0.1.ebuild b/net-analyzer/nagios-check_multiple/nagios-check_multiple-0.0.1.ebuild deleted file mode 100644 index a509978abdb5..000000000000 --- a/net-analyzer/nagios-check_multiple/nagios-check_multiple-0.0.1.ebuild +++ /dev/null @@ -1,46 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python{3_7,3_8} ) -DISTUTILS_USE_SETUPTOOLS=no -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" -} |