Gentoo Archives: gentoo-commits

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