bump pillow-9.1.0 (from main)
This commit is contained in:
parent
23e9484a92
commit
1fb2121aec
@ -1,3 +1,3 @@
|
||||
DIST pillow-8.2.0.tar.gz 47898485 BLAKE2B bd8421a101e0be080f2fab238c3c26a4e1e722738e1036bfbb533f420881ea638016ac56e9e66ec74a93c6dafc6e4f8807ec3d504400bb675488da00c9c3cb1c SHA512 40e97a54689ca04349d17b69b0e95bb3ef4fde0b60c6c55a2ec76034a5c2a9ebee0b310f68de1636db08786d9b2ad444bf10ac3b42a31404847cc165aa8392ac
|
||||
EBUILD pillow-8.2.0.ebuild 2625 BLAKE2B fb47460430747924a590577182023a793112d02f137945f89332e16b80757614db903d32c922463b5d9874173b17718975256e7dc22b369527edb918f62c0a70 SHA512 1b840ad40981dd5ba976884503c8a20013062e1cd6ec54d9c1a9f4a05f31eba9a048603525b0205b81a6a44710df7c19cd933fc9056ea2645f487ab6c932cdd2
|
||||
DIST pillow-9.1.0.tar.gz 49748153 BLAKE2B 0051ea9c06c86f004f0708b3aa38f234e9b1fec32ef2ebaddfe47b3717b8ebb4834a2c8c2fe68cfeb44d24abe3a9039732679705f7aec790e62105ac5b51545f SHA512 22ef3a98a36ca8162447b6c716a0a9cff79ae9bf1007b7f835e0a8529fc6a062bea77afff17f444586989fff3e30589a595db34dc78e1e4000b966e8d10172f1
|
||||
EBUILD pillow-9.1.0.ebuild 3143 BLAKE2B fad8ba84632eb7c3629f29ffad6ab4446b867c406ef050beba384d11dd378f9fd6445d587dee4822c4c487dbc152ff49cefb0073199e614188af44e6244a00ce SHA512 2826d15d906f484a431629d69894da2a83dd6c966bcf0404d9c3bd4412e6504c8c94521efbdb1524d787c7ad2df91264611a94c47aff987b48ccd841f8393ee2
|
||||
MISC metadata.xml 569 BLAKE2B 9db25a6e61e42aea807f0ce623b06192c45bf8f827f8c4c6af3d19a72039d186b3b4ef76201e152775768e550b91fbb2e6e2aa43801bbe845326091f53a757b1 SHA512 00aec4f619201dabaabfdb76903affdaa61b3b7e84d3928a0e6c8c656a6cd0182404acc916e7d6234ce90b1c1b34813092ff7a69b7bed9c4b497d166b27dd1b5
|
||||
|
||||
@ -1,9 +1,10 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..10} pypy3 )
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{8..11} pypy3 )
|
||||
PYTHON_REQ_USE='tk?,threads(+)'
|
||||
|
||||
inherit distutils-r1 toolchain-funcs virtualx
|
||||
@ -18,28 +19,34 @@ S="${WORKDIR}/${MY_P}"
|
||||
|
||||
LICENSE="HPND"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux"
|
||||
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="examples imagequant +jpeg jpeg2k lcms test tiff tk truetype webp xcb zlib"
|
||||
REQUIRED_USE="test? ( jpeg jpeg2k tiff )"
|
||||
REQUIRED_USE="test? ( jpeg jpeg2k tiff truetype )"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
DEPEND="
|
||||
imagequant? ( media-gfx/libimagequant:0 )
|
||||
jpeg? ( virtual/jpeg:0 )
|
||||
jpeg? ( media-libs/libjpeg-turbo )
|
||||
jpeg2k? ( media-libs/openjpeg:2= )
|
||||
lcms? ( media-libs/lcms:2= )
|
||||
tiff? ( media-libs/tiff:0=[jpeg,zlib] )
|
||||
truetype? ( media-libs/freetype:2= )
|
||||
webp? ( media-libs/libwebp:0= )
|
||||
xcb? ( x11-libs/libxcb )
|
||||
zlib? ( sys-libs/zlib:0= )"
|
||||
RDEPEND="${DEPEND}
|
||||
dev-python/olefile[${PYTHON_USEDEP}]"
|
||||
zlib? ( sys-libs/zlib:0= )
|
||||
"
|
||||
RDEPEND="
|
||||
${DEPEND}
|
||||
dev-python/olefile[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="
|
||||
virtual/pkgconfig
|
||||
test? (
|
||||
${RDEPEND}
|
||||
dev-python/defusedxml[${PYTHON_USEDEP}]
|
||||
dev-python/packaging[${PYTHON_USEDEP}]
|
||||
dev-python/pytest[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-timeout[${PYTHON_USEDEP}]
|
||||
|| (
|
||||
media-gfx/imagemagick[png]
|
||||
media-gfx/graphicsmagick[png]
|
||||
@ -47,40 +54,53 @@ BDEPEND="
|
||||
)
|
||||
"
|
||||
|
||||
EPYTEST_DESELECT=(
|
||||
# TODO; incompatible Qt version?
|
||||
Tests/test_qt_image_qapplication.py::test_sanity
|
||||
)
|
||||
|
||||
usepil() {
|
||||
usex "${1}" enable disable
|
||||
}
|
||||
|
||||
python_configure_all() {
|
||||
# It's important that these flags are also passed during the install phase
|
||||
# as well. Make sure of that if you change the lines below. See bug 661308.
|
||||
mydistutilsargs=(
|
||||
build_ext
|
||||
--disable-platform-guessing
|
||||
$(use_enable truetype freetype)
|
||||
$(use_enable jpeg)
|
||||
$(use_enable jpeg2k jpeg2000)
|
||||
$(use_enable lcms)
|
||||
$(use_enable tiff)
|
||||
$(use_enable imagequant)
|
||||
$(use_enable webp)
|
||||
$(use_enable webp webpmux)
|
||||
$(use_enable xcb)
|
||||
$(use_enable zlib)
|
||||
)
|
||||
cat >> setup.cfg <<-EOF || die
|
||||
[build_ext]
|
||||
disable_platform_guessing = True
|
||||
$(usepil truetype)_freetype = True
|
||||
$(usepil jpeg)_jpeg = True
|
||||
$(usepil jpeg2k)_jpeg2000 = True
|
||||
$(usepil lcms)_lcms = True
|
||||
$(usepil tiff)_tiff = True
|
||||
$(usepil imagequant)_imagequant = True
|
||||
$(usepil webp)_webp = True
|
||||
$(usepil webp)_webpmux = True
|
||||
$(usepil xcb)_xcb = True
|
||||
$(usepil zlib)_zlib = True
|
||||
EOF
|
||||
|
||||
# setup.py sucks at adding the right toolchain paths but it does
|
||||
# setup.py won't let us add the right toolchain paths but it does
|
||||
# accept additional ones from INCLUDE and LIB so set these. You
|
||||
# wouldn't normally need these at all as the toolchain should look
|
||||
# here anyway but this setup.py does stupid things.
|
||||
# here anyway but it doesn't for this setup.py.
|
||||
export \
|
||||
INCLUDE=${ESYSROOT}/usr/include \
|
||||
LIB=${ESYSROOT}/usr/$(get_libdir)
|
||||
INCLUDE="${ESYSROOT}"/usr/include \
|
||||
LIB="${ESYSROOT}"/usr/$(get_libdir)
|
||||
|
||||
# We have patched in this env var.
|
||||
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
|
||||
virtx epytest -p no:relaxed
|
||||
epytest -p no:relaxed || die "Tests failed with ${EPYTHON}"
|
||||
}
|
||||
|
||||
python_install() {
|
||||
Loading…
x
Reference in New Issue
Block a user