1 |
commit: 1773536464278619df8515752ab3201dbea474e9 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Nov 2 10:30:52 2020 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Nov 2 10:34:24 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=17735364 |
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-8.0.0.ebuild | 98 ----------------------------------- |
14 |
2 files changed, 99 deletions(-) |
15 |
|
16 |
diff --git a/dev-python/pillow/Manifest b/dev-python/pillow/Manifest |
17 |
index c860699edff..350c72fff21 100644 |
18 |
--- a/dev-python/pillow/Manifest |
19 |
+++ b/dev-python/pillow/Manifest |
20 |
@@ -1,5 +1,4 @@ |
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.2.0.tar.gz 39125407 BLAKE2B f49015922c34473590740c9fa63435f85f9a517b3295abd2e758941b95162cef0fb1fa2a0e6ee0ac86323709ee3af02888f6e029a1905f13698e82c1f38d5d94 SHA512 ac9c7c8f445b3f67f51bea13fad118d1612c45272c26d33bec286f3c2e198912b934378c4bf986b409aaa2a83d92ff176ee4d25f28701d61746c9cb86d0f412b |
24 |
-DIST pillow-8.0.0.tar.gz 44614151 BLAKE2B c0b4444a1850fe59f11dcec1face78c34f098752d9f1d11e00851b14331056a45d44dc40bcad51558c0a533476ba05c815170eb5cb807a142c473daf1358fd76 SHA512 4f126e39a8c4ff7cb83ed263e04e5921fe55d5167fca98b59ffecb95f994b2487b9b7ca83151c017d915f9d3cc05b71da44de7b9cfa418f1c70574234c1b9c83 |
25 |
DIST pillow-8.0.1.tar.gz 44614653 BLAKE2B 0f8ec178e92a57a55d575fac61779d39e79ff18032a02ad93aa6eca1211436342944b1a5bbd29979b52f0e2df756936ade4bf637ac3c153b5dda5838b58087ac SHA512 41b4ea786990c834f77ad06b64f465bc8f3a65911cf14bb05f452316fdf504e5e49b2bb50a9346f207187e79f83c5b6d310d703d1588f678b606584b1f27ce6a |
26 |
|
27 |
diff --git a/dev-python/pillow/pillow-8.0.0.ebuild b/dev-python/pillow/pillow-8.0.0.ebuild |
28 |
deleted file mode 100644 |
29 |
index ea2d981f210..00000000000 |
30 |
--- a/dev-python/pillow/pillow-8.0.0.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=( python3_{6..9} ) |
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 ~ppc ~ppc64 ~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 tiff )" |
56 |
-RESTRICT="!test? ( test )" |
57 |
- |
58 |
-DEPEND=" |
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 |
-RDEPEND="${DEPEND} |
69 |
- dev-python/olefile[${PYTHON_USEDEP}]" |
70 |
-BDEPEND=" |
71 |
- test? ( |
72 |
- ${RDEPEND} |
73 |
- dev-python/pytest[${PYTHON_USEDEP}] |
74 |
- media-gfx/imagemagick[png] |
75 |
- ) |
76 |
-" |
77 |
- |
78 |
-python_configure_all() { |
79 |
- # It's important that these flags are also passed during the install phase |
80 |
- # as well. Make sure of that if you change the lines below. See bug 661308. |
81 |
- mydistutilsargs=( |
82 |
- build_ext |
83 |
- --disable-platform-guessing |
84 |
- $(use_enable truetype freetype) |
85 |
- $(use_enable jpeg) |
86 |
- $(use_enable jpeg2k jpeg2000) |
87 |
- $(use_enable lcms) |
88 |
- $(use_enable tiff) |
89 |
- $(use_enable imagequant) |
90 |
- $(use_enable webp) |
91 |
- $(use_enable webp webpmux) |
92 |
- $(use_enable xcb) |
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 |
-} |