From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 8010D158088 for ; Thu, 14 Oct 2021 07:51:16 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D43B0E086D; Thu, 14 Oct 2021 07:51:15 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id BD14DE0864 for ; Thu, 14 Oct 2021 07:51:15 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id DC39D342E21 for ; Thu, 14 Oct 2021 07:51:14 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A1E77162 for ; Thu, 14 Oct 2021 07:51:11 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1634197863.43107465bf747202d60819ccb260615aff4dd7e8.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/reportlab/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/reportlab/Manifest dev-python/reportlab/reportlab-3.6.2.ebuild X-VCS-Directories: dev-python/reportlab/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 43107465bf747202d60819ccb260615aff4dd7e8 X-VCS-Branch: master Date: Thu, 14 Oct 2021 07:51:11 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 68451032-9bb5-4cf7-8c0b-efacb03d8d72 X-Archives-Hash: ff835b6fe18e0d09c48a7faa554aec59 commit: 43107465bf747202d60819ccb260615aff4dd7e8 Author: Michał Górny gentoo org> AuthorDate: Thu Oct 14 06:14:41 2021 +0000 Commit: Michał Górny gentoo org> CommitDate: Thu Oct 14 07:51:03 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=43107465 dev-python/reportlab: Bump to 3.6.2 Signed-off-by: Michał Górny gentoo.org> dev-python/reportlab/Manifest | 1 + dev-python/reportlab/reportlab-3.6.2.ebuild | 56 +++++++++++++++++++++++++++++ 2 files changed, 57 insertions(+) diff --git a/dev-python/reportlab/Manifest b/dev-python/reportlab/Manifest index 2768fdd20da..7d6cd84c6b7 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-3.6.1.tar.gz 4511585 BLAKE2B 7f435f0f4bd7ef57f6ae54dd1efad339165ae9aff72e5bb5b852f46f766f6e50cb9bda3fcde88489323ec430c76ab59ad69e29b9068e541e76e84a270598d238 SHA512 ecccfb8300493eb0a8b6d1ed51ec8eb0501e74597c62ab498ac6766984d2ee9d1ecb2ce3dcd4ca2d47f5aacce08ff757afd01df995f0aef14ed088ce937616bc +DIST reportlab-3.6.2.tar.gz 4501397 BLAKE2B 725b1142b54f2968d01f788949b9bd4a9208353710724bb7e647be5652b4bb01c37d344db1975f906e83c1265b9dd294fbbfbbb5c1960d25503a255ea32269de SHA512 5a8f22c50bbfcd1e76671e3337df5a740f6451ae42795288c0a0855167d0369543983e895317f1f6cbd14231bc664cea62e5a3b8ccd99775c423074b8c347b68 diff --git a/dev-python/reportlab/reportlab-3.6.2.ebuild b/dev-python/reportlab/reportlab-3.6.2.ebuild new file mode 100644 index 00000000000..b7688f2391a --- /dev/null +++ b/dev-python/reportlab/reportlab-3.6.2.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +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 +distutils_enable_tests unittest + +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() { + DISTUTILS_ARGS=( + --no-download-t1-files + --use-system-libart + ) +} + +python_test() { + pushd tests >/dev/null || die + "${EPYTHON}" runAll.py -v || die "Testing failed with ${EPYTHON}" + popd >/dev/null || die +}