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: Mon, 04 May 2020 11:35:44
Message-Id: 1588592048.771f123b72d6db5d69211e3ffa0afcd287fb6d8a.mgorny@gentoo
1 commit: 771f123b72d6db5d69211e3ffa0afcd287fb6d8a
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Mon May 4 11:34:08 2020 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Mon May 4 11:34:08 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=771f123b
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-7.1.1.ebuild | 100 ----------------------------------
14 2 files changed, 101 deletions(-)
15
16 diff --git a/dev-python/pillow/Manifest b/dev-python/pillow/Manifest
17 index 823d90451b5..03200d461bc 100644
18 --- a/dev-python/pillow/Manifest
19 +++ b/dev-python/pillow/Manifest
20 @@ -1,4 +1,3 @@
21 DIST pillow-6.2.2.tar.gz 37538464 BLAKE2B dfd9b81490a8adb4e12ecbf6764e4e27573c9a087877ac37275a9fb42b89f0cd8cab8d7ca0b45c9a00bf38ca5b1d83de68f5fc35ff19031bfcc1495ee3a5f5b7 SHA512 0f2c3bfd921247fa11645eadc42e184182a401ccbdb8f10215312e96c8c28f2382f5413b56acd78fab1dffc6fa53cc8588ce960543af65c4769451874c2c918e
22 DIST pillow-7.0.0.tar.gz 37880130 BLAKE2B be940cbdced884c33f2b3979be113b1bc8974814c9532fe80203395184f90eccba1cd9a5017fec1f0c30a21ff06abc46560d5c6d67938dbf640f2e8e08b7e554 SHA512 187173a525d4f3f01b4898633263b53a311f337aa7b159c64f79ba8c7006fd44798a058e7cc5d8f1116bad008e4142ff303456692329fe73b0e115ef5c225d73
23 -DIST pillow-7.1.1.tar.gz 38933780 BLAKE2B 411e97f7ae26361501e51c1756d9c495b8fe893fdd7eeea5f51e83aab99b04216e9518f54a69a57b482b3f6837a1318daed2963f196fa5c6166d71cb7bba281e SHA512 1f3c0a3c604e95ac60e2b9170fd2f45156a444a2f98dc3afe523178364a38e2f33ca8e312be85d2ec7a13c461236063dc2622db8df7ad7fe393aeb98b5bf2dfa
24 DIST pillow-7.1.2.tar.gz 38933761 BLAKE2B b1d8cedeb0e8108af3bc5de672bcf812cb2f5ef8a9a23db45b3d5fc9d383d7d534ee63fbfce27f9ee4318982dec46e1e60eb55ce5aa14588b1468792c8188f5b SHA512 4e20f6dbc3c9d138de6270b14e85911ac5d2953328be4fd4b0754d8fe834625f914ee1f1b2f32cfb26ab57b6ea4b74d14a81a65938cbb94895c0afcd639bb38f
25
26 diff --git a/dev-python/pillow/pillow-7.1.1.ebuild b/dev-python/pillow/pillow-7.1.1.ebuild
27 deleted file mode 100644
28 index 43f8084cc1e..00000000000
29 --- a/dev-python/pillow/pillow-7.1.1.ebuild
30 +++ /dev/null
31 @@ -1,100 +0,0 @@
32 -# Copyright 1999-2020 Gentoo Authors
33 -# Distributed under the terms of the GNU General Public License v2
34 -
35 -EAPI=7
36 -
37 -PYTHON_COMPAT=( python3_{6,7,8} )
38 -PYTHON_REQ_USE='tk?,threads(+)'
39 -
40 -inherit distutils-r1 toolchain-funcs virtualx
41 -
42 -MY_PN=Pillow
43 -MY_P=${MY_PN}-${PV}
44 -
45 -DESCRIPTION="Python Imaging Library (fork)"
46 -HOMEPAGE="https://python-pillow.org/"
47 -SRC_URI="https://github.com/python-pillow/Pillow/archive/${PV}.tar.gz -> ${P}.tar.gz"
48 -S="${WORKDIR}/${MY_P}"
49 -
50 -LICENSE="HPND"
51 -SLOT="0"
52 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux"
53 -IUSE="examples imagequant jpeg jpeg2k lcms test tiff tk truetype webp xcb zlib"
54 -REQUIRED_USE="test? ( jpeg tiff )"
55 -RESTRICT="!test? ( test )"
56 -
57 -RDEPEND="
58 - dev-python/olefile[${PYTHON_USEDEP}]
59 - imagequant? ( media-gfx/libimagequant:0 )
60 - jpeg? ( virtual/jpeg:0 )
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 -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 xcb)
94 - $(use_enable zlib)
95 - )
96 -
97 - # setup.py sucks at adding the right toolchain paths but it does
98 - # accept additional ones from INCLUDE and LIB so set these. You
99 - # wouldn't normally need these at all as the toolchain should look
100 - # here anyway but this setup.py does stupid things.
101 - export \
102 - INCLUDE=${ESYSROOT}/usr/include \
103 - LIB=${ESYSROOT}/usr/$(get_libdir)
104 -
105 - # We have patched in this env var.
106 - tc-export PKG_CONFIG
107 -}
108 -
109 -src_test() {
110 - virtx distutils-r1_src_test
111 -}
112 -
113 -python_test() {
114 - "${EPYTHON}" selftest.py --installed || die "selftest failed with ${EPYTHON}"
115 - # no:relaxed: pytest-relaxed plugin make our tests fail. deactivate if installed
116 - pytest -vv -p no:relaxed || die "Tests fail with ${EPYTHON}"
117 -}
118 -
119 -python_install() {
120 - python_doheader src/libImaging/*.h
121 - distutils-r1_python_install
122 -}
123 -
124 -python_install_all() {
125 - if use examples ; then
126 - docinto example
127 - dodoc docs/example/*
128 - docompress -x /usr/share/doc/${PF}/example
129 - fi
130 - distutils-r1_python_install_all
131 -}