commit:     a6d63089a418ddffe33b5911de567eb44aab452d
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Mar 15 17:47:59 2023 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Mar 16 04:04:13 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a6d63089

dev-python/pytest-localftpserver: Use pypi.eclass

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

 .../pytest-localftpserver/pytest-localftpserver-1.1.4.ebuild       | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

diff --git 
a/dev-python/pytest-localftpserver/pytest-localftpserver-1.1.4.ebuild 
b/dev-python/pytest-localftpserver/pytest-localftpserver-1.1.4.ebuild
index 39da1701843b..9bd8236ed4a7 100644
--- a/dev-python/pytest-localftpserver/pytest-localftpserver-1.1.4.ebuild
+++ b/dev-python/pytest-localftpserver/pytest-localftpserver-1.1.4.ebuild
@@ -5,15 +5,10 @@ EAPI=8
 
 DISTUTILS_USE_PEP517=setuptools
 PYTHON_COMPAT=( python3_{9..11} )
-inherit distutils-r1
-
-MY_PN="${PN/-/_}"
-MY_P="${MY_PN}-${PV}"
+inherit distutils-r1 pypi
 
 DESCRIPTION="A PyTest plugin which provides an FTP fixture for your tests"
 HOMEPAGE="https://pypi.org/project/pytest-localserver/";
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${MY_P}.tar.gz"
-S="${WORKDIR}/${MY_P}"
 
 LICENSE="MIT"
 SLOT="0"

Reply via email to