Gentoo Archives: gentoo-commits

From: David Seifert <soap@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/reportlab/, dev-python/reportlab/files/
Date: Sun, 26 Jan 2020 13:33:43
Message-Id: 1580045575.300193b8b0ac5683594ed62351d496df71658df9.soap@gentoo
1 commit: 300193b8b0ac5683594ed62351d496df71658df9
2 Author: David Seifert <soap <AT> gentoo <DOT> org>
3 AuthorDate: Sun Jan 26 13:32:55 2020 +0000
4 Commit: David Seifert <soap <AT> gentoo <DOT> org>
5 CommitDate: Sun Jan 26 13:32:55 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=300193b8
7
8 dev-python/reportlab: Remove old
9
10 Package-Manager: Portage-2.3.85, Repoman-2.3.20
11 Signed-off-by: David Seifert <soap <AT> gentoo.org>
12
13 dev-python/reportlab/Manifest | 1 -
14 dev-python/reportlab/files/reportlab-no-pip.patch | 12 ----
15 dev-python/reportlab/reportlab-3.3.0-r2.ebuild | 72 -----------------------
16 3 files changed, 85 deletions(-)
17
18 diff --git a/dev-python/reportlab/Manifest b/dev-python/reportlab/Manifest
19 index 1308c593f74..154a2080320 100644
20 --- a/dev-python/reportlab/Manifest
21 +++ b/dev-python/reportlab/Manifest
22 @@ -1,3 +1,2 @@
23 DIST pfbfer-20070710.zip 677333 BLAKE2B 100214476a361a5e5d1f3da0999591345f6e3a3f8c6bc3f6a3e9eca734190c6259758a43302c6e41254d33491fe535eb7d5dd07aa9727c912424bebc31fc18df SHA512 6fd4a5d955464b10d13a7b748703450c1fe120d5ed09e8cfa1b4dfa9c183c59fe001df29433af551796b0df62544b7ddc364f9bb1bdcc2cd300434340ffcc4f2
24 -DIST reportlab-3.3.0.tar.gz 1959255 BLAKE2B 0acd2d306da7836a2324b9a63c158b1b935cd393f5d1eb62cd15f8f4be6e48dac77807d1635ccafc569a47420dc3f4eec49c3ea3852a5a4241b10f0d73550865 SHA512 a6dbe5db13a9e430855ba8139310d8f04ade221c340467c2e0f5bf60c700f17148069358beb057f1667217a09b71ba1ae3112bd02e7c8de00e53a8f852acb8df
25 DIST reportlab-3.5.13.tar.gz 2842790 BLAKE2B 1457b5eb18d2f294decd7bbee202f42900a443eb7a31c2af56cc2180154e1bb48c4044c499b14489c23210e78c9bafb3fbbcd0c5a28f1d2e25f57d91dcb48526 SHA512 50afcdb5e844cc7ec5c1cf72ca28556e98ad721dce5b20cfb32fa720d56b221b9bd2662a88ea5647b11306d80e653334635b54165daa02d3062cf9d051bbd24b
26
27 diff --git a/dev-python/reportlab/files/reportlab-no-pip.patch b/dev-python/reportlab/files/reportlab-no-pip.patch
28 deleted file mode 100644
29 index 332878e24dc..00000000000
30 --- a/dev-python/reportlab/files/reportlab-no-pip.patch
31 +++ /dev/null
32 @@ -1,12 +0,0 @@
33 -diff --git a/setup.py b/setup.py
34 ---- a/setup.py
35 -+++ b/setup.py
36 -@@ -538,7 +538,7 @@
37 - ],
38 -
39 - #this probably only works for setuptools, but distutils seems to ignore it
40 -- install_requires=['pillow>=2.4.0','pip>=1.4.1', 'setuptools>=2.2'],
41 -+ install_requires=['pillow>=2.4.0'],
42 - )
43 - print()
44 - print('########## SUMMARY INFO #########')
45
46 diff --git a/dev-python/reportlab/reportlab-3.3.0-r2.ebuild b/dev-python/reportlab/reportlab-3.3.0-r2.ebuild
47 deleted file mode 100644
48 index 6d6b1de3fa6..00000000000
49 --- a/dev-python/reportlab/reportlab-3.3.0-r2.ebuild
50 +++ /dev/null
51 @@ -1,72 +0,0 @@
52 -# Copyright 1999-2020 Gentoo Authors
53 -# Distributed under the terms of the GNU General Public License v2
54 -
55 -EAPI=5
56 -
57 -PYTHON_COMPAT=( python{2_7,3_6} ) # Tests crash with pypy
58 -
59 -inherit distutils-r1 flag-o-matic prefix
60 -
61 -DESCRIPTION="Tools for generating printable PDF documents from any data source"
62 -HOMEPAGE="http://www.reportlab.com/"
63 -SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz
64 - http://www.reportlab.com/ftp/fonts/pfbfer-20070710.zip"
65 -
66 -LICENSE="BSD"
67 -SLOT="0"
68 -KEYWORDS="~alpha amd64 arm hppa ia64 ppc ppc64 sparc x86 ~amd64-linux ~x86-linux"
69 -IUSE="doc examples"
70 -
71 -RDEPEND="
72 - <dev-python/pillow-6[tiff,truetype,jpeg(+),${PYTHON_USEDEP}]
73 - media-libs/libart_lgpl
74 - sys-libs/zlib
75 -"
76 -DEPEND="${RDEPEND}
77 - >=dev-python/setuptools-2.2[${PYTHON_USEDEP}]
78 - app-arch/unzip
79 -"
80 -
81 -PATCHES=(
82 - "${FILESDIR}"/reportlab-no-pip.patch
83 -)
84 -
85 -src_unpack() {
86 - unpack ${P}.tar.gz
87 - cd ${P}/src/reportlab/fonts || die
88 - unpack pfbfer-20070710.zip
89 -}
90 -
91 -python_prepare_all() {
92 - sed -i \
93 - -e 's|/usr/local/Acrobat|/opt/Acrobat|g' \
94 - -e 's|%(HOME)s/fonts|%(HOME)s/.fonts|g' \
95 - src/reportlab/rl_config.py || die
96 -
97 - eprefixify setup.py
98 - distutils-r1_python_prepare_all
99 -}
100 -
101 -python_compile_all() {
102 - use doc && emake -C docs html
103 -}
104 -
105 -python_compile() {
106 - if ! python_is_python3; then
107 - local -x CFLAGS="${CFLAGS} -fno-strict-aliasing"
108 - fi
109 - distutils-r1_python_compile
110 -}
111 -
112 -python_test() {
113 - pushd tests > /dev/null || die
114 - "${PYTHON}" runAll.py || die "Testing failed with ${EPYTHON}"
115 - popd > /dev/null || die
116 -}
117 -
118 -python_install_all() {
119 - use doc && local HTML_DOCS=( docs/build/html/. )
120 - use examples && local EXAMPLES=( demos/. tools/pythonpoint/demos )
121 -
122 - distutils-r1_python_install_all
123 -}