summaryrefslogtreecommitdiff
path: root/dev-python/nagiosplugin
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2019-11-10 13:21:36 +0000
committerV3n3RiX <venerix@redcorelinux.org>2019-11-10 13:21:36 +0000
commit77398e424e45d9e98c1cef3c43bdadb9d56e81ef (patch)
tree5aeffd3fc7b92fc615bd2c222fa8831aeda1925b /dev-python/nagiosplugin
parentbd4aeefe33e63f613512604e47bfca7b2187697d (diff)
gentoo resync : 10.11.2019
Diffstat (limited to 'dev-python/nagiosplugin')
-rw-r--r--dev-python/nagiosplugin/Manifest6
-rw-r--r--dev-python/nagiosplugin/metadata.xml4
-rw-r--r--dev-python/nagiosplugin/nagiosplugin-1.2.4.ebuild2
-rw-r--r--dev-python/nagiosplugin/nagiosplugin-1.3.2.ebuild38
4 files changed, 45 insertions, 5 deletions
diff --git a/dev-python/nagiosplugin/Manifest b/dev-python/nagiosplugin/Manifest
index c8ea87e1dc27..cc577599d492 100644
--- a/dev-python/nagiosplugin/Manifest
+++ b/dev-python/nagiosplugin/Manifest
@@ -1,3 +1,5 @@
DIST nagiosplugin-1.2.4.tar.gz 38290 BLAKE2B 4ebf230122a68919f82da7519e920b485075530cbde235d9f0d7a0f22e65a37c85f3ffe84af100f94ba8cee0a8e350b848d2e35606616808baada75c5abfddd2 SHA512 42c7823445c0dc1f5fedc6b8bed6c5be4e2b5e4c14cfa2cfbd158ae43485baa0fc74b80f9dcbb89bfdb27b984d72201c8a7c330c71d837c0f822603a5f8f7ae3
-EBUILD nagiosplugin-1.2.4.ebuild 537 BLAKE2B 0f6cec7fba70c18138d41bd7c5077077d6f9860935b765addd59e8abd311ed739557ab9d4ab236b75ed79c81e8c41995d539ede1efd2bbdaf4ef590f6e400860 SHA512 4a11598b08db93778b051135026b2e79e7cd105ace38475bcdac23e1e9b719fa37ea77b74b6f1b77b66aee6e82294fb4f00188500d528f0817ac40c3ee9474c2
-MISC metadata.xml 464 BLAKE2B b132f31c8611ba39b42c068d1efce0230f73aca04382ba1089bba09fa03e5f8c83ef8eebbbd74be55d113ece21890d93fdc07b211b538430a154169abe7edef8 SHA512 1476a7d2df7b50e0e908f970fdcfb7a63fa04f2014414e16c4dfa39659846fba26a6808949a741a1cc112edbaa500783db325b2ec5ab66ac72dc2e6152466c75
+DIST nagiosplugin-1.3.2.tar.gz 54262 BLAKE2B af2a8a876105a1ea26671b39d611beaa46303998544adadee3370c6d1b5096fa93160121f89412f3778a2bbc1c3e95606a49413b8f3f0880c9c9ca4e946fb1b8 SHA512 899650852397bffb66ad53843233adec2c91e96656674a9b21c5a02ed97ce4db69c1440d1b88c5799a54745e69b8c05f52188403b5a2fe9050acbd0067806d50
+EBUILD nagiosplugin-1.2.4.ebuild 527 BLAKE2B b0473f162c266619691935f8d7c92ad543203c2bcac1c68e38a1c8dd86fc11bac610e973fbff539aad41ab676e90646e73868730e63b54ad11e2ef879be70075 SHA512 a83503b8c92f7efcca305be3f5f8cd576759b896a9b30196b1dad232ec105b18f4866d67fa3fa1b2a58c6b1eb99245e073aa59a11d760cbe8f11069865186972
+EBUILD nagiosplugin-1.3.2.ebuild 881 BLAKE2B ea962b3530b161c5d8bb8bcf7a9ad13410ccdb0ac101b337252fff9b73f9997f6ba197ebf238455e523495f789ac2308c0c5a7df412dcb1c02538d9763f0444c SHA512 2b8b43a6049dfd14dc8bcd59aaf2617194fc17969f6e8c5f6dafa85187ecaffea0dc5740f11a66e0f141bae321be89c57b3c36cc2730a30e7d67214505f0b918
+MISC metadata.xml 452 BLAKE2B 39030b9d85edf373418952f1986d9a1b4c5a73ca191112d9e979b754eb12891f16a522d19a4d4278853ec4b07aaaf14537ed64eed658886c02859d8a451eb81f SHA512 2eec420a3b59460798f9d8504d86a8d01afd309867f0bdb0f46f5a87484c06f8398221946bff4d06c150cf8085a6cbc15a9e61ba815519e696a26376cc018fe0
diff --git a/dev-python/nagiosplugin/metadata.xml b/dev-python/nagiosplugin/metadata.xml
index 56b0f256a4b0..7f6a93a55022 100644
--- a/dev-python/nagiosplugin/metadata.xml
+++ b/dev-python/nagiosplugin/metadata.xml
@@ -7,7 +7,7 @@
</maintainer>
<upstream>
<remote-id type="pypi">nagiosplugin</remote-id>
- <remote-id type="bitbucket">flyingcircus/nagiosplugin</remote-id>
- <bugs-to>https://bitbucket.org/flyingcircus/nagiosplugin/issues</bugs-to>
+ <remote-id type="github">mpounsett/nagiosplugin</remote-id>
+ <bugs-to>https://github.com/mpounsett/nagiosplugin/issues</bugs-to>
</upstream>
</pkgmetadata>
diff --git a/dev-python/nagiosplugin/nagiosplugin-1.2.4.ebuild b/dev-python/nagiosplugin/nagiosplugin-1.2.4.ebuild
index db0af6ad3e58..3d5a2c4be07d 100644
--- a/dev-python/nagiosplugin/nagiosplugin-1.2.4.ebuild
+++ b/dev-python/nagiosplugin/nagiosplugin-1.2.4.ebuild
@@ -8,7 +8,7 @@ PYTHON_COMPAT=( pypy{,3} python{2_7,3_{5,6,7}} )
inherit distutils-r1
DESCRIPTION="A class library for writing nagios-compatible plugins"
-HOMEPAGE="https://bitbucket.org/flyingcircus/nagiosplugin/ https://pypi.org/project/nagiosplugin/"
+HOMEPAGE="https://github.com/mpounsett/nagiosplugin https://nagiosplugin.readthedocs.io"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
KEYWORDS="~amd64 ~x86"
diff --git a/dev-python/nagiosplugin/nagiosplugin-1.3.2.ebuild b/dev-python/nagiosplugin/nagiosplugin-1.3.2.ebuild
new file mode 100644
index 000000000000..cd0ca3c9a35e
--- /dev/null
+++ b/dev-python/nagiosplugin/nagiosplugin-1.3.2.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( pypy{,3} python{2_7,3_{5,6,7}} )
+
+inherit distutils-r1
+
+DESCRIPTION="A class library for writing nagios-compatible plugins"
+HOMEPAGE="https://github.com/mpounsett/nagiosplugin https://nagiosplugin.readthedocs.io"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc test"
+RESTRICT="!test? ( test )"
+
+LICENSE="ZPL"
+SLOT="0"
+
+BDEPEND="
+ dev-python/setuptools[${PYTHON_USEDEP}]
+ doc? (
+ dev-python/sphinx[${PYTHON_USEDEP}]
+ dev-python/sphinx_rtd_theme[${PYTHON_USEDEP}]
+ )
+ test? ( dev-python/pytest[${PYTHON_USEDEP}] )
+"
+
+python_compile_all() {
+ if use doc; then
+ sphinx-build doc doc/_build/html || die
+ HTML_DOCS=( doc/_build/html/. )
+ fi
+}
+
+python_test() {
+ pytest -vv tests || die "tests failed with ${EPYTHON}"
+}