diff --git a/dev-python/reportlab/Manifest b/dev-python/reportlab/Manifest index 6f9645048f3d0..dbe4a5eda0f91 100644 --- a/dev-python/reportlab/Manifest +++ b/dev-python/reportlab/Manifest @@ -1,2 +1,3 @@ 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 diff --git a/dev-python/reportlab/reportlab-4.4.5.ebuild b/dev-python/reportlab/reportlab-4.4.5.ebuild new file mode 100644 index 0000000000000..51f70832eb60c --- /dev/null +++ b/dev-python/reportlab/reportlab-4.4.5.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 +}