1 |
commit: 154fbdd639bb5040453dc9bc88b807c7a6b040a4 |
2 |
Author: Michael Orlitzky <mjo <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Sep 28 14:04:37 2021 +0000 |
4 |
Commit: Michael Orlitzky <mjo <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Sep 28 14:05:45 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=154fbdd6 |
7 |
|
8 |
net-analyzer/nagios-check_multiple: remove old "unused" revision. |
9 |
|
10 |
Package-Manager: Portage-3.0.20, Repoman-3.0.3 |
11 |
Signed-off-by: Michael Orlitzky <mjo <AT> gentoo.org> |
12 |
|
13 |
.../nagios-check_multiple-0.0.1.ebuild | 46 ---------------------- |
14 |
1 file changed, 46 deletions(-) |
15 |
|
16 |
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 |
17 |
deleted file mode 100644 |
18 |
index a509978abdb..00000000000 |
19 |
--- a/net-analyzer/nagios-check_multiple/nagios-check_multiple-0.0.1.ebuild |
20 |
+++ /dev/null |
21 |
@@ -1,46 +0,0 @@ |
22 |
-# Copyright 1999-2020 Gentoo Authors |
23 |
-# Distributed under the terms of the GNU General Public License v2 |
24 |
- |
25 |
-EAPI=7 |
26 |
- |
27 |
-PYTHON_COMPAT=( python{3_7,3_8} ) |
28 |
-DISTUTILS_USE_SETUPTOOLS=no |
29 |
-inherit distutils-r1 |
30 |
- |
31 |
-MY_PN="check_multiple" |
32 |
-DESCRIPTION="A Nagios plugin to execute multiple checks in parallel" |
33 |
-HOMEPAGE="https://github.com/clarkbox/check_multiple" |
34 |
-SRC_URI="https://github.com/clarkbox/check_multiple/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
35 |
- |
36 |
-LICENSE="MIT" |
37 |
-SLOT="0" |
38 |
-KEYWORDS="amd64" |
39 |
-IUSE="test" |
40 |
-RESTRICT="!test? ( test )" |
41 |
- |
42 |
-S="${WORKDIR}/${MY_PN}-${PV}" |
43 |
- |
44 |
-src_install() { |
45 |
- distutils-r1_src_install |
46 |
- |
47 |
- local nagiosplugindir="/usr/$(get_libdir)/nagios/plugins" |
48 |
- dodir "${nagiosplugindir}" |
49 |
- |
50 |
- # Create a symlink from the nagios plugin directory to the /usr/bin |
51 |
- # location. The "binary" in /usr/bin should also be a symlink, since |
52 |
- # the python machinery allows the user to switch out the |
53 |
- # interpreter. We don't want to mess with any of that, so we just |
54 |
- # point to whatever the system would use if the user executed |
55 |
- # ${MY_PN}. |
56 |
- # |
57 |
- # The relative symlink is preferred so that if the package is |
58 |
- # installed e.g. while in a chroot, the symlink will never point |
59 |
- # outside of that chroot. |
60 |
- # |
61 |
- dosym "../../../bin/${MY_PN}" "${nagiosplugindir}/${MY_PN}" |
62 |
-} |
63 |
- |
64 |
-python_test() { |
65 |
- "${EPYTHON}" -m unittest -v lib/check_multiple/check_multiple.py \ |
66 |
- || die "test suite failed" |
67 |
-} |