diff --git a/dev-python/reportlab/Manifest b/dev-python/reportlab/Manifest index ce07376a96ff0..9aa4d3e828d37 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.2.tar.gz 3509063 BLAKE2B 84c36e42fa9ef4fdec7b31b8fff46c8f0a4f1881aeb4f9af567cb1d5bc9296fcd5f26b9eddf51695a2a8d4411939e650364c6a8e01f7d067935604ffde5ee11e SHA512 09d5f2f90cba3e79526203bea3b5789db3a0a50fe0fb7ca63bc6b014ea018e6c5d5c59d095bf42b57f6d7b160d1bc206202c6a196e702c73c39c7becd9f2a3d7 +DIST reportlab-4.4.3.tar.gz 3887532 BLAKE2B 30b2dd2160b3d9370ef9ad701da8bf52c640c2f94268bf3459d14d441cfc82b0d1fe5401ebbcfb7110faec9d1d5d03cd024b6be5f088d926f79cf3b4760539c3 SHA512 035b7d9c3de4d2a712641ee641ffa7cacab9239bc07832ed4837659a2d53432dd065fbb0d278d8a7c0a59c4b446249f2a61e9c5affa119118d033318de2a6884 diff --git a/dev-python/reportlab/reportlab-4.4.3.ebuild b/dev-python/reportlab/reportlab-4.4.3.ebuild new file mode 100644 index 0000000000000..51f70832eb60c --- /dev/null +++ b/dev-python/reportlab/reportlab-4.4.3.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 +}