From a6d63089a418ddffe33b5911de567eb44aab452d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Wed, 15 Mar 2023 18:47:59 +0100 Subject: [PATCH] dev-python/pytest-localftpserver: Use pypi.eclass MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- .../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"