From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pypdf/
Date: Mon, 27 Jan 2025 07:28:55 +0000 (UTC) [thread overview]
Message-ID: <1737962929.8514ee7fcec5bb8522ec2ce31877297ce1960fa8.mgorny@gentoo> (raw)
commit: 8514ee7fcec5bb8522ec2ce31877297ce1960fa8
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Mon Jan 27 06:30:09 2025 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon Jan 27 07:28:49 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8514ee7f
dev-python/pypdf: Bump to 5.2.0
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/pypdf/Manifest | 1 +
dev-python/pypdf/pypdf-5.2.0.ebuild | 64 +++++++++++++++++++++++++++++++++++++
2 files changed, 65 insertions(+)
diff --git a/dev-python/pypdf/Manifest b/dev-python/pypdf/Manifest
index 388af37959eb..55ad60a5de43 100644
--- a/dev-python/pypdf/Manifest
+++ b/dev-python/pypdf/Manifest
@@ -1,2 +1,3 @@
DIST pypdf-5.1.0.gh.tar.gz 8026822 BLAKE2B 068490ced3dd97d7c08fe87620b68a7363900ea4b9875b52ea525263ba9240b9ce07f1e98c2fe13167c8f9aa58f9a4280b4eb2ef899ef54efa58a8c1ce02f38c SHA512 2c13b0622fcad1faaee41e82489d12f9f2006822487412eda6108bbec68b37bfc2e94510f29eb0f3a9af788c5d99142fd64f28ed3e464ff17dbecad0442dfd2e
+DIST pypdf-5.2.0.gh.tar.gz 8032194 BLAKE2B e7e9a3f5d4bb8ad5ae2158c3d00961f0b00fb12a04ea31649a24a3fb672367766b447c4aa84b06ecf3df8c32ea545f1efe6c52f786aabb3170d11c6e3ef3dde2 SHA512 8112dcf0fe5a2be97bbf940c417eff718a1fc7827fdacc7e2c1768263306441d422a2e3c84c83c757182cb595dc12ad17b2424284f8e0ec1697cfc37fc630492
DIST pypdf-sample-files-8c405ece5eff12396a34a1fae3276132002e1753.gh.tar.gz 11748093 BLAKE2B c5989200893b28a3c2062bb024a5cfc6f3389dc259ec129857979fa43469e1274559612b4d555499e2c7e16cf34be07825229932bf4d147fa6d7324d043e97d5 SHA512 c9771129b7668a2fd1fa79bb859ae9213f3d60341cf1b9937ff0eaab0de9bf4c35adcb7b896e93329038dc0f3809a0c697c523f8fe41b43030b0b029a88058e3
diff --git a/dev-python/pypdf/pypdf-5.2.0.ebuild b/dev-python/pypdf/pypdf-5.2.0.ebuild
new file mode 100644
index 000000000000..e788da0bac63
--- /dev/null
+++ b/dev-python/pypdf/pypdf-5.2.0.ebuild
@@ -0,0 +1,64 @@
+# 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-2"
+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 EPYTEST_DESELECT=(
+ # rely on -Werror
+ # https://github.com/py-pdf/pypdf/pull/3083
+ tests/test_filters.py::test_ccitparameters
+ tests/test_generic.py::test_name_object
+ tests/test_reader.py::test_decode_permissions
+ )
+
+ local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+ epytest -o addopts= -m "not enable_socket"
+}
next reply other threads:[~2025-01-27 7:29 UTC|newest]
Thread overview: 122+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-01-27 7:28 Michał Górny [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-03-03 4:13 [gentoo-commits] repo/gentoo:master commit in: dev-python/pypdf/ Michał Górny
2025-03-01 11:57 Michał Górny
2025-03-01 9:56 Arthur Zamarin
2025-03-01 9:39 Arthur Zamarin
2025-03-01 9:29 Arthur Zamarin
2025-02-15 11:32 Michał Górny
2025-02-15 10:16 Arthur Zamarin
2025-02-15 9:48 Arthur Zamarin
2025-02-15 8:51 Arthur Zamarin
2025-02-09 15:26 Michał Górny
2024-11-16 9:21 Michał Górny
2024-11-16 9:20 Michał Górny
2024-11-16 8:38 Arthur Zamarin
2024-11-16 8:09 Michał Górny
2024-10-28 5:12 Michał Górny
2024-10-19 10:17 Michał Górny
2024-10-19 10:11 Arthur Zamarin
2024-10-19 9:26 Arthur Zamarin
2024-10-19 7:39 Arthur Zamarin
2024-09-29 15:20 Michał Górny
2024-09-18 14:03 Michał Górny
2024-08-10 8:19 Michał Górny
2024-08-10 8:17 Michał Górny
2024-08-10 7:25 Michał Górny
2024-08-10 6:46 Michał Górny
2024-07-22 1:47 Michał Górny
2024-07-15 9:04 Michał Górny
2024-05-18 8:09 Michał Górny
2024-04-25 3:39 Michał Górny
2024-04-24 17:16 Sam James
2024-04-24 16:15 Sam James
2024-04-24 15:31 Sam James
2024-04-08 3:06 Michał Górny
2024-03-22 12:37 Michał Górny
2024-03-22 6:14 Arthur Zamarin
2024-03-22 6:14 Arthur Zamarin
2024-03-21 18:13 Arthur Zamarin
2024-03-07 18:44 Sam James
2024-03-07 17:09 Michał Górny
2024-03-07 16:22 Michał Górny
2024-03-04 6:31 Michał Górny
2024-02-19 4:10 Michał Górny
2024-02-14 17:25 Michał Górny
2024-02-14 16:44 Sam James
2024-01-29 10:11 Michał Górny
2024-01-29 5:06 Michał Górny
2024-01-28 19:37 Michał Górny
2024-01-19 18:28 Arthur Zamarin
2024-01-13 12:45 Michał Górny
2024-01-13 12:02 Sam James
2024-01-13 10:00 Arthur Zamarin
2024-01-13 9:22 Arthur Zamarin
2023-12-25 7:06 Michał Górny
2023-12-18 5:18 Michał Górny
2023-12-11 4:14 Michał Górny
2023-11-25 6:58 Michał Górny
2023-11-25 6:36 Sam James
2023-11-25 6:36 Sam James
2023-11-14 20:06 Michał Górny
2023-10-30 18:10 Michał Górny
2023-10-28 15:23 Michał Górny
2023-10-27 19:32 Sam James
2023-10-27 19:32 Sam James
2023-10-11 3:22 Michał Górny
2023-10-08 17:48 Michał Górny
2023-09-26 4:44 Michał Górny
2023-09-25 19:26 Sam James
2023-09-25 18:27 Arthur Zamarin
2023-09-25 2:55 Michał Górny
2023-09-18 2:39 Michał Górny
2023-09-10 14:51 Michał Górny
2023-09-04 2:48 Michał Górny
2023-08-27 15:59 Michał Górny
2023-08-26 9:46 Michał Górny
2023-08-24 12:47 Michał Górny
2023-08-21 2:52 Michał Górny
2023-08-14 6:26 Michał Górny
2023-08-07 3:01 Michał Górny
2023-07-30 17:51 Michał Górny
2023-07-28 9:26 Michał Górny
2023-07-28 7:56 Sam James
2023-07-28 7:56 Sam James
2023-07-24 3:33 Michał Górny
2023-07-17 7:34 Michał Górny
2023-07-10 2:36 Michał Górny
2023-07-03 4:15 Michał Górny
2023-06-28 5:06 Michał Górny
2023-06-27 11:36 Michał Górny
2023-06-27 9:08 Jakov Smolić
2023-06-27 7:14 Sam James
2023-06-25 2:26 Michał Górny
2023-06-24 6:10 Michał Górny
2023-06-19 13:43 Michał Górny
2023-06-19 4:58 Michał Górny
2023-06-05 5:07 Michał Górny
2023-06-01 7:24 Sam James
2023-05-23 16:21 Michał Górny
2023-05-23 16:10 Arthur Zamarin
2023-05-23 15:35 Arthur Zamarin
2023-05-22 5:53 Michał Górny
2023-04-28 15:57 Arthur Zamarin
2023-04-28 15:55 Arthur Zamarin
2023-04-28 14:41 Arthur Zamarin
2023-04-23 19:30 Michał Górny
2023-04-17 5:41 Michał Górny
2023-04-10 6:07 Michał Górny
2023-03-30 17:12 Michał Górny
2023-03-30 16:57 Sam James
2023-03-30 15:34 Arthur Zamarin
2023-03-26 18:02 Michał Górny
2023-03-19 19:03 Michał Górny
2023-03-12 13:18 Michał Górny
2023-03-07 15:45 Sam James
2023-03-07 7:08 Michał Górny
2023-03-04 11:17 Arthur Zamarin
2023-02-27 5:38 Michał Górny
2023-02-13 6:05 Michał Górny
2023-02-06 4:31 Michał Górny
2023-01-23 7:34 Michał Górny
2023-01-09 8:09 Michał Górny
2023-01-01 7:26 Michał Górny
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1737962929.8514ee7fcec5bb8522ec2ce31877297ce1960fa8.mgorny@gentoo \
--to=mgorny@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox