public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/piexif/
Date: Mon, 27 Mar 2023 19:21:39 +0000 (UTC)	[thread overview]
Message-ID: <1679944054.450202c74b98414c688511d7e02458bc4e90f6d7.mgorny@gentoo> (raw)

commit:     450202c74b98414c688511d7e02458bc4e90f6d7
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Mon Mar 27 19:07:34 2023 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon Mar 27 19:07:34 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=450202c7

dev-python/piexif: Use pypi.eclass

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/piexif/piexif-1.1.3-r2.ebuild | 18 ++++++++++--------
 1 file 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
 }


             reply	other threads:[~2023-03-27 19:21 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-27 19:21 Michał Górny [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-10-08 19:44 [gentoo-commits] repo/gentoo:master commit in: dev-python/piexif/ Sebastian Pipping
2024-10-07 21:18 Sebastian Pipping
2023-11-24 15:29 Michał Górny
2023-06-01 13:22 Michał Górny
2022-12-31 13:31 Michał Górny
2022-12-31 13:01 Sam James
2022-11-28 22:41 Sebastian Pipping
2022-03-28  9:17 Jakov Smolić
2021-06-05 14:40 Michał Górny
2021-01-13 20:16 Michał Górny
2021-01-13 19:34 Sam James
2021-01-13 18:26 Michał Górny
2020-12-14 19:49 Sebastian Pipping
2020-12-13 23:07 Sebastian Pipping
2020-05-21  0:52 Sebastian Pipping
2020-05-10 13:02 Thomas Deutschmann
2020-05-10  9:32 Mikle Kolyada
2020-03-28 11:59 Michał Górny
2020-02-05 19:12 Michał Górny
2019-11-05 21:17 Sebastian Pipping
2019-11-05 19:50 Sebastian Pipping
2018-01-17  0:34 Sebastian Pipping
2017-12-07 23:15 Sebastian Pipping
2017-08-05 10:19 Michael Palimaka
2017-06-14 14:33 Sebastian Pipping

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1679944054.450202c74b98414c688511d7e02458bc4e90f6d7.mgorny@gentoo \
    --to=mgorny@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox