diff options
author | Michał Górny <mgorny@gentoo.org> | 2020-09-20 16:35:41 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2020-09-20 16:36:16 +0200 |
commit | be00c24e958dc146e7d6324e8571f858464a5d27 (patch) | |
tree | d690a467f01daedf9e3e6a27b1cbbb35ae36e495 | |
parent | dev-python/pytest-mock: Remove old (diff) | |
download | gentoo-be00c24e958dc146e7d6324e8571f858464a5d27.tar.gz gentoo-be00c24e958dc146e7d6324e8571f858464a5d27.tar.bz2 gentoo-be00c24e958dc146e7d6324e8571f858464a5d27.zip |
dev-python/pillow: Disable tests in <7 to unblock deps
Signed-off-by: Michał Górny <mgorny@gentoo.org>
-rw-r--r-- | dev-python/pillow/pillow-6.2.2.ebuild | 21 |
1 files 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 5b6d940f6f8f..97c545afe105 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 |