public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/PyPDF2/
Date: Sat, 18 Jun 2022 06:47:19 +0000 (UTC)	[thread overview]
Message-ID: <1655534829.35c75e4ea59996d9dd1cef3a4ac7e70be4b50dca.mgorny@gentoo> (raw)

commit:     35c75e4ea59996d9dd1cef3a4ac7e70be4b50dca
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Jun 18 05:08:03 2022 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Jun 18 06:47:09 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=35c75e4e

dev-python/PyPDF2: Bump to 2.2.1

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/PyPDF2/Manifest            |  2 +
 dev-python/PyPDF2/PyPDF2-2.2.1.ebuild | 86 +++++++++++++++++++++++++++++++++++
 2 files changed, 88 insertions(+)

diff --git a/dev-python/PyPDF2/Manifest b/dev-python/PyPDF2/Manifest
index 91172eaa6799..3928c47715ec 100644
--- a/dev-python/PyPDF2/Manifest
+++ b/dev-python/PyPDF2/Manifest
@@ -7,5 +7,7 @@ DIST PyPDF2-2.0.0.gh.tar.gz 4574406 BLAKE2B 8554fdb7ab9ea1b9990ba72fb05ed02ef873
 DIST PyPDF2-2.1.0.gh.tar.gz 4728411 BLAKE2B 00949842da43136afc7ee3482dc0b61182a0bf3ee4479d8794891ecf0a7cac9ec92a94d480a2ab75d35be9f667b5c27cdf17c8e7ce76bb5355cf2c43c7fc814b SHA512 d82f05fe6e7f944f045600c1fd7d451181803769b38911a2d6e0553ae7b16cbfd6838883809c71fddcdfc386f62e0a5f5aaa6d947236a3c8cdedb5fe8f338a5f
 DIST PyPDF2-2.1.1.gh.tar.gz 4729162 BLAKE2B ec7af774d8fd6af5985af1119e414082d99c2ba832d22093a0f1ee08606436e129139f9f3dc85633660d14c860b49dfd026e2d2b9aa9d29c70ca8a44b749404f SHA512 ecc0fb1e7e0d3cd512439c26a04e81fe339e98b88ea75821c7d2797f056fb370c061f89701927dd238d8cad9f431d3f8847de47fd9f45b8e76322ffd797293d3
 DIST PyPDF2-2.2.0.gh.tar.gz 5015612 BLAKE2B e9fd2b193a3ea1477a92de6c7a0680e49017e6daccfe648d8479bb55b0bdbcaf7de3df032010a6010dcc779b7b651963a7cb94beff14a8bba6144849cf3fe551 SHA512 73a0d2faa253b53622f175ec9a9dca25bc0dd4cf94f3fe60e3cccae67faab45819212c4fcc4963b7dc530e6d06781d110c5ad5887fb3240cebfb56a9e7aaea65
+DIST PyPDF2-2.2.1.gh.tar.gz 5019240 BLAKE2B 31412cc136bebdf0288fcdf693540e2ae8b88c08f9d837ebeb17b8f8bfae289146028890f36b7b16c6012469908d4f6855169efcebce082d4c31f634b6410162 SHA512 669c41f477114bc38a214e8f4893c5eb59d40dfe07e3c436b71ede09738539e3f47d8f9293cf9c3012887d296c7a634ee93bf2542910c400c4765bd30495f0f6
 DIST PyPDF2-sample-files-41b5cd4f774f8fbd8ac42d93b9962f0376352a15.gh.tar.gz 5406287 BLAKE2B 8ddad01235bdb55cee596d9114e5b6c3b153919bcff5203d229311243516f3595cb36dcca87cae27514a8231d72daa94782115795bff8c1c3d046236811c21e0 SHA512 6c38d5ee0e1c5c0ffdd78f7c2fe56dbf357a1e82d2af642a10264a6102ae8fb95cba6d2f76b26df6a33a5d84cfd5111885d39c1747cf95a5ce545f26bdb37263
 DIST PyPDF2-sample-files-41b5cd4f774f8fbd8ac42d93b9962f0376352a15.tar.gz 5406287 BLAKE2B 8ddad01235bdb55cee596d9114e5b6c3b153919bcff5203d229311243516f3595cb36dcca87cae27514a8231d72daa94782115795bff8c1c3d046236811c21e0 SHA512 6c38d5ee0e1c5c0ffdd78f7c2fe56dbf357a1e82d2af642a10264a6102ae8fb95cba6d2f76b26df6a33a5d84cfd5111885d39c1747cf95a5ce545f26bdb37263
+DIST PyPDF2-sample-files-d7ce88b71820fccaaa4738aa37cbace51f3ed3d9.gh.tar.gz 5406263 BLAKE2B 69673ec380941f567d3630459dc610b1c3a58d5f2956138776412683a96292549107294775d236d1304c054fb91b238f42942a169a7bc862c0b721de647ad191 SHA512 a245de88952de08b45e483f05a1ed42a70a67c4215dd8c32a9b5d70bb64b01acc58ebb1cee677ca178eee8380528dbfac50d3a1a022f19039fa3a47746ddc2a0

diff --git a/dev-python/PyPDF2/PyPDF2-2.2.1.ebuild b/dev-python/PyPDF2/PyPDF2-2.2.1.ebuild
new file mode 100644
index 000000000000..2f3370a78f0d
--- /dev/null
+++ b/dev-python/PyPDF2/PyPDF2-2.2.1.ebuild
@@ -0,0 +1,86 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{8..11} )
+
+inherit distutils-r1
+
+SAMPLE_COMMIT=d7ce88b71820fccaaa4738aa37cbace51f3ed3d9
+DESCRIPTION="Python library to work with PDF files"
+HOMEPAGE="
+	https://pypi.org/project/PyPDF2/
+	https://github.com/py-pdf/PyPDF2/
+"
+SRC_URI="
+	https://github.com/py-pdf/PyPDF2/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[${PYTHON_USEDEP}]
+	' 3.8 3.9)
+"
+BDEPEND="
+	dev-python/pillow[${PYTHON_USEDEP}]
+"
+
+distutils_enable_tests pytest
+
+EPYTEST_DESELECT=(
+	# Needs network access
+	tests/test_cmap.py
+	tests/test_filters.py::test_decompress_zlib_error
+	tests/test_filters.py::test_lzw_decode_neg1
+	tests/test_generic.py::test_dict_read_from_stream
+	tests/test_generic.py::test_parse_content_stream_peek_percentage
+	tests/test_generic.py::test_read_inline_image_no_has_q
+	tests/test_generic.py::test_read_inline_image_loc_neg_1
+	tests/test_generic.py::test_text_string_write_to_stream
+	tests/test_generic.py::test_name_object_read_from_stream_unicode_error
+	tests/test_generic.py::test_bool_repr
+	'tests/test_page.py::test_page_operations[https://arxiv.org/pdf/2201.00029.pdf-None]'
+	tests/test_page.py::test_extract_text_single_quote_op
+	tests/test_page.py::test_extract_text_page_pdf
+	tests/test_page.py::test_extract_text_page_pdf_impossible_decode_xform
+	tests/test_page.py::test_extract_text_operator_t_star
+	tests/test_reader.py::test_iss925
+	tests/test_reader.py::test_extract_text_xref_issue_2
+	tests/test_reader.py::test_extract_text_xref_issue_3
+	tests/test_reader.py::test_extract_text_pdf15
+	tests/test_reader.py::test_extract_text_xref_table_21_bytes_clrf
+	tests/test_reader.py::test_get_fields
+	tests/test_reader.py::test_get_fields_read_else_block
+	tests/test_reader.py::test_get_fields_read_else_block2
+	tests/test_reader.py::test_get_fields_read_else_block3
+	tests/test_reader.py::test_metadata_is_none
+	tests/test_reader.py::test_get_fields_read_write_report
+	tests/test_utils.py::test_deprecate_no_replacement
+	tests/test_workflows.py::test_extract_textbench
+	tests/test_xmp.py::test_xmpmm
+	tests/test_xmp.py::test_dc_description
+	tests/test_xmp.py::test_dc_creator
+	tests/test_xmp.py::test_custom_properties
+	tests/test_xmp.py::test_dc_subject
+
+	# Broken test
+	tests/test_utils.py::test_deprecate_no_replacement
+)
+
+src_unpack() {
+	default
+	if use test; then
+		mv "sample-files-${SAMPLE_COMMIT}"/* "${P}"/sample-files/ || die
+	fi
+}


             reply	other threads:[~2022-06-18  6:47 UTC|newest]

Thread overview: 102+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-18  6:47 Michał Górny [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-07-19 11:10 [gentoo-commits] repo/gentoo:master commit in: dev-python/PyPDF2/ Michał Górny
2023-01-27 10:52 Michał Górny
2023-01-26 21:49 Sam James
2023-01-26 20:55 Arthur Zamarin
2022-12-25 17:53 Michał Górny
2022-12-25 16:48 Sam James
2022-12-23  7:30 Arthur Zamarin
2022-12-12 15:33 Michał Górny
2022-11-21 13:24 Michał Górny
2022-11-04  8:38 Michał Górny
2022-11-04  8:16 Agostino Sarubbo
2022-11-03 22:07 Sam James
2022-10-10 14:04 Michał Górny
2022-10-03  9:39 Michał Górny
2022-10-03  8:24 Agostino Sarubbo
2022-10-03  0:44 Sam James
2022-09-26 11:21 Michał Górny
2022-09-22 12:15 Michał Górny
2022-09-16  7:21 Arthur Zamarin
2022-09-11  5:31 Michał Górny
2022-09-10 22:57 Jakov Smolić
2022-09-10 22:57 Jakov Smolić
2022-09-10  5:38 Arthur Zamarin
2022-09-07  5:08 Michał Górny
2022-09-06 21:15 Sam James
2022-09-06 21:12 Sam James
2022-09-04 16:22 Michał Górny
2022-08-28 20:15 Arthur Zamarin
2022-08-22 19:23 Arthur Zamarin
2022-08-15 19:06 Arthur Zamarin
2022-08-15  8:08 Michał Górny
2022-08-15  7:46 Agostino Sarubbo
2022-08-15  7:40 Agostino Sarubbo
2022-08-12 14:09 Michał Górny
2022-08-12 10:49 Agostino Sarubbo
2022-08-09  7:43 Agostino Sarubbo
2022-08-07 19:22 Arthur Zamarin
2022-08-01 11:07 Michał Górny
2022-07-26  6:43 Sam James
2022-07-25  7:12 Michał Górny
2022-07-23  6:22 Michał Górny
2022-07-18  7:54 Michał Górny
2022-07-11  7:06 Michał Górny
2022-07-10 19:16 Michał Górny
2022-07-10 19:12 Sam James
2022-07-10 19:12 Sam James
2022-07-09  8:41 Michał Górny
2022-06-30 17:09 Arthur Zamarin
2022-06-27  4:40 Michał Górny
2022-06-20  6:39 Michał Górny
2022-06-19 18:08 Arthur Zamarin
2022-06-19  5:06 Michał Górny
2022-06-18 20:25 Sam James
2022-06-18 20:25 Sam James
2022-06-14  4:26 Michał Górny
2022-06-13  7:18 Michał Górny
2022-06-06 18:44 Arthur Zamarin
2022-06-02 19:36 Michał Górny
2022-06-02  6:42 Michał Górny
2022-05-30  7:22 Michał Górny
2022-05-29  7:09 Michał Górny
2022-05-24  6:16 Michał Górny
2022-05-23  6:34 Michał Górny
2022-05-21 19:25 Michał Górny
2022-05-21 17:35 Jakov Smolić
2022-05-21 17:35 Jakov Smolić
2022-05-18 10:47 Andrew Ammerlaan
2022-05-03  8:27 Michał Górny
2022-05-02 12:42 Michał Górny
2022-05-02  8:27 Michał Górny
2022-04-24 17:47 Arthur Zamarin
2022-04-21 20:48 Michał Górny
2022-04-20  7:47 Michał Górny
2022-04-20  7:47 Michał Górny
2022-04-19  8:45 Michał Górny
2022-04-19  6:47 Arthur Zamarin
2022-04-19  6:47 Arthur Zamarin
2022-04-16 15:36 Arthur Zamarin
2022-04-13  5:30 Michał Górny
2022-04-10 21:20 Michał Górny
2022-04-08 10:00 Michał Górny
2022-04-08 10:00 Michał Górny
2022-04-08  9:03 Michał Górny
2022-04-08  8:56 Michał Górny
2022-04-08  8:56 Michał Górny
2022-03-16  8:08 Michał Górny
2022-03-15 18:23 Jakov Smolić
2022-01-29 22:09 Michał Górny
2021-07-25  1:10 Sam James
2021-07-17  4:16 Sam James
2021-02-20 15:34 Ben Kohler
2021-02-18 20:11 Sergei Trofimovich
2020-04-15  2:49 Mike Gilbert
2020-02-05 19:53 Michał Górny
2020-01-07 15:42 Ben Kohler
2018-01-02 14:57 Michał Górny
2017-08-05  8:55 Michael Palimaka
2017-07-15 17:18 Tobias Klausmann
2015-08-21  4:18 Ian Delaney
2015-08-21  1:04 Ian Delaney
2015-08-16 15:09 Ian Delaney

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=1655534829.35c75e4ea59996d9dd1cef3a4ac7e70be4b50dca.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