1 |
commit: a6d63089a418ddffe33b5911de567eb44aab452d |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Mar 15 17:47:59 2023 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Mar 16 04:04:13 2023 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a6d63089 |
7 |
|
8 |
dev-python/pytest-localftpserver: Use pypi.eclass |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
.../pytest-localftpserver/pytest-localftpserver-1.1.4.ebuild | 7 +------ |
13 |
1 file changed, 1 insertion(+), 6 deletions(-) |
14 |
|
15 |
diff --git a/dev-python/pytest-localftpserver/pytest-localftpserver-1.1.4.ebuild b/dev-python/pytest-localftpserver/pytest-localftpserver-1.1.4.ebuild |
16 |
index 39da1701843b..9bd8236ed4a7 100644 |
17 |
--- a/dev-python/pytest-localftpserver/pytest-localftpserver-1.1.4.ebuild |
18 |
+++ b/dev-python/pytest-localftpserver/pytest-localftpserver-1.1.4.ebuild |
19 |
@@ -5,15 +5,10 @@ EAPI=8 |
20 |
|
21 |
DISTUTILS_USE_PEP517=setuptools |
22 |
PYTHON_COMPAT=( python3_{9..11} ) |
23 |
-inherit distutils-r1 |
24 |
- |
25 |
-MY_PN="${PN/-/_}" |
26 |
-MY_P="${MY_PN}-${PV}" |
27 |
+inherit distutils-r1 pypi |
28 |
|
29 |
DESCRIPTION="A PyTest plugin which provides an FTP fixture for your tests" |
30 |
HOMEPAGE="https://pypi.org/project/pytest-localserver/" |
31 |
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${MY_P}.tar.gz" |
32 |
-S="${WORKDIR}/${MY_P}" |
33 |
|
34 |
LICENSE="MIT" |
35 |
SLOT="0" |