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 177A913835B for ; Sun, 20 Sep 2020 14:36:23 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 43856E0909; Sun, 20 Sep 2020 14:36:22 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (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 F315DE0909 for ; Sun, 20 Sep 2020 14:36:21 +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 00FC8340FDD for ; Sun, 20 Sep 2020 14:36:21 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A10BE370 for ; Sun, 20 Sep 2020 14:36:19 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1600612576.be00c24e958dc146e7d6324e8571f858464a5d27.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pillow/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/pillow/pillow-6.2.2.ebuild X-VCS-Directories: dev-python/pillow/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: be00c24e958dc146e7d6324e8571f858464a5d27 X-VCS-Branch: master Date: Sun, 20 Sep 2020 14:36:19 +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: a7a46662-c0d1-427d-aaa9-24788ad93aad X-Archives-Hash: 7d5df4742a84bc0e939d03229a037312 commit: be00c24e958dc146e7d6324e8571f858464a5d27 Author: Michał Górny gentoo org> AuthorDate: Sun Sep 20 14:35:41 2020 +0000 Commit: Michał Górny gentoo org> CommitDate: Sun Sep 20 14:36:16 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=be00c24e dev-python/pillow: Disable tests in <7 to unblock deps Signed-off-by: Michał Górny gentoo.org> dev-python/pillow/pillow-6.2.2.ebuild | 21 +++------------------ 1 file changed, 3 insertions(+), 18 deletions(-) diff --git a/dev-python/pillow/pillow-6.2.2.ebuild b/dev-python/pillow/pillow-6.2.2.ebuild index 5b6d940f6f8..97c545afe10 100644 --- a/dev-python/pillow/pillow-6.2.2.ebuild +++ b/dev-python/pillow/pillow-6.2.2.ebuild @@ -6,7 +6,7 @@ EAPI=7 PYTHON_COMPAT=( python2_7 python3_{6..9} ) PYTHON_REQ_USE='tk?,threads(+)' -inherit distutils-r1 toolchain-funcs virtualx +inherit distutils-r1 toolchain-funcs MY_PN=Pillow MY_P=${MY_PN}-${PV} @@ -19,9 +19,8 @@ S="${WORKDIR}/${MY_P}" LICENSE="HPND" SLOT="0" KEYWORDS="~alpha amd64 arm arm64 ~hppa ppc ppc64 sparc x86 ~amd64-linux ~x86-linux" -IUSE="examples imagequant jpeg jpeg2k lcms test tiff tk truetype webp zlib" -REQUIRED_USE="test? ( jpeg tiff )" -RESTRICT="!test? ( test )" +IUSE="examples imagequant jpeg jpeg2k lcms tiff tk truetype webp zlib" +RESTRICT="test" RDEPEND=" dev-python/olefile[${PYTHON_USEDEP}] @@ -35,10 +34,6 @@ RDEPEND=" zlib? ( sys-libs/zlib:0= )" DEPEND="${RDEPEND} dev-python/setuptools[${PYTHON_USEDEP}] - test? ( - dev-python/pytest[${PYTHON_USEDEP}] - media-gfx/imagemagick[png] - ) " distutils_enable_sphinx docs \ @@ -73,16 +68,6 @@ python_configure_all() { tc-export PKG_CONFIG } -src_test() { - virtx distutils-r1_src_test -} - -python_test() { - "${EPYTHON}" selftest.py --installed || die "selftest failed with ${EPYTHON}" - # no:relaxed: pytest-relaxed plugin make our tests fail. deactivate if installed - pytest -vv -p no:relaxed || die "Tests fail with ${EPYTHON}" -} - python_install() { python_doheader src/libImaging/*.h distutils-r1_python_install