summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2023-02-15 18:23:49 +0100
committerMichał Górny <mgorny@gentoo.org>2023-02-15 18:23:49 +0100
commita2274594957e49f50dc1c6ce0435d0ee0cd1d53c (patch)
tree71cd8ffbc8d43d33806d51e83ddd2201bbb7b9ed /dev-python/nagiosplugin
parentdev-python/nagiosplugin: Enable py3.11 (diff)
downloadgentoo-a2274594957e49f50dc1c6ce0435d0ee0cd1d53c.tar.gz
gentoo-a2274594957e49f50dc1c6ce0435d0ee0cd1d53c.tar.bz2
gentoo-a2274594957e49f50dc1c6ce0435d0ee0cd1d53c.zip
dev-python/nagiosplugin: Use pypi.eclass
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/nagiosplugin')
-rw-r--r--dev-python/nagiosplugin/nagiosplugin-1.3.3.ebuild5
1 files changed, 2 insertions, 3 deletions
diff --git a/dev-python/nagiosplugin/nagiosplugin-1.3.3.ebuild b/dev-python/nagiosplugin/nagiosplugin-1.3.3.ebuild
index c59671304260..307243ee66ed 100644
--- a/dev-python/nagiosplugin/nagiosplugin-1.3.3.ebuild
+++ b/dev-python/nagiosplugin/nagiosplugin-1.3.3.ebuild
@@ -6,7 +6,7 @@ EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( pypy3 python3_{9..11} )
-inherit distutils-r1
+inherit distutils-r1 pypi
DESCRIPTION="A class library for writing nagios-compatible plugins"
HOMEPAGE="
@@ -14,11 +14,10 @@ HOMEPAGE="
https://nagiosplugin.readthedocs.io/
https://pypi.org/project/nagiosplugin/
"
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-KEYWORDS="~amd64 ~x86"
LICENSE="ZPL"
SLOT="0"
+KEYWORDS="~amd64 ~x86"
distutils_enable_tests pytest
distutils_enable_sphinx doc dev-python/sphinx-rtd-theme