From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 35E8E1582EF for ; Mon, 03 Mar 2025 04:13:05 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 1D0A834309D for ; Mon, 03 Mar 2025 04:13:05 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 2244C1102D0; Mon, 03 Mar 2025 04:13:04 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id 15DAE1102D0 for ; Mon, 03 Mar 2025 04:13:04 +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) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id B8F3234309D for ; Mon, 03 Mar 2025 04:13:03 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 20D30271B for ; Mon, 03 Mar 2025 04:13:02 +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: <1740973661.672d0a439a3d56491fe08e588dad78557f410261.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-5.3.1.ebuild X-VCS-Directories: dev-python/pypdf/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 672d0a439a3d56491fe08e588dad78557f410261 X-VCS-Branch: master Date: Mon, 03 Mar 2025 04:13:02 +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: bbc1bf0d-fb01-4ac1-b949-0c11cfbe8b3e X-Archives-Hash: cd060d46117b343f980b9487093a821b commit: 672d0a439a3d56491fe08e588dad78557f410261 Author: Michał Górny gentoo org> AuthorDate: Mon Mar 3 03:47:41 2025 +0000 Commit: Michał Górny gentoo org> CommitDate: Mon Mar 3 03:47:41 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=672d0a43 dev-python/pypdf: Bump to 5.3.1 Signed-off-by: Michał Górny gentoo.org> dev-python/pypdf/Manifest | 1 + dev-python/pypdf/pypdf-5.3.1.ebuild | 56 +++++++++++++++++++++++++++++++++++++ 2 files changed, 57 insertions(+) diff --git a/dev-python/pypdf/Manifest b/dev-python/pypdf/Manifest index dfaef630261b..9e3e815ad530 100644 --- a/dev-python/pypdf/Manifest +++ b/dev-python/pypdf/Manifest @@ -1,2 +1,3 @@ DIST pypdf-5.3.0.gh.tar.gz 8036039 BLAKE2B dfdbcf5112da7e82aaa87753433cd236dbfbac20e5c83194d18da13b878713bb7c8b102f0c62e35f157bb28bc125fdc491a0720fd59d1a0a30c8a13476d24a9d SHA512 c656fb766d6e7d550768150c83b289450e8da8632353aa90ce9f355a99b613dbb6be84f1d0742b53ca093dc747dee6ac56f243a96ad60ad7764b1e66e0cca3bd +DIST pypdf-5.3.1.gh.tar.gz 8045063 BLAKE2B 03af1f1ac8be5ac63899515c21d1821a38b225923825ea0075a689cf299c0b8e73a66e8e8d2c8bd3c45ce1a01777c1fce0c5eaacdb2df1c59fef6b154b3c8714 SHA512 5f9b0efdb51f9d56d9c10f7660718755c0bb731c77337530ebdf47472e837a97d0516b105c657881e424d1cded2fc6b44a5c5415600f4dc562d56faf66551b2b DIST pypdf-sample-files-8c405ece5eff12396a34a1fae3276132002e1753.gh.tar.gz 11748093 BLAKE2B c5989200893b28a3c2062bb024a5cfc6f3389dc259ec129857979fa43469e1274559612b4d555499e2c7e16cf34be07825229932bf4d147fa6d7324d043e97d5 SHA512 c9771129b7668a2fd1fa79bb859ae9213f3d60341cf1b9937ff0eaab0de9bf4c35adcb7b896e93329038dc0f3809a0c697c523f8fe41b43030b0b029a88058e3 diff --git a/dev-python/pypdf/pypdf-5.3.1.ebuild b/dev-python/pypdf/pypdf-5.3.1.ebuild new file mode 100644 index 000000000000..a177ecd49219 --- /dev/null +++ b/dev-python/pypdf/pypdf-5.3.1.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( python3_{10..13} ) + +inherit distutils-r1 + +SAMPLE_COMMIT=8c405ece5eff12396a34a1fae3276132002e1753 +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" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" + +RDEPEND=" + $(python_gen_cond_dep ' + >=dev-python/typing-extensions-4.0[${PYTHON_USEDEP}] + ' 3.10) +" +BDEPEND=" + test? ( + dev-python/cryptography[${PYTHON_USEDEP}] + >=dev-python/pillow-8.0.0[jpeg,jpeg2k,tiff,zlib,${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] + ) +" + +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +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" +}