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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id C28ED158015 for ; Mon, 25 Dec 2023 07:06:33 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 97BBF2BC03D; Mon, 25 Dec 2023 07:06:32 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 7AE632BC03D for ; Mon, 25 Dec 2023 07:06:32 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 6ADD333D0AF for ; Mon, 25 Dec 2023 07:06:31 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 853BD14B1 for ; Mon, 25 Dec 2023 07:06:28 +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: <1703487983.5611d4210213bb22e1220e109015207061a21063.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pypdf/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/pypdf/Manifest dev-python/pypdf/pypdf-3.17.4.ebuild X-VCS-Directories: dev-python/pypdf/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 5611d4210213bb22e1220e109015207061a21063 X-VCS-Branch: master Date: Mon, 25 Dec 2023 07:06:28 +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: f7a247bb-f24e-421a-a6bf-50b2967dcc2b X-Archives-Hash: a3afc12967a4c111c4d2a32869f5b909 commit: 5611d4210213bb22e1220e109015207061a21063 Author: Michał Górny gentoo org> AuthorDate: Mon Dec 25 06:48:53 2023 +0000 Commit: Michał Górny gentoo org> CommitDate: Mon Dec 25 07:06:23 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5611d421 dev-python/pypdf: Bump to 3.17.4 Signed-off-by: Michał Górny gentoo.org> dev-python/pypdf/Manifest | 1 + dev-python/pypdf/pypdf-3.17.4.ebuild | 59 ++++++++++++++++++++++++++++++++++++ 2 files changed, 60 insertions(+) diff --git a/dev-python/pypdf/Manifest b/dev-python/pypdf/Manifest index 46ff1aa4af8b..b4b866a7cd20 100644 --- a/dev-python/pypdf/Manifest +++ b/dev-python/pypdf/Manifest @@ -1,4 +1,5 @@ DIST pypdf-3.17.1.gh.tar.gz 7975263 BLAKE2B 27b413dd5f127e22cc0116baeee62115f4b02b2ff39f27b8a7884af2389423c332114cfa826a090683c2ab6583b1a549ee1de775869eaaa0a09237aa52a65ebd SHA512 c23294a67bee6ef4e673c02b045c9ec2d3471f93bfc8530959a02289f94b0aa47e79b24bddd0603731c39ddc5197fc6fc10e668bbd1077a32ecdfc1d33740397 DIST pypdf-3.17.2.gh.tar.gz 7977562 BLAKE2B d33413b1efe38bc147156e199851a2afb712960a377c675ec2197a720d00ef18d143a1176312c8b9b7681839024fb26544b6c09a482e3e24c9041c3d2d191cd1 SHA512 430bae4aeb1ffb8c75fd95daf04622d082725cdcf01637e2e42234bbc867360d9c5e6ebd3782608c1299f9fa1ec7598c49b0195750f58d0d16c3d744895606d8 DIST pypdf-3.17.3.gh.tar.gz 7977650 BLAKE2B eee1e5d86fcd32faa0919f2e9bb8c1cd2630d75f6030f9db05a2b71993038452fbed05bbb5dc63d3562038da19c784170e24682054ad669a35b8027f47cc2d45 SHA512 fe91b4f1d6ad9394e41bcdaa99adb5a6fe15df70a1db0858f560f63352aa279446ad802738306d5d7bd58c699069872a777997621b62429137da5c53b4595ca6 +DIST pypdf-3.17.4.gh.tar.gz 7976829 BLAKE2B c2b7aef937186aecf525729f336ad6d00a8bf40850be17cb450daba5d0100acc0b0c3f51ef242e3cf7ef710d5c40c9f334db94a372b6d6eb4f2270dc00dde156 SHA512 f687a2032f085dac9b920f881f2df9f96e4da2a8dcdd5f971d3601ab05ae4f9b5528d0155adcb5ef01c6d8ffdc4f3d79077706915851bad7868bf761d28c513a DIST pypdf-sample-files-964fb47b0fbfa89864680582640ae4eedf143890.gh.tar.gz 11668924 BLAKE2B 0c7d8e7cfb2f9d06d7633d57b691ba473d33cfcb58d2f1f83661cef9d755340d05db8767771a385d0ba88aa904f84b8bc7eafdb5d4f614b7a21a2d138572316f SHA512 28070b575273b6fee3173e797ed5bac618f8e8aca16d0122dcf3b4b16cedbcad69b84a9bc4be65037695597bcc1fa7898cdf766c37915c49f880a0c6ca057e68 diff --git a/dev-python/pypdf/pypdf-3.17.4.ebuild b/dev-python/pypdf/pypdf-3.17.4.ebuild new file mode 100644 index 000000000000..c3de6265ee0d --- /dev/null +++ b/dev-python/pypdf/pypdf-3.17.4.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( python3_{10..12} ) + +inherit distutils-r1 + +SAMPLE_COMMIT=964fb47b0fbfa89864680582640ae4eedf143890 +DESCRIPTION="Python library to work with PDF files" +HOMEPAGE=" + https://pypi.org/project/pypdf/ + https://github.com/py-pdf/pypdf/ +" +SRC_URI=" + https://github.com/py-pdf/pypdf/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz + test? ( + https://github.com/py-pdf/sample-files/archive/${SAMPLE_COMMIT}.tar.gz + -> ${PN}-sample-files-${SAMPLE_COMMIT}.gh.tar.gz + ) +" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" + +BDEPEND=" + test? ( + dev-python/cryptography[${PYTHON_USEDEP}] + >=dev-python/pillow-8.0.0[jpeg,jpeg2k,tiff,${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # rely on -Werror + tests/test_utils.py::test_deprecate_no_replacement + tests/test_workflows.py::test_orientations + tests/test_writer.py::test_remove_image_per_type + # TODO: requires fpdf + tests/test_page.py::test_compression + tests/test_writer.py::test_merging_many_temporary_files +) + +src_unpack() { + default + if use test; then + mv "sample-files-${SAMPLE_COMMIT}"/* "${S}"/sample-files/ || die + fi +} + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -o addopts= -m "not enable_socket" +}