From 1503b28e7a30c164cab750c27268f704b8a5cec6 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Tue, 26 Jul 2022 14:59:08 +0100 Subject: gentoo auto-resync : 26:07:2022 - 14:59:07 --- dev-python/PyPDF2/Manifest | 2 + dev-python/PyPDF2/PyPDF2-2.8.1.ebuild | 125 ++++++++++++++++++++++++++++++++++ 2 files changed, 127 insertions(+) create mode 100644 dev-python/PyPDF2/PyPDF2-2.8.1.ebuild (limited to 'dev-python/PyPDF2') diff --git a/dev-python/PyPDF2/Manifest b/dev-python/PyPDF2/Manifest index b156c37e7e2d..a4d5f2267ebb 100644 --- a/dev-python/PyPDF2/Manifest +++ b/dev-python/PyPDF2/Manifest @@ -4,6 +4,7 @@ DIST PyPDF2-2.5.0.gh.tar.gz 5597332 BLAKE2B 40d4fa812f1a70c18d3b2907d83185cd79af DIST PyPDF2-2.6.0.gh.tar.gz 5600718 BLAKE2B 13c8e485d0cbb1a6621e0769840a9894822aeda85fc63d98cd466628d4af0efe7e29ce400f7c71dfae63a6d8273dbceb14c115e14bbaea7592d8fa4aef552d24 SHA512 63ef0297b5b6151ed91d6cfc0e883e996561d9479e9d6bd0742711ffff12c2be173485b0ada052a038e7759d1d819850e0e1030031fdb0bc1df46fa4fa9f912b DIST PyPDF2-2.7.0.gh.tar.gz 5629582 BLAKE2B d6cdf3bdb974c4ffba4bf55a6acc9d8f2a30dd9f460c7ccad71bc836a0deea2ed1b3cc2743eaa0c5a377e7afe034a49412478635454bc6b846186ff3d77298ec SHA512 c04966e1d9175d729bec5f64300bbac41b9eee07ce881bf186faac9774b0a8e6f152c6213e75c81aae8e30ad90e04ed554596c3eba55526f6280e856d9556a4d DIST PyPDF2-2.8.0.gh.tar.gz 5872029 BLAKE2B 3bad15238079cf6e9940c9e8a1b2108e5e810ed8c1223b6dcebf2904ab3f655809a56c8d861743100dfc1267ea6a6e5b0605702d95f2b210820e68a93585ad03 SHA512 a6d258a4ac61acd59ba6f4fa683b080a3b4c70bb0405c2b041d0565319648358236c6cfcefacf1bbea5b3107b7f64a98057c82ac1816f359a5c6fb3b1ce76257 +DIST PyPDF2-2.8.1.gh.tar.gz 5872212 BLAKE2B 19224d1b38947ad14adfb9b33201e0223f6da43072c6bffb78fae939872d0a025e6d2fd6f1eed0c0b88754a359a5459a45a36130659d81089caa884025a922d1 SHA512 6414339017c154610dbb5affcbf94fcda7ab6d1ea78f35cc348a2b8e5fc8c60216c4f20ffc114cb3abd8245ad7a8b40b4cca6161e3a98caff896fb823acc7bea DIST PyPDF2-sample-files-200644f7219811c3930ad1732ef70c570ece2d16.gh.tar.gz 5513604 BLAKE2B 1bfccaf3b50431d32341c24ea7aa203060d40d60a4b3656df35274d056918e7fccf99e11ee2539f65e6de15741ce28acaccd0ddc771ca334a8ba18a8953aee05 SHA512 5d2e1aa06e240957e9ec230406208fc653384b45b9e4b6631580c2eb4f08327e192c6ef57c2310ef3ed0604c85015b15f5ade8ef7d9f525e73733e040fe37fe5 DIST PyPDF2-sample-files-4d24ff93dcddf21d55d028d9675d5b5bf9d7a350.gh.tar.gz 5443819 BLAKE2B 6eb440a2db3b58f7e195b8f24438552b2b414296b887cf44d75b14bda367e37ffef75b870152ac3b38e20e5a6f2c6a4cf374087b70daa9036821dd3ebdce2128 SHA512 de631f650098b6fe15830e5a816158d7f352c7a25d0c743b9e4bdf146e1ef2e3a6ea1751ed5d68f34e9a339a793bfb9dc217934595c7a8dffb854c0a4111b963 EBUILD PyPDF2-2.4.1.ebuild 3417 BLAKE2B 2fc2228d08d8593a7c2e49cbe61cc8d036d894fc7ced3d4308d8c93ada40bf4045e955cb4a44ab0f0daa4836d87a620ca421117b4861b3cc6d0aefbdc36be739 SHA512 edf9219b5534384ccb3519836c8710f21b6f793f856f1e92bc218fe9ed81f9dda197900171f2b7f732150546ec513f55978d52cba72e68bdd8886b152e39c142 @@ -12,4 +13,5 @@ EBUILD PyPDF2-2.5.0.ebuild 4007 BLAKE2B 187f411a58db8c66fadbb7327bdbca018d62ba2b EBUILD PyPDF2-2.6.0.ebuild 4097 BLAKE2B cd9084d5646da17314d423f8ee9618b3125d88b0792bb3d23839c9b10ac379cd5ecf0b2adf34025bdccaf518e6b27b41447d3b19b939942b7030b83766869211 SHA512 1e48980180098c25bdd7461fe6c9ac655195abf46681e9a4b027335e9761dda7cc27523b4d51a75b419ec5ef7bf8c4dd1fc1a4494b16110abbf4f31c9988800f EBUILD PyPDF2-2.7.0.ebuild 4097 BLAKE2B cd9084d5646da17314d423f8ee9618b3125d88b0792bb3d23839c9b10ac379cd5ecf0b2adf34025bdccaf518e6b27b41447d3b19b939942b7030b83766869211 SHA512 1e48980180098c25bdd7461fe6c9ac655195abf46681e9a4b027335e9761dda7cc27523b4d51a75b419ec5ef7bf8c4dd1fc1a4494b16110abbf4f31c9988800f EBUILD PyPDF2-2.8.0.ebuild 4377 BLAKE2B 9f3e91c5aff361c7e024b5f2f45cdab2fd94b2fe221644a63e136d398e1153c815e3d337b585e4dcfca4186a5b86f7c8103831d55083dc0f9a6c6aab166790ff SHA512 85ac76a64952e9068f0372530c41b1ff959770ff7cc8a7f1328be42f9675ae342447c67dbb8cf763bafdc344cf3503823954fe1f6ce3563a4432661826e91d77 +EBUILD PyPDF2-2.8.1.ebuild 4480 BLAKE2B c9e80b2ef300a3cac71421423176f6f307be782ff8f5ff44c4feb163c7827411d79541b87687917be2fb01b7307eacf97ec6f9763f40dee0ab6e2e02f9c5568e SHA512 6f19250646d636aa9cdf4aeda65dbf0d317925299139944b98f8de500c811958f260e56e2879d31d943c6dd7ce74818ffb2567e18fcffbd754450e5aae3c5ceb MISC metadata.xml 375 BLAKE2B 2493f7d2ef79342af0ef890e3683fa55255d869c684bba7224ab3afab61e77a239e323c8e63138ce4fea23c32348458cd27a0c58a3b6640854ec27b26cdb40cb SHA512 5e0d6e18e0005e4f323468b8fbfa26dc7ba33d26a94d5fda11c40f62ece84578c1f08843c9f0cf96f0d918d22063f494d486a6d692cecb5b407efaaf92aa9b8b diff --git a/dev-python/PyPDF2/PyPDF2-2.8.1.ebuild b/dev-python/PyPDF2/PyPDF2-2.8.1.ebuild new file mode 100644 index 000000000000..7e51381424fd --- /dev/null +++ b/dev-python/PyPDF2/PyPDF2-2.8.1.ebuild @@ -0,0 +1,125 @@ +# 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=200644f7219811c3930ad1732ef70c570ece2d16 +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}] + test? ( + dev-python/pycryptodome[${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_generic.py::test_issue_997 + tests/test_merger.py::test1 + tests/test_merger.py::test_bookmark + tests/test_merger.py::test_iss1145 + tests/test_merger.py::test_sweep_indirect_list_newobj_is_None + tests/test_merger.py::test_sweep_recursion1 + tests/test_merger.py::test_sweep_recursion2 + tests/test_merger.py::test_trim_outline + tests/test_merger.py::test_trim_outline_list + tests/test_merger.py::test_zoom + tests/test_merger.py::test_zoom_xyz_no_left + tests/test_page.py::test_empyt_password_1088 + tests/test_page.py::test_extract_text_operator_t_star + 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_single_quote_op + 'tests/test_page.py::test_page_operations[https://arxiv.org/pdf/2201.00029.pdf-None]' + tests/test_reader.py::test_extract_text_pdf15 + 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_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_get_fields_read_write_report + tests/test_reader.py::test_iss925 + tests/test_reader.py::test_metadata_is_none + tests/test_reader.py::test_outline_color + tests/test_reader.py::test_outline_font_format + tests/test_reader.py::test_outline_with_empty_action + tests/test_reader.py::test_outline_with_missing_named_destination + tests/test_reader.py::test_read_form_416 + tests/test_reader.py::test_unexpected_destination + tests/test_reader.py::test_unexpected_destination + tests/test_reader.py::test_xfa_non_empty + tests/test_reader.py::test_PdfReaderMultipleDefinitions + tests/test_utils.py::test_deprecate_no_replacement + tests/test_workflows.py::test_compress + tests/test_workflows.py::test_extract_text + tests/test_workflows.py::test_extract_textbench + tests/test_workflows.py::test_get_fields + tests/test_workflows.py::test_get_fonts + tests/test_workflows.py::test_get_metadata + tests/test_workflows.py::test_get_outline + tests/test_workflows.py::test_image_extraction + tests/test_workflows.py::test_merge + tests/test_workflows.py::test_merge_with_warning + tests/test_workflows.py::test_overlay + tests/test_workflows.py::test_scale_rectangle_indirect_object + tests/test_workflows.py::test_get_xfa + tests/test_writer.py::test_sweep_indirect_references_nullobject_exception + tests/test_writer.py::test_write_bookmark_on_page_fitv + tests/test_xmp.py::test_custom_properties + tests/test_xmp.py::test_dc_creator + tests/test_xmp.py::test_dc_description + tests/test_xmp.py::test_dc_subject + tests/test_xmp.py::test_issue585 + tests/test_xmp.py::test_xmpmm + + # 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 +} -- cgit v1.2.3