commit:     a00fae0aac864d90d29c5b65d88906f577ac4b8f
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Mar 16 09:27:37 2022 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Mar 16 09:54:40 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a00fae0a

dev-python/reportlab: Bump to 3.6.8

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/reportlab/Manifest               |  1 +
 dev-python/reportlab/reportlab-3.6.8.ebuild | 61 +++++++++++++++++++++++++++++
 2 files changed, 62 insertions(+)

diff --git a/dev-python/reportlab/Manifest b/dev-python/reportlab/Manifest
index f0df1962a663..c90d8a6eede6 100644
--- a/dev-python/reportlab/Manifest
+++ b/dev-python/reportlab/Manifest
@@ -1,3 +1,4 @@
 DIST pfbfer-20070710.zip 677333 BLAKE2B 
100214476a361a5e5d1f3da0999591345f6e3a3f8c6bc3f6a3e9eca734190c6259758a43302c6e41254d33491fe535eb7d5dd07aa9727c912424bebc31fc18df
 SHA512 
6fd4a5d955464b10d13a7b748703450c1fe120d5ed09e8cfa1b4dfa9c183c59fe001df29433af551796b0df62544b7ddc364f9bb1bdcc2cd300434340ffcc4f2
 DIST reportlab-3.6.6.tar.gz 4509457 BLAKE2B 
d2cb5c764aa86000dd97798b5aea25fdc07e4230015dda6c11099e379884ca74532327dfe723069d5e56569dd7e120d94918f64a5f705bfef212b484f812aa7b
 SHA512 
6f05e5f7c6b6c0b6f8d65fe11e2900ecd427f6c293672b12a4cc094476da1cdebc0df59198660614251d388241d7c886c345f958d337d351ea048b3b25a71ba5
 DIST reportlab-3.6.7.tar.gz 4504447 BLAKE2B 
3e691294d20f94850840ddc70565d2235bdcb37d47b5e869e34e5fea93dc9ba017d09f088e18b6479266354076b89461849dd1eb7d1d4e8b12a9c4a95706bf66
 SHA512 
51f98900ccf7ef34fefc237bf1c787931a525cd82284685bda26f411760b97d1b85fce5bffa59b133705f6c1769a8d3616ef85ea368ed59dfc72f24d5faf6e88
+DIST reportlab-3.6.8.tar.gz 4503191 BLAKE2B 
3d61ac2554309a8dfff2107ba6157152b558355fc6ebd7d2337b0f3152ceb9644ae2dc20b6e0f2ed312a579fc5f172e05eeda69e3b6acbbf921b62f27ce50f77
 SHA512 
7eb2381a8020f751f03008bb8dc1eb07f954a97c0c3d38646602a22ed7f69dd73e11bbd1251a471da141c98492be7f3867cf120e489c58911ae6e9f29c926507

diff --git a/dev-python/reportlab/reportlab-3.6.8.ebuild 
b/dev-python/reportlab/reportlab-3.6.8.ebuild
new file mode 100644
index 000000000000..ab5df4dfed0a
--- /dev/null
+++ b/dev-python/reportlab/reportlab-3.6.8.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{8..10} )
+
+inherit distutils-r1
+
+DESCRIPTION="Tools for generating printable PDF documents from any data source"
+HOMEPAGE="
+       https://www.reportlab.com/
+       https://pypi.org/project/reportlab/";
+SRC_URI="
+       mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz
+       https://www.reportlab.com/ftp/fonts/pfbfer-20070710.zip";
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86 
~amd64-linux ~x86-linux"
+
+DEPEND="
+       media-libs/freetype
+       media-libs/libart_lgpl
+       sys-libs/zlib:=
+"
+RDEPEND="
+       ${DEPEND}
+       dev-python/pillow[tiff,truetype,jpeg(+),${PYTHON_USEDEP}]
+"
+BDEPEND="
+       app-arch/unzip
+"
+
+distutils_enable_sphinx docs/source
+
+PATCHES=(
+       # bug 738312, remove -L/usr/lib from link line
+       "${FILESDIR}"/${PN}-3.5.48-usr-lib-LLD.patch
+)
+
+src_unpack() {
+       unpack ${P}.tar.gz
+       cd ${P}/src/reportlab/fonts || die
+       unpack pfbfer-20070710.zip
+}
+
+src_configure() {
+       cat > local-setup.cfg <<-EOF || die
+               [OPTIONS]
+               no-download-t1-files = 1
+               use-system-libart = 1
+       EOF
+}
+
+python_test() {
+       pushd tests >/dev/null || die
+       "${EPYTHON}" runAll.py -v || die "Testing failed with ${EPYTHON}"
+       popd >/dev/null || die
+}

Reply via email to