From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 543FC1382C5 for ; Sun, 13 Dec 2020 23:07:30 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A0EF3E08D3; Sun, 13 Dec 2020 23:07:29 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 54CFBE08D3 for ; Sun, 13 Dec 2020 23:07:29 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 45B1F341163 for ; Sun, 13 Dec 2020 23:07:28 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id DCF9553 for ; Sun, 13 Dec 2020 23:07:26 +0000 (UTC) From: "Sebastian Pipping" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sebastian Pipping" Message-ID: <1607900836.86c0135880121b0af5863dc742365725997e78f5.sping@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/piexif/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/piexif/piexif-1.1.3-r1.ebuild X-VCS-Directories: dev-python/piexif/ X-VCS-Committer: sping X-VCS-Committer-Name: Sebastian Pipping X-VCS-Revision: 86c0135880121b0af5863dc742365725997e78f5 X-VCS-Branch: master Date: Sun, 13 Dec 2020 23:07:26 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 2f890fe1-4b4c-4e2b-a23e-9e00ed5ddacb X-Archives-Hash: a71b50f9aa602be5141b2852a265b378 commit: 86c0135880121b0af5863dc742365725997e78f5 Author: Sebastian Pipping gentoo org> AuthorDate: Sun Dec 13 22:14:12 2020 +0000 Commit: Sebastian Pipping gentoo org> CommitDate: Sun Dec 13 23:07:16 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=86c01358 dev-python/piexif: Fix test dependencies Needed to drop pypy3 for -r1 because test dependency pillow doesn't support it. Will open a dedicated bug to re-add in a second. Closes: https://bugs.gentoo.org/759856 Signed-off-by: Sebastian Pipping gentoo.org> Package-Manager: Portage-3.0.0, Repoman-2.3.23 dev-python/piexif/piexif-1.1.3-r1.ebuild | 38 ++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/dev-python/piexif/piexif-1.1.3-r1.ebuild b/dev-python/piexif/piexif-1.1.3-r1.ebuild new file mode 100644 index 00000000000..8cc00f50154 --- /dev/null +++ b/dev-python/piexif/piexif-1.1.3-r1.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6..9} ) + +inherit edos2unix distutils-r1 + +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" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] + app-arch/unzip + test? ( dev-python/pillow[jpeg,${PYTHON_USEDEP}] )" +RDEPEND="" + +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 +} + +python_test() { + "${PYTHON}" setup.py test || die +}