From: "Sebastian Pipping" <sping@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/piexif/
Date: Mon, 7 Oct 2024 21:18:17 +0000 (UTC) [thread overview]
Message-ID: <1728335724.efa5a2e1da1cad264807a9baa76caeb06d219a84.sping@gentoo> (raw)
commit: efa5a2e1da1cad264807a9baa76caeb06d219a84
Author: Sebastian Pipping <sping <AT> gentoo <DOT> org>
AuthorDate: Sun Oct 6 15:11:45 2024 +0000
Commit: Sebastian Pipping <sping <AT> gentoo <DOT> org>
CommitDate: Mon Oct 7 21:15:24 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=efa5a2e1
dev-python/piexif: Migrate off of "esetup.py test"
Closes: https://bugs.gentoo.org/937714
Signed-off-by: Sebastian Pipping <sping <AT> gentoo.org>
dev-python/piexif/piexif-1.1.3-r3.ebuild | 39 ++++++++++++++++++++++++++++++++
1 file changed, 39 insertions(+)
diff --git a/dev-python/piexif/piexif-1.1.3-r3.ebuild b/dev-python/piexif/piexif-1.1.3-r3.ebuild
new file mode 100644
index 000000000000..e904aa79f2cd
--- /dev/null
+++ b/dev-python/piexif/piexif-1.1.3-r3.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( pypy3 python3_{10..12} )
+
+inherit edos2unix distutils-r1 pypi
+
+DESCRIPTION="Exif manipulation with pure Python"
+HOMEPAGE="
+ https://github.com/hMatoba/Piexif/
+ https://pypi.org/project/piexif/
+"
+SRC_URI="$(pypi_sdist_url "${PN}" "${PV}" .zip)"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~riscv ~x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+distutils_enable_tests pytest
+
+BDEPEND="
+ app-arch/unzip
+ test? ( dev-python/pillow[jpeg,${PYTHON_USEDEP}] )
+"
+
+PATCHES=(
+ # From https://github.com/hMatoba/Piexif/pull/109
+ "${FILESDIR}"/${P}-tests-pillow-7.2.0.patch
+)
+
+src_prepare() {
+ edos2unix tests/s_test.py # to be able to patch it
+ default
+}
next reply other threads:[~2024-10-07 21:18 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-10-07 21:18 Sebastian Pipping [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
2023-11-24 15:29 Michał Górny
2023-06-01 13:22 Michał Górny
2023-03-27 19:21 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=1728335724.efa5a2e1da1cad264807a9baa76caeb06d219a84.sping@gentoo \
--to=sping@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