diff options
Diffstat (limited to 'dev-python/piexif/piexif-1.1.3-r2.ebuild')
-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 } |