commit: 92dc29073bcddb80388c9bc4f98e430f12fc2b6c
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Mar 16 18:57:34 2023 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Mar 17 05:31:50 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=92dc2907
dev-python/dbfread: Use pypi.eclass
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/dbfread/dbfread-2.0.7-r1.ebuild | 10 +++++++---
1 file changed, 7 insertions(+), 3 deletions(-)
diff --git a/dev-python/dbfread/dbfread-2.0.7-r1.ebuild
b/dev-python/dbfread/dbfread-2.0.7-r1.ebuild
index 0239c3505ed4..0bd2f60bfd50 100644
--- a/dev-python/dbfread/dbfread-2.0.7-r1.ebuild
+++ b/dev-python/dbfread/dbfread-2.0.7-r1.ebuild
@@ -6,12 +6,16 @@ EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{9..11} )
-inherit distutils-r1
+inherit distutils-r1 pypi
DESCRIPTION="Read DBF Files with Python"
HOMEPAGE="https://github.com/olemb/dbfread https://pypi.org/project/dbfread/"
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz
- test? ( https://github.com/olemb/dbfread/archive/refs/tags/${PV}.tar.gz
-> ${P}-src.tar.gz )"
+SRC_URI+="
+ test? (
+ https://github.com/olemb/dbfread/archive/refs/tags/${PV}.tar.gz
+ -> ${P}-src.tar.gz
+ )
+"
LICENSE="MIT"
SLOT="0"