commit:     5c0278e4bb1648ebd2f219b6c5c5d2ca08eb692d
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Oct 11 15:52:28 2023 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Oct 11 16:49:33 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5c0278e4

dev-python/reportlab: Bump to 4.0.6

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

 dev-python/reportlab/Manifest               |  1 +
 dev-python/reportlab/reportlab-4.0.6.ebuild | 52 +++++++++++++++++++++++++++++
 2 files changed, 53 insertions(+)

diff --git a/dev-python/reportlab/Manifest b/dev-python/reportlab/Manifest
index 92caf1eee749..a95c776dddf7 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-4.0.4.tar.gz 3132866 BLAKE2B 
eb1791b248c8c0dc194781ca09dbf181dc20f745ce2fdd3a4627ae027b21baddc0bea56c6e5eefd5905f7656c5a3a388d90310ce53a948ab0a3dbaff569f2d63
 SHA512 
7d79f6258672523bee50256b5b15e336801fc42f290fa2ed5ed0ab355c9f2903c9210bb935c9c00fa74174072232402247c923268ede5d61ca62493d0faa2844
 DIST reportlab-4.0.5.tar.gz 3665115 BLAKE2B 
9d510c1657cb0be936ddbfd92921f7d34e540d7f6b79febb126af813452d9b1f100111469f7c44e32f83dbb0c256bb590d41c7639bc2837e832c43dad030d62f
 SHA512 
367c4ca70fd4a016a6cb08fd992174029c10a30b71e5034f0523f4dfbfef967b699c1608a3a0502b900da35fb752deb2f2e1950f394df3813d9e139f0b5946d3
+DIST reportlab-4.0.6.tar.gz 3671124 BLAKE2B 
4664f328f677a4e11955ad995a6c2b4d407add355b116e733051ea27706644091c7c9bac28d91486135aa89959551ed5f8ce31e11cace9c53f05f69e0ab1e9d8
 SHA512 
6a5426416e636115919b36baec95e531462f15bd370a17b2e80ece430775e3e2899c43ef1a0aabd6cfc7f2bc7fe25bfe3c1b2477496d34915f5f5fd24063da74

diff --git a/dev-python/reportlab/reportlab-4.0.6.ebuild 
b/dev-python/reportlab/reportlab-4.0.6.ebuild
new file mode 100644
index 000000000000..0826a91d23ce
--- /dev/null
+++ b/dev-python/reportlab/reportlab-4.0.6.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_EXT=1
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..12} )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="Tools for generating printable PDF documents from any data source"
+HOMEPAGE="
+       https://www.reportlab.com/
+       https://pypi.org/project/reportlab/
+"
+SRC_URI+="
+       https://www.reportlab.com/ftp/fonts/pfbfer-20070710.zip
+"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 
~sparc ~x86 ~amd64-linux ~x86-linux"
+
+RDEPEND="
+       dev-python/pillow[tiff,truetype,jpeg(+),${PYTHON_USEDEP}]
+"
+BDEPEND="
+       app-arch/unzip
+"
+
+distutils_enable_sphinx docs/source
+
+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
+       EOF
+}
+
+python_test() {
+       pushd tests >/dev/null || die
+       "${EPYTHON}" runAll.py --post-install --verbosity=2 ||
+               die "Testing failed with ${EPYTHON}"
+       popd >/dev/null || die
+}

Reply via email to