summaryrefslogtreecommitdiff
path: root/dev-python/reportlab
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/reportlab')
-rw-r--r--dev-python/reportlab/Manifest1
-rw-r--r--dev-python/reportlab/reportlab-4.4.6.ebuild53
2 files changed, 54 insertions, 0 deletions
diff --git a/dev-python/reportlab/Manifest b/dev-python/reportlab/Manifest
index dbe4a5eda0f9..b9877902625b 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.4.4.tar.gz 3711935 BLAKE2B 533ef3b23a83d472d29dc631032de56454c3a8d97d4b6f8336b54e7787c7318ce89eedf91a1edd5750aa31b451d3565afb6bfda1773d7b6104caf363578efaae SHA512 0366fa5986f0da99e34baac95b02873b4ea27e80f149fd43010063172f3d9d60dfae4f24f20f1f735d485be4cd9b41e0872682eb7200070913524c39c8bf6eb4
DIST reportlab-4.4.5.tar.gz 3910836 BLAKE2B ace85c323739bbbbf74dc76d0b0143e25867893c42bbd3b53277497267b81669ddde722fe0188842974f41757fb02ef14a0af868563453dd2068208c75cfa927 SHA512 400240eb3cd511c7c4a27d25ff754aff4ce6cbda1d93106cbea1f51f4c7ab2ad7991204965f861f8eefa04f97660ddb47dbdcc9c55cd9a6f205c55f8feede937
+DIST reportlab-4.4.6.tar.gz 3910805 BLAKE2B 55fd316b38595a65fbd0f3a9c1f163be867111ca6f2aad4821fe91081674766d05dd15a5e4c689ad2471929d8c8529c8fe27770aeabb4dc3ca98785a9a094c40 SHA512 dc3fcf2728a709d31467e86c32982409a2e3d00b1fee0871ad65d93923683dd9da2a1ed129babe287f7d00ac3613853121f97e9781efa31b0837cc02ff9185e6
diff --git a/dev-python/reportlab/reportlab-4.4.6.ebuild b/dev-python/reportlab/reportlab-4.4.6.ebuild
new file mode 100644
index 000000000000..51f70832eb60
--- /dev/null
+++ b/dev-python/reportlab/reportlab-4.4.6.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2025 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_{11..14} )
+
+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 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
+
+RDEPEND="
+ dev-python/charset-normalizer[${PYTHON_USEDEP}]
+ 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
+}