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/reportlab/
Date: Mon, 29 Nov 2021 14:45:28
Message-Id: 1638197110.c039fefbbc387e328be4ce8bd05e66b367755081.mgorny@gentoo
1 commit: c039fefbbc387e328be4ce8bd05e66b367755081
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Mon Nov 29 14:14:38 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Mon Nov 29 14:45:10 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c039fefb
7
8 dev-python/reportlab: Bump to 3.6.3
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.3.ebuild | 56 +++++++++++++++++++++++++++++
14 2 files changed, 57 insertions(+)
15
16 diff --git a/dev-python/reportlab/Manifest b/dev-python/reportlab/Manifest
17 index 420e5298b91a..a3bc1e24e39f 100644
18 --- a/dev-python/reportlab/Manifest
19 +++ b/dev-python/reportlab/Manifest
20 @@ -1,2 +1,3 @@
21 DIST pfbfer-20070710.zip 677333 BLAKE2B 100214476a361a5e5d1f3da0999591345f6e3a3f8c6bc3f6a3e9eca734190c6259758a43302c6e41254d33491fe535eb7d5dd07aa9727c912424bebc31fc18df SHA512 6fd4a5d955464b10d13a7b748703450c1fe120d5ed09e8cfa1b4dfa9c183c59fe001df29433af551796b0df62544b7ddc364f9bb1bdcc2cd300434340ffcc4f2
22 DIST reportlab-3.6.2.tar.gz 4501397 BLAKE2B 725b1142b54f2968d01f788949b9bd4a9208353710724bb7e647be5652b4bb01c37d344db1975f906e83c1265b9dd294fbbfbbb5c1960d25503a255ea32269de SHA512 5a8f22c50bbfcd1e76671e3337df5a740f6451ae42795288c0a0855167d0369543983e895317f1f6cbd14231bc664cea62e5a3b8ccd99775c423074b8c347b68
23 +DIST reportlab-3.6.3.tar.gz 4502282 BLAKE2B 32f096eaa6526eaa3460f85f85e9e2e3947a4f774cce4306248fabd061e0acce3ffcc711552928ddf7d7d6b0cbb8e6629fbf35cbd15176972e0739cf6fd4751e SHA512 7e2f284a322371aa217ed60b966721b0ea5e2419e76bcc50ade9924e0ce6c3f5f9858500b17457883c41738ce5989624b87d26408a8afb65f737e82884b9c7df
24
25 diff --git a/dev-python/reportlab/reportlab-3.6.3.ebuild b/dev-python/reportlab/reportlab-3.6.3.ebuild
26 new file mode 100644
27 index 000000000000..b7688f2391ae
28 --- /dev/null
29 +++ b/dev-python/reportlab/reportlab-3.6.3.ebuild
30 @@ -0,0 +1,56 @@
31 +# Copyright 1999-2021 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=8
35 +
36 +PYTHON_COMPAT=( python3_{8..10} )
37 +inherit distutils-r1
38 +
39 +DESCRIPTION="Tools for generating printable PDF documents from any data source"
40 +HOMEPAGE="
41 + https://www.reportlab.com/
42 + https://pypi.org/project/reportlab/"
43 +SRC_URI="
44 + mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz
45 + https://www.reportlab.com/ftp/fonts/pfbfer-20070710.zip"
46 +
47 +LICENSE="BSD"
48 +SLOT="0"
49 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux"
50 +
51 +DEPEND="
52 + media-libs/freetype
53 + media-libs/libart_lgpl
54 + sys-libs/zlib:="
55 +RDEPEND="
56 + ${DEPEND}
57 + dev-python/pillow[tiff,truetype,jpeg(+),${PYTHON_USEDEP}]"
58 +BDEPEND="
59 + app-arch/unzip"
60 +
61 +distutils_enable_sphinx docs/source
62 +distutils_enable_tests unittest
63 +
64 +PATCHES=(
65 + # bug 738312, remove -L/usr/lib from link line
66 + "${FILESDIR}"/${PN}-3.5.48-usr-lib-LLD.patch
67 +)
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 + DISTUTILS_ARGS=(
77 + --no-download-t1-files
78 + --use-system-libart
79 + )
80 +}
81 +
82 +python_test() {
83 + pushd tests >/dev/null || die
84 + "${EPYTHON}" runAll.py -v || die "Testing failed with ${EPYTHON}"
85 + popd >/dev/null || die
86 +}