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: Fri, 22 May 2020 09:04:10
Message-Id: 1590138238.f7b5c93f075e2d089c65dc56a13b2f1ccb1b8a35.mgorny@gentoo
1 commit: f7b5c93f075e2d089c65dc56a13b2f1ccb1b8a35
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Fri May 22 09:01:24 2020 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Fri May 22 09:03:58 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f7b5c93f
7
8 dev-python/reportlab: Bump to 3.5.42
9
10 Bug: https://bugs.gentoo.org/710738
11 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
12
13 dev-python/reportlab/Manifest | 1 +
14 dev-python/reportlab/reportlab-3.5.42.ebuild | 59 ++++++++++++++++++++++++++++
15 2 files changed, 60 insertions(+)
16
17 diff --git a/dev-python/reportlab/Manifest b/dev-python/reportlab/Manifest
18 index 154a2080320..8e8f474e616 100644
19 --- a/dev-python/reportlab/Manifest
20 +++ b/dev-python/reportlab/Manifest
21 @@ -1,2 +1,3 @@
22 DIST pfbfer-20070710.zip 677333 BLAKE2B 100214476a361a5e5d1f3da0999591345f6e3a3f8c6bc3f6a3e9eca734190c6259758a43302c6e41254d33491fe535eb7d5dd07aa9727c912424bebc31fc18df SHA512 6fd4a5d955464b10d13a7b748703450c1fe120d5ed09e8cfa1b4dfa9c183c59fe001df29433af551796b0df62544b7ddc364f9bb1bdcc2cd300434340ffcc4f2
23 DIST reportlab-3.5.13.tar.gz 2842790 BLAKE2B 1457b5eb18d2f294decd7bbee202f42900a443eb7a31c2af56cc2180154e1bb48c4044c499b14489c23210e78c9bafb3fbbcd0c5a28f1d2e25f57d91dcb48526 SHA512 50afcdb5e844cc7ec5c1cf72ca28556e98ad721dce5b20cfb32fa720d56b221b9bd2662a88ea5647b11306d80e653334635b54165daa02d3062cf9d051bbd24b
24 +DIST reportlab-3.5.42.tar.gz 2883081 BLAKE2B 22f4e7ebc233895a036eeb94c5beb9206be561a8a44895b36291a4f840603a2fec90107ac60e749f99be629202801c63ff67d5034d19b42383f2df12d457104d SHA512 f52717867190bf7812fd566d9ec3044198db809cdd0f53cc9dbfa92503a202540db659369e20bba3de07cd28eb10515d03b85700ac138c9394dc9eed1f08b8f8
25
26 diff --git a/dev-python/reportlab/reportlab-3.5.42.ebuild b/dev-python/reportlab/reportlab-3.5.42.ebuild
27 new file mode 100644
28 index 00000000000..ae55110a73a
29 --- /dev/null
30 +++ b/dev-python/reportlab/reportlab-3.5.42.ebuild
31 @@ -0,0 +1,59 @@
32 +# Copyright 1999-2020 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=7
36 +
37 +PYTHON_COMPAT=( python{3_6,3_7,3_8} )
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 + https://bitbucket.org/rptlab/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 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux"
53 +IUSE="test"
54 +RESTRICT="!test? ( test )"
55 +
56 +DEPEND="
57 + media-libs/libart_lgpl:=
58 + sys-libs/zlib:=
59 +"
60 +RDEPEND="
61 + dev-python/pillow[tiff,truetype,jpeg(+),${PYTHON_USEDEP}]
62 +"
63 +BDEPEND="
64 + test? ( ${RDEPEND} )
65 + app-arch/unzip
66 +"
67 +RDEPEND+=${DEPEND}
68 +
69 +distutils_enable_sphinx docs/source
70 +
71 +src_unpack() {
72 + unpack ${P}.tar.gz
73 + cd ${P}/src/reportlab/fonts || die
74 + unpack pfbfer-20070710.zip
75 +}
76 +
77 +src_prepare() {
78 + # tests requiring Internet access
79 + sed -i -e 's:test0:_&:' \
80 + tests/test_platypus_general.py \
81 + tests/test_platypus_images.py || die
82 + sed -i -e 's:test9:_&:' tests/test_lib_utils.py || die
83 + distutils-r1_src_prepare
84 +}
85 +
86 +python_test() {
87 + pushd tests > /dev/null || die
88 + "${EPYTHON}" runAll.py || die "Testing failed with ${EPYTHON}"
89 + popd > /dev/null || die
90 +}