Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pillow/
Date: Tue, 17 May 2022 19:16:47
Message-Id: 1652814992.75e093bf57da23ab2e0740de89eba7f9a09d79dd.sam@gentoo
1 commit: 75e093bf57da23ab2e0740de89eba7f9a09d79dd
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Tue May 17 19:16:26 2022 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Tue May 17 19:16:32 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=75e093bf
7
8 dev-python/pillow: drop 9.1.0
9
10 Bug: https://bugs.gentoo.org/845192
11 Signed-off-by: Sam James <sam <AT> gentoo.org>
12
13 dev-python/pillow/Manifest | 1 -
14 dev-python/pillow/pillow-9.1.0.ebuild | 118 ----------------------------------
15 2 files changed, 119 deletions(-)
16
17 diff --git a/dev-python/pillow/Manifest b/dev-python/pillow/Manifest
18 index 5c74ad38d36e..87e4f7467d4d 100644
19 --- a/dev-python/pillow/Manifest
20 +++ b/dev-python/pillow/Manifest
21 @@ -1,3 +1,2 @@
22 DIST pillow-9.0.1.tar.gz 49512045 BLAKE2B 14f0969c87c57bad8fc38d873bba7a118d666e8b2e62e777ea17197e5ca973b3994bafb56b4464cde4059f2fc4040d73e7ddeec2a1053aeb1f201bf2ec2b38e2 SHA512 73893fe079bb2405c87b73b13b6eff198fb8970a891a7c9586bd2620ea0310d54cb35b1d594c6c6d3859e47d8d467700f987ae32aa6d3dc4a2e9286e8749869e
23 -DIST pillow-9.1.0.tar.gz 49748153 BLAKE2B 0051ea9c06c86f004f0708b3aa38f234e9b1fec32ef2ebaddfe47b3717b8ebb4834a2c8c2fe68cfeb44d24abe3a9039732679705f7aec790e62105ac5b51545f SHA512 22ef3a98a36ca8162447b6c716a0a9cff79ae9bf1007b7f835e0a8529fc6a062bea77afff17f444586989fff3e30589a595db34dc78e1e4000b966e8d10172f1
24 DIST pillow-9.1.1.tar.gz 49753799 BLAKE2B 969a338f768951c340177d0590c50ba1213f48810870ac3fdbc2556c57344e356e0cf1ef080bde29bf89291adbf9f64b2dd1f950260d2ce5c0eb28d197f2dfe2 SHA512 8c05c0af6be992667d764046c6d7c189e1486d6ab987474c15e3bc8a64b9955d4c91d94b94ea46ef6d1c6f343ba424240dfa7d758c666bec40fa580728206a5f
25
26 diff --git a/dev-python/pillow/pillow-9.1.0.ebuild b/dev-python/pillow/pillow-9.1.0.ebuild
27 deleted file mode 100644
28 index 56f56cbef8cb..000000000000
29 --- a/dev-python/pillow/pillow-9.1.0.ebuild
30 +++ /dev/null
31 @@ -1,118 +0,0 @@
32 -# Copyright 1999-2022 Gentoo Authors
33 -# Distributed under the terms of the GNU General Public License v2
34 -
35 -EAPI=8
36 -
37 -DISTUTILS_USE_PEP517=setuptools
38 -PYTHON_COMPAT=( python3_{8..11} pypy3 )
39 -PYTHON_REQ_USE='tk?,threads(+)'
40 -
41 -inherit distutils-r1 toolchain-funcs virtualx
42 -
43 -MY_PN=Pillow
44 -MY_P=${MY_PN}-${PV}
45 -
46 -DESCRIPTION="Python Imaging Library (fork)"
47 -HOMEPAGE="https://python-pillow.org/"
48 -SRC_URI="https://github.com/python-pillow/Pillow/archive/${PV}.tar.gz -> ${P}.tar.gz"
49 -S="${WORKDIR}/${MY_P}"
50 -
51 -LICENSE="HPND"
52 -SLOT="0"
53 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
54 -IUSE="examples imagequant +jpeg jpeg2k lcms test tiff tk truetype webp xcb zlib"
55 -REQUIRED_USE="test? ( jpeg jpeg2k tiff truetype )"
56 -RESTRICT="!test? ( test )"
57 -
58 -DEPEND="
59 - imagequant? ( media-gfx/libimagequant:0 )
60 - jpeg? ( media-libs/libjpeg-turbo )
61 - jpeg2k? ( media-libs/openjpeg:2= )
62 - lcms? ( media-libs/lcms:2= )
63 - tiff? ( media-libs/tiff:0=[jpeg,zlib] )
64 - truetype? ( media-libs/freetype:2= )
65 - webp? ( media-libs/libwebp:0= )
66 - xcb? ( x11-libs/libxcb )
67 - zlib? ( sys-libs/zlib:0= )
68 -"
69 -RDEPEND="
70 - ${DEPEND}
71 - dev-python/olefile[${PYTHON_USEDEP}]
72 -"
73 -BDEPEND="
74 - virtual/pkgconfig
75 - test? (
76 - ${RDEPEND}
77 - dev-python/defusedxml[${PYTHON_USEDEP}]
78 - dev-python/packaging[${PYTHON_USEDEP}]
79 - dev-python/pytest[${PYTHON_USEDEP}]
80 - dev-python/pytest-timeout[${PYTHON_USEDEP}]
81 - || (
82 - media-gfx/imagemagick[png]
83 - media-gfx/graphicsmagick[png]
84 - )
85 - )
86 -"
87 -
88 -EPYTEST_DESELECT=(
89 - # TODO; incompatible Qt version?
90 - Tests/test_qt_image_qapplication.py::test_sanity
91 -)
92 -
93 -usepil() {
94 - usex "${1}" enable disable
95 -}
96 -
97 -python_configure_all() {
98 - # It's important that these flags are also passed during the install phase
99 - # as well. Make sure of that if you change the lines below. See bug 661308.
100 - cat >> setup.cfg <<-EOF || die
101 - [build_ext]
102 - disable_platform_guessing = True
103 - $(usepil truetype)_freetype = True
104 - $(usepil jpeg)_jpeg = True
105 - $(usepil jpeg2k)_jpeg2000 = True
106 - $(usepil lcms)_lcms = True
107 - $(usepil tiff)_tiff = True
108 - $(usepil imagequant)_imagequant = True
109 - $(usepil webp)_webp = True
110 - $(usepil webp)_webpmux = True
111 - $(usepil xcb)_xcb = True
112 - $(usepil zlib)_zlib = True
113 - EOF
114 -
115 - # setup.py won't let us add the right toolchain paths but it does
116 - # accept additional ones from INCLUDE and LIB so set these. You
117 - # wouldn't normally need these at all as the toolchain should look
118 - # here anyway but it doesn't for this setup.py.
119 - export \
120 - INCLUDE="${ESYSROOT}"/usr/include \
121 - LIB="${ESYSROOT}"/usr/$(get_libdir)
122 -
123 - # We have patched in this env var.
124 - tc-export PKG_CONFIG
125 -}
126 -
127 -src_test() {
128 - virtx distutils-r1_src_test
129 -}
130 -
131 -python_test() {
132 - "${EPYTHON}" selftest.py --installed || die "selftest failed with ${EPYTHON}"
133 - # no:relaxed: pytest-relaxed plugin make our tests fail. deactivate if installed
134 - epytest -p no:relaxed || die "Tests failed with ${EPYTHON}"
135 -}
136 -
137 -python_install() {
138 - python_doheader src/libImaging/*.h
139 - distutils-r1_python_install
140 -}
141 -
142 -python_install_all() {
143 - if use examples ; then
144 - docinto example
145 - dodoc docs/example/*
146 - docompress -x /usr/share/doc/${PF}/example
147 - fi
148 - distutils-r1_python_install_all
149 -}