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: Tue, 02 Mar 2021 08:44:01
Message-Id: 1614674632.39b2f71aefaa6de7ff40d0850fe8eb6409eb828e.mgorny@gentoo
1 commit: 39b2f71aefaa6de7ff40d0850fe8eb6409eb828e
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Tue Mar 2 08:41:56 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Tue Mar 2 08:43:52 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=39b2f71a
7
8 dev-python/pillow: Remove old
9
10 Bug: https://bugs.gentoo.org/773559
11 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
12
13 dev-python/pillow/Manifest | 1 -
14 dev-python/pillow/pillow-8.1.0.ebuild | 98 -----------------------------------
15 2 files changed, 99 deletions(-)
16
17 diff --git a/dev-python/pillow/Manifest b/dev-python/pillow/Manifest
18 index 8c8afa3f651..0b224dd8021 100644
19 --- a/dev-python/pillow/Manifest
20 +++ b/dev-python/pillow/Manifest
21 @@ -1,2 +1 @@
22 -DIST pillow-8.1.0.tar.gz 44929704 BLAKE2B 6b8100f26a746c625851521d7aa3696c4de30b05d2debc07cfcc038c1bc1e73ab1136676d22fccdf17b8d0ecfeb21479168580e5f5a93488c50cbaf1c6533d79 SHA512 1014271d29e98c465e6882ed3f2f915f8955f5ada2a762c671a1f79389b25576ead2d144c6eaf42b4777f14438d15979d78d34dc32d984fd7defb53f0d209957
23 DIST pillow-8.1.1.tar.gz 44976395 BLAKE2B 208534f3e24d9416360efaab8f802b4d482208fe81d1b39bf8339ddd1fe992b281a59faaadeb5ad5364ff062b1b7b19c3dadc11f9a453d5bd14bbf5170521396 SHA512 d04300442ac33e946bea186d6293516b615059b0f4b1b6ac7a48ce3a2e4e22bce5bc403331be697c022a4c81cb30f943cc33bfda649873c734af7db23afd6b69
24
25 diff --git a/dev-python/pillow/pillow-8.1.0.ebuild b/dev-python/pillow/pillow-8.1.0.ebuild
26 deleted file mode 100644
27 index cea581c6c53..00000000000
28 --- a/dev-python/pillow/pillow-8.1.0.ebuild
29 +++ /dev/null
30 @@ -1,98 +0,0 @@
31 -# Copyright 1999-2021 Gentoo Authors
32 -# Distributed under the terms of the GNU General Public License v2
33 -
34 -EAPI=7
35 -
36 -PYTHON_COMPAT=( python3_{7..9} 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 ppc ppc64 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 tiff )"
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 - test? (
70 - ${RDEPEND}
71 - dev-python/pytest[${PYTHON_USEDEP}]
72 - media-gfx/imagemagick[png]
73 - )
74 -"
75 -
76 -python_configure_all() {
77 - # It's important that these flags are also passed during the install phase
78 - # as well. Make sure of that if you change the lines below. See bug 661308.
79 - mydistutilsargs=(
80 - build_ext
81 - --disable-platform-guessing
82 - $(use_enable truetype freetype)
83 - $(use_enable jpeg)
84 - $(use_enable jpeg2k jpeg2000)
85 - $(use_enable lcms)
86 - $(use_enable tiff)
87 - $(use_enable imagequant)
88 - $(use_enable webp)
89 - $(use_enable webp webpmux)
90 - $(use_enable xcb)
91 - $(use_enable zlib)
92 - )
93 -
94 - # setup.py sucks at adding the right toolchain paths but it does
95 - # accept additional ones from INCLUDE and LIB so set these. You
96 - # wouldn't normally need these at all as the toolchain should look
97 - # here anyway but this setup.py does stupid things.
98 - export \
99 - INCLUDE=${ESYSROOT}/usr/include \
100 - LIB=${ESYSROOT}/usr/$(get_libdir)
101 -
102 - # We have patched in this env var.
103 - tc-export PKG_CONFIG
104 -}
105 -
106 -src_test() {
107 - virtx distutils-r1_src_test
108 -}
109 -
110 -python_test() {
111 - "${EPYTHON}" selftest.py --installed || die "selftest failed with ${EPYTHON}"
112 - # no:relaxed: pytest-relaxed plugin make our tests fail. deactivate if installed
113 - pytest -vv -p no:relaxed || die "Tests fail with ${EPYTHON}"
114 -}
115 -
116 -python_install() {
117 - python_doheader src/libImaging/*.h
118 - distutils-r1_python_install
119 -}
120 -
121 -python_install_all() {
122 - if use examples ; then
123 - docinto example
124 - dodoc docs/example/*
125 - docompress -x /usr/share/doc/${PF}/example
126 - fi
127 - distutils-r1_python_install_all
128 -}