diff options
author | Michał Górny <mgorny@gentoo.org> | 2023-03-27 21:07:34 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2023-03-27 21:07:34 +0200 |
commit | 450202c74b98414c688511d7e02458bc4e90f6d7 (patch) | |
tree | a3433f182065c3b6bb1066fb024154dfa5900e18 /dev-python/piexif | |
parent | dev-python/zipp: Remove old (diff) | |
download | gentoo-450202c74b98414c688511d7e02458bc4e90f6d7.tar.gz gentoo-450202c74b98414c688511d7e02458bc4e90f6d7.tar.bz2 gentoo-450202c74b98414c688511d7e02458bc4e90f6d7.zip |
dev-python/piexif: Use pypi.eclass
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/piexif')
-rw-r--r-- | dev-python/piexif/piexif-1.1.3-r2.ebuild | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/dev-python/piexif/piexif-1.1.3-r2.ebuild b/dev-python/piexif/piexif-1.1.3-r2.ebuild index 86b91124fcd9..5afdf1943a90 100644 --- a/dev-python/piexif/piexif-1.1.3-r2.ebuild +++ b/dev-python/piexif/piexif-1.1.3-r2.ebuild @@ -6,12 +6,14 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools PYTHON_COMPAT=( pypy3 python3_{9..11} ) -inherit edos2unix distutils-r1 +inherit edos2unix distutils-r1 pypi DESCRIPTION="Exif manipulation with pure Python" -HOMEPAGE="https://github.com/hMatoba/Piexif - https://pypi.org/project/piexif/" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.zip" +HOMEPAGE=" + https://github.com/hMatoba/Piexif/ + https://pypi.org/project/piexif/ +" +SRC_URI="$(pypi_sdist_url "${PN}" "${PV}" .zip)" LICENSE="MIT" SLOT="0" @@ -19,10 +21,10 @@ KEYWORDS="amd64 ~riscv ~x86" IUSE="test" RESTRICT="!test? ( test )" -DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] +BDEPEND=" app-arch/unzip - test? ( dev-python/pillow[jpeg,${PYTHON_USEDEP}] )" -RDEPEND="" + test? ( dev-python/pillow[jpeg,${PYTHON_USEDEP}] ) +" PATCHES=( # From https://github.com/hMatoba/Piexif/pull/109 @@ -35,5 +37,5 @@ src_prepare() { } python_test() { - "${PYTHON}" setup.py test || die + esetup.py test } |