1 |
commit: 5d304437ae50e19b4d7b8a3d9f33262c26374fe3 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Jan 2 09:17:21 2021 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jan 2 09:29:28 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5d304437 |
7 |
|
8 |
dev-python/reportlab: Bump to 3.5.58 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/reportlab/Manifest | 1 + |
13 |
dev-python/reportlab/reportlab-3.5.58.ebuild | 62 ++++++++++++++++++++++++++++ |
14 |
2 files changed, 63 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/reportlab/Manifest b/dev-python/reportlab/Manifest |
17 |
index 2bbebb5f0b2..68ffdf6c4b7 100644 |
18 |
--- a/dev-python/reportlab/Manifest |
19 |
+++ b/dev-python/reportlab/Manifest |
20 |
@@ -2,3 +2,4 @@ DIST pfbfer-20070710.zip 677333 BLAKE2B 100214476a361a5e5d1f3da0999591345f6e3a3f |
21 |
DIST reportlab-3.5.48.tar.gz 2890211 BLAKE2B bf0cde9b9e80459caee37949dc90a777a56da5d2c8e6dde09bddbdac2f2c55031d92b3c7c6346b6f563904525020c0e4f666b5e2effdd761c81412df21ec60eb SHA512 ce31cb7e9e2226cb6d59d446f90c1df94f0f84077d298f7ba862f5c75995afa20fa077b1ee1ab9a145c9276cee0d75fe61237e001ad0e5b96dfb0027adff3db7 |
22 |
DIST reportlab-3.5.56.tar.gz 2899527 BLAKE2B 83f14c472a8675449e2f50f806fc5136fceb2c2f307ebd2d34ecad98ce6a67f62971869e05b7d4fe7017b5e728d21d16037ef6f04c3639b0cec8069851e46b64 SHA512 49bafe1b1f0067df1d76a8e61b35ec7062dfffa608f6086241dfa589244bef5784180de7c3d86dc62334282a40a012f7579f5c3cec3c4b0387ba2c482a04c010 |
23 |
DIST reportlab-3.5.57.tar.gz 2901465 BLAKE2B ecb0459414d359b8feb048ad34cfd782a6913f2e254f6d8832dd076fe63fda82d24c4dda28da9c0cc6765c284d51a45d44459d225899574625212c33800116dc SHA512 d325e389ddd7d3c4d98e462956a3c4b7237c9219728577a1e0599a137d19a27205b223fd13c5c260e2968c435bc06b2e4745945ac056926543a47e52868e21db |
24 |
+DIST reportlab-3.5.58.tar.gz 2903638 BLAKE2B ac19bda75e111266b35a939fc64ac44de4ad69dc7a7cbf9fdabc233e28f33589ba97dc5082cd38d5b8d11a2c7aaab0bac69a1453d8661fd26017f8e07299c2e8 SHA512 949b50f65ca305f79fbb06e7e7b1ebfb6546864892f764a3440eaed0a95ac001a71d3685e8702032573ed60893b9529bd2356b1d5419882058a3b9aab986cb64 |
25 |
|
26 |
diff --git a/dev-python/reportlab/reportlab-3.5.58.ebuild b/dev-python/reportlab/reportlab-3.5.58.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..8a6c3623a1a |
29 |
--- /dev/null |
30 |
+++ b/dev-python/reportlab/reportlab-3.5.58.ebuild |
31 |
@@ -0,0 +1,62 @@ |
32 |
+# Copyright 1999-2021 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=7 |
36 |
+ |
37 |
+PYTHON_COMPAT=( python3_{6..9} ) |
38 |
+ |
39 |
+inherit distutils-r1 |
40 |
+ |
41 |
+DESCRIPTION="Tools for generating printable PDF documents from any data source" |
42 |
+HOMEPAGE=" |
43 |
+ https://www.reportlab.com/ |
44 |
+ https://pypi.org/project/reportlab/" |
45 |
+SRC_URI=" |
46 |
+ mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz |
47 |
+ https://www.reportlab.com/ftp/fonts/pfbfer-20070710.zip" |
48 |
+ |
49 |
+LICENSE="BSD" |
50 |
+SLOT="0" |
51 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux" |
52 |
+IUSE="test" |
53 |
+RESTRICT="!test? ( test )" |
54 |
+ |
55 |
+DEPEND=" |
56 |
+ media-libs/freetype |
57 |
+ media-libs/libart_lgpl |
58 |
+ sys-libs/zlib:=" |
59 |
+RDEPEND=" |
60 |
+ ${DEPEND} |
61 |
+ dev-python/pillow[tiff,truetype,jpeg(+),${PYTHON_USEDEP}]" |
62 |
+BDEPEND=" |
63 |
+ app-arch/unzip |
64 |
+ test? ( ${RDEPEND} )" |
65 |
+ |
66 |
+distutils_enable_sphinx docs/source |
67 |
+ |
68 |
+PATCHES=( |
69 |
+ # bug 738312, remove -L/usr/lib from link line |
70 |
+ "${FILESDIR}"/${PN}-3.5.48-usr-lib-LLD.patch |
71 |
+) |
72 |
+ |
73 |
+src_unpack() { |
74 |
+ unpack ${P}.tar.gz |
75 |
+ cd ${P}/src/reportlab/fonts || die |
76 |
+ unpack pfbfer-20070710.zip |
77 |
+} |
78 |
+ |
79 |
+python_prepare_all() { |
80 |
+ # tests requiring Internet access |
81 |
+ sed -i -e 's:test0:_&:' \ |
82 |
+ tests/test_platypus_general.py \ |
83 |
+ tests/test_platypus_images.py || die |
84 |
+ sed -i -e 's:test9:_&:' tests/test_lib_utils.py || die |
85 |
+ |
86 |
+ distutils-r1_python_prepare_all |
87 |
+} |
88 |
+ |
89 |
+python_test() { |
90 |
+ pushd tests >/dev/null || die |
91 |
+ "${EPYTHON}" runAll.py || die "Testing failed with ${EPYTHON}" |
92 |
+ popd >/dev/null || die |
93 |
+} |