commit:     a2274594957e49f50dc1c6ce0435d0ee0cd1d53c
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Feb 15 17:23:49 2023 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Feb 15 17:23:49 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a2274594

dev-python/nagiosplugin: Use pypi.eclass

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/nagiosplugin/nagiosplugin-1.3.3.ebuild | 5 ++---
 1 file 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

Reply via email to