From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 66BA613997D for ; Sun, 10 Nov 2019 10:10:04 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 57093E0973; Sun, 10 Nov 2019 10:10:03 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 6EFAFE0973 for ; Sun, 10 Nov 2019 10:10:02 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 7F91B34CB68 for ; Sun, 10 Nov 2019 02:30:34 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id CA76676A for ; Sun, 10 Nov 2019 02:30:32 +0000 (UTC) From: "Louis Sautier" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Louis Sautier" Message-ID: <1573353024.374219a355ba4ab7cebdb367bab2bf0ad83d5bf3.sbraz@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/nagiosplugin/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/nagiosplugin/Manifest dev-python/nagiosplugin/nagiosplugin-1.3.2.ebuild X-VCS-Directories: dev-python/nagiosplugin/ X-VCS-Committer: sbraz X-VCS-Committer-Name: Louis Sautier X-VCS-Revision: 374219a355ba4ab7cebdb367bab2bf0ad83d5bf3 X-VCS-Branch: master Date: Sun, 10 Nov 2019 02:30:32 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 98190fe3-0413-465c-8fa4-d622bb812ff9 X-Archives-Hash: 386d419fccb2e2a0c0b6beb082dbc40b commit: 374219a355ba4ab7cebdb367bab2bf0ad83d5bf3 Author: Louis Sautier gentoo org> AuthorDate: Sun Nov 10 02:29:40 2019 +0000 Commit: Louis Sautier gentoo org> CommitDate: Sun Nov 10 02:30:24 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=374219a3 dev-python/nagiosplugin: bump to 1.3.2, tests are back on PyPI Package-Manager: Portage-2.3.78, Repoman-2.3.17 Signed-off-by: Louis Sautier gentoo.org> dev-python/nagiosplugin/Manifest | 1 + dev-python/nagiosplugin/nagiosplugin-1.3.2.ebuild | 38 +++++++++++++++++++++++ 2 files changed, 39 insertions(+) diff --git a/dev-python/nagiosplugin/Manifest b/dev-python/nagiosplugin/Manifest index 34bb82afda9..5acfa98eea7 100644 --- a/dev-python/nagiosplugin/Manifest +++ b/dev-python/nagiosplugin/Manifest @@ -1,2 +1,3 @@ DIST nagiosplugin-1.2.4.tar.gz 38290 BLAKE2B 4ebf230122a68919f82da7519e920b485075530cbde235d9f0d7a0f22e65a37c85f3ffe84af100f94ba8cee0a8e350b848d2e35606616808baada75c5abfddd2 SHA512 42c7823445c0dc1f5fedc6b8bed6c5be4e2b5e4c14cfa2cfbd158ae43485baa0fc74b80f9dcbb89bfdb27b984d72201c8a7c330c71d837c0f822603a5f8f7ae3 DIST nagiosplugin-1.3.1.tar.gz 94568 BLAKE2B b73b4790a9d0eccb47b12f45c0ee2b131d1e1874c299b7717023b40d5d0f5c1dbbac8e3736280917fba5595fa882bbc7eb461158c909345c84117757d39a3ebb SHA512 f809258d972650be13667f4bb03db711686d38de1b4fa6da7dc55b576fa0a9f5a9a47fdccec0bb94ddfd258fe64ec30cd30e054f13f5b811eb24a6e9b0c85917 +DIST nagiosplugin-1.3.2.tar.gz 54262 BLAKE2B af2a8a876105a1ea26671b39d611beaa46303998544adadee3370c6d1b5096fa93160121f89412f3778a2bbc1c3e95606a49413b8f3f0880c9c9ca4e946fb1b8 SHA512 899650852397bffb66ad53843233adec2c91e96656674a9b21c5a02ed97ce4db69c1440d1b88c5799a54745e69b8c05f52188403b5a2fe9050acbd0067806d50 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 00000000000..cd0ca3c9a35 --- /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}" +}