Gentoo Archives: gentoo-commits

From: Aaron Bauman <bman@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pillow/
Date: Mon, 04 May 2020 01:22:32
Message-Id: 1588555333.815387495f790a66b5fbf74f014349535fe4bbbc.bman@gentoo
1 commit: 815387495f790a66b5fbf74f014349535fe4bbbc
2 Author: Aaron Bauman <bman <AT> gentoo <DOT> org>
3 AuthorDate: Mon May 4 01:21:39 2020 +0000
4 Commit: Aaron Bauman <bman <AT> gentoo <DOT> org>
5 CommitDate: Mon May 4 01:22:13 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=81538749
7
8 dev-python/pillow: drop vulnerable
9
10 Bug: https://bugs.gentoo.org/706202
11 Signed-off-by: Aaron Bauman <bman <AT> gentoo.org>
12
13 dev-python/pillow/Manifest | 1 -
14 dev-python/pillow/pillow-6.2.1.ebuild | 98 -----------------------------------
15 2 files changed, 99 deletions(-)
16
17 diff --git a/dev-python/pillow/Manifest b/dev-python/pillow/Manifest
18 index 8d9dabd2eb3..823d90451b5 100644
19 --- a/dev-python/pillow/Manifest
20 +++ b/dev-python/pillow/Manifest
21 @@ -1,4 +1,3 @@
22 -DIST pillow-6.2.1.tar.gz 37405020 BLAKE2B bf3592bcc159902acc35899463c8949daf7cc31f03283684dc55d5f1517fdfbc07e1feb73b65b0b9cb4052ee1d5281558b38f9bd08240d0fc5727909b98da158 SHA512 ee757ec2b8382d6d56fd0f0cdd4cd36440cc37f05741e27fc661449a16dc7c868966772060adb283de1b1b5ebc49b8eec46e0bdcdad9f5f4d5ebd77feab7ad31
23 DIST pillow-6.2.2.tar.gz 37538464 BLAKE2B dfd9b81490a8adb4e12ecbf6764e4e27573c9a087877ac37275a9fb42b89f0cd8cab8d7ca0b45c9a00bf38ca5b1d83de68f5fc35ff19031bfcc1495ee3a5f5b7 SHA512 0f2c3bfd921247fa11645eadc42e184182a401ccbdb8f10215312e96c8c28f2382f5413b56acd78fab1dffc6fa53cc8588ce960543af65c4769451874c2c918e
24 DIST pillow-7.0.0.tar.gz 37880130 BLAKE2B be940cbdced884c33f2b3979be113b1bc8974814c9532fe80203395184f90eccba1cd9a5017fec1f0c30a21ff06abc46560d5c6d67938dbf640f2e8e08b7e554 SHA512 187173a525d4f3f01b4898633263b53a311f337aa7b159c64f79ba8c7006fd44798a058e7cc5d8f1116bad008e4142ff303456692329fe73b0e115ef5c225d73
25 DIST pillow-7.1.1.tar.gz 38933780 BLAKE2B 411e97f7ae26361501e51c1756d9c495b8fe893fdd7eeea5f51e83aab99b04216e9518f54a69a57b482b3f6837a1318daed2963f196fa5c6166d71cb7bba281e SHA512 1f3c0a3c604e95ac60e2b9170fd2f45156a444a2f98dc3afe523178364a38e2f33ca8e312be85d2ec7a13c461236063dc2622db8df7ad7fe393aeb98b5bf2dfa
26
27 diff --git a/dev-python/pillow/pillow-6.2.1.ebuild b/dev-python/pillow/pillow-6.2.1.ebuild
28 deleted file mode 100644
29 index a53a7f73a72..00000000000
30 --- a/dev-python/pillow/pillow-6.2.1.ebuild
31 +++ /dev/null
32 @@ -1,98 +0,0 @@
33 -# Copyright 1999-2020 Gentoo Authors
34 -# Distributed under the terms of the GNU General Public License v2
35 -
36 -EAPI=7
37 -
38 -PYTHON_COMPAT=( python2_7 python3_{6,7,8} )
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 ppc ppc64 sparc x86 ~amd64-linux ~x86-linux"
54 -IUSE="examples imagequant jpeg jpeg2k lcms test tiff tk truetype webp zlib"
55 -REQUIRED_USE="test? ( jpeg tiff )"
56 -RESTRICT="!test? ( test )"
57 -
58 -RDEPEND="
59 - dev-python/olefile[${PYTHON_USEDEP}]
60 - imagequant? ( media-gfx/libimagequant:0 )
61 - jpeg? ( virtual/jpeg:0 )
62 - jpeg2k? ( media-libs/openjpeg:2= )
63 - lcms? ( media-libs/lcms:2= )
64 - tiff? ( media-libs/tiff:0=[jpeg,zlib] )
65 - truetype? ( media-libs/freetype:2= )
66 - webp? ( media-libs/libwebp:0= )
67 - zlib? ( sys-libs/zlib:0= )"
68 -DEPEND="${RDEPEND}
69 - dev-python/setuptools[${PYTHON_USEDEP}]
70 - test? (
71 - dev-python/pytest[${PYTHON_USEDEP}]
72 - media-gfx/imagemagick[png]
73 - )
74 -"
75 -
76 -distutils_enable_sphinx docs \
77 - dev-python/sphinx_rtd_theme
78 -
79 -python_configure_all() {
80 - # It's important that these flags are also passed during the install phase
81 - # as well. Make sure of that if you change the lines below. See bug 661308.
82 - mydistutilsargs=(
83 - build_ext
84 - --disable-platform-guessing
85 - $(use_enable truetype freetype)
86 - $(use_enable jpeg)
87 - $(use_enable jpeg2k jpeg2000)
88 - $(use_enable lcms)
89 - $(use_enable tiff)
90 - $(use_enable imagequant)
91 - $(use_enable webp)
92 - $(use_enable webp webpmux)
93 - $(use_enable zlib)
94 - )
95 -
96 - # setup.py sucks at adding the right toolchain paths but it does
97 - # accept additional ones from INCLUDE and LIB so set these. You
98 - # wouldn't normally need these at all as the toolchain should look
99 - # here anyway but this setup.py does stupid things.
100 - export \
101 - INCLUDE=${ESYSROOT}/usr/include \
102 - LIB=${ESYSROOT}/usr/$(get_libdir)
103 -
104 - # We have patched in this env var.
105 - tc-export PKG_CONFIG
106 -}
107 -
108 -src_test() {
109 - virtx distutils-r1_src_test
110 -}
111 -
112 -python_test() {
113 - "${EPYTHON}" selftest.py --installed || die "selftest failed with ${EPYTHON}"
114 - # no:relaxed: pytest-relaxed plugin make our tests fail. deactivate if installed
115 - pytest -vv -p no:relaxed || die "Tests fail with ${EPYTHON}"
116 -}
117 -
118 -python_install() {
119 - python_doheader src/libImaging/*.h
120 - distutils-r1_python_install
121 -}
122 -
123 -python_install_all() {
124 - if use examples ; then
125 - docinto example
126 - dodoc docs/example/*
127 - docompress -x /usr/share/doc/${PF}/example
128 - fi
129 - distutils-r1_python_install_all
130 -}