1 |
commit: b5e759221db1baa9d91629172c40c283f1d797a6 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Mar 27 08:45:54 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Mar 27 09:31:51 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b5e75922 |
7 |
|
8 |
dev-python/reportlab: Bump to 3.6.9 |
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.6.9.ebuild | 56 +++++++++++++++++++++++++++++ |
14 |
2 files changed, 57 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/reportlab/Manifest b/dev-python/reportlab/Manifest |
17 |
index c90d8a6eede6..735871baad7b 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.6.6.tar.gz 4509457 BLAKE2B d2cb5c764aa86000dd97798b5aea25fdc07e4230015dda6c11099e379884ca74532327dfe723069d5e56569dd7e120d94918f64a5f705bfef212b484f812aa7b SHA512 6f05e5f7c6b6c0b6f8d65fe11e2900ecd427f6c293672b12a4cc094476da1cdebc0df59198660614251d388241d7c886c345f958d337d351ea048b3b25a71ba5 |
22 |
DIST reportlab-3.6.7.tar.gz 4504447 BLAKE2B 3e691294d20f94850840ddc70565d2235bdcb37d47b5e869e34e5fea93dc9ba017d09f088e18b6479266354076b89461849dd1eb7d1d4e8b12a9c4a95706bf66 SHA512 51f98900ccf7ef34fefc237bf1c787931a525cd82284685bda26f411760b97d1b85fce5bffa59b133705f6c1769a8d3616ef85ea368ed59dfc72f24d5faf6e88 |
23 |
DIST reportlab-3.6.8.tar.gz 4503191 BLAKE2B 3d61ac2554309a8dfff2107ba6157152b558355fc6ebd7d2337b0f3152ceb9644ae2dc20b6e0f2ed312a579fc5f172e05eeda69e3b6acbbf921b62f27ce50f77 SHA512 7eb2381a8020f751f03008bb8dc1eb07f954a97c0c3d38646602a22ed7f69dd73e11bbd1251a471da141c98492be7f3867cf120e489c58911ae6e9f29c926507 |
24 |
+DIST reportlab-3.6.9.tar.gz 4507750 BLAKE2B 881eeaa36fb3934a75e420822d5b0d0f1718da190741190e58756c952bc3efac304e2c7747d8748713ef3f9449ead40c44d6774d6ca90218db51c16790d9e8cd SHA512 401127eaa3e4c9f303f5c13f96151a563a16efb15d1e9aaf6dab04cb23f275b552cdd8fb9a3a49bca420a8ddf83423c481dacdd11e39220592cf0ad911b70c42 |
25 |
|
26 |
diff --git a/dev-python/reportlab/reportlab-3.6.9.ebuild b/dev-python/reportlab/reportlab-3.6.9.ebuild |
27 |
new file mode 100644 |
28 |
index 000000000000..8381872bec16 |
29 |
--- /dev/null |
30 |
+++ b/dev-python/reportlab/reportlab-3.6.9.ebuild |
31 |
@@ -0,0 +1,56 @@ |
32 |
+# Copyright 1999-2022 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=8 |
36 |
+ |
37 |
+DISTUTILS_USE_PEP517=setuptools |
38 |
+PYTHON_COMPAT=( python3_{8..10} ) |
39 |
+ |
40 |
+inherit distutils-r1 |
41 |
+ |
42 |
+DESCRIPTION="Tools for generating printable PDF documents from any data source" |
43 |
+HOMEPAGE=" |
44 |
+ https://www.reportlab.com/ |
45 |
+ https://pypi.org/project/reportlab/" |
46 |
+SRC_URI=" |
47 |
+ mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz |
48 |
+ https://www.reportlab.com/ftp/fonts/pfbfer-20070710.zip" |
49 |
+ |
50 |
+LICENSE="BSD" |
51 |
+SLOT="0" |
52 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" |
53 |
+ |
54 |
+DEPEND=" |
55 |
+ media-libs/freetype |
56 |
+ media-libs/libart_lgpl |
57 |
+ sys-libs/zlib:= |
58 |
+" |
59 |
+RDEPEND=" |
60 |
+ ${DEPEND} |
61 |
+ dev-python/pillow[tiff,truetype,jpeg(+),${PYTHON_USEDEP}] |
62 |
+" |
63 |
+BDEPEND=" |
64 |
+ app-arch/unzip |
65 |
+" |
66 |
+ |
67 |
+distutils_enable_sphinx docs/source |
68 |
+ |
69 |
+src_unpack() { |
70 |
+ unpack ${P}.tar.gz |
71 |
+ cd ${P}/src/reportlab/fonts || die |
72 |
+ unpack pfbfer-20070710.zip |
73 |
+} |
74 |
+ |
75 |
+src_configure() { |
76 |
+ cat > local-setup.cfg <<-EOF || die |
77 |
+ [OPTIONS] |
78 |
+ no-download-t1-files = 1 |
79 |
+ use-system-libart = 1 |
80 |
+ EOF |
81 |
+} |
82 |
+ |
83 |
+python_test() { |
84 |
+ pushd tests >/dev/null || die |
85 |
+ "${EPYTHON}" runAll.py -v || die "Testing failed with ${EPYTHON}" |
86 |
+ popd >/dev/null || die |
87 |
+} |