summaryrefslogtreecommitdiff
path: root/dev-python/PyPDF2
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-09-14 11:10:11 +0100
committerV3n3RiX <venerix@koprulu.sector>2022-09-14 11:10:11 +0100
commit81b8f20732954c4508baf2f77472b5435e3f851f (patch)
tree4180177cb7ba85eab50159ce96218c2419fb24a6 /dev-python/PyPDF2
parent946859e0e36904cffb3e0ccbccb6b7b1347c1cc8 (diff)
gentoo auto-resync : 14:09:2022 - 11:10:10
Diffstat (limited to 'dev-python/PyPDF2')
-rw-r--r--dev-python/PyPDF2/Manifest8
-rw-r--r--dev-python/PyPDF2/PyPDF2-2.10.0.ebuild131
-rw-r--r--dev-python/PyPDF2/PyPDF2-2.10.2.ebuild131
-rw-r--r--dev-python/PyPDF2/PyPDF2-2.10.3.ebuild2
-rw-r--r--dev-python/PyPDF2/PyPDF2-2.9.0.ebuild130
5 files changed, 2 insertions, 400 deletions
diff --git a/dev-python/PyPDF2/Manifest b/dev-python/PyPDF2/Manifest
index 8580ada4d87d..db9b8e66e192 100644
--- a/dev-python/PyPDF2/Manifest
+++ b/dev-python/PyPDF2/Manifest
@@ -1,17 +1,11 @@
-DIST PyPDF2-2.10.0.gh.tar.gz 6355180 BLAKE2B 1070e4989609cb1361f966f06a23a972ba0f53d6d02d2f489104a7198111d4e80573e2a54d7446bd85ccc8270ad8cb592c2131f0ba1433b3c1ca246bcd39c466 SHA512 dfc543a9cbc4c4e185abc928a64a8aeb5c69d833d3af0983bc994bb6a62b65732a6ea0a7b260bca4de8854639c0a03e0cc6398a5d9ec4df9125ccf7e4b3b264d
-DIST PyPDF2-2.10.2.gh.tar.gz 6434051 BLAKE2B 36778692fc8fff4c4dba16e94128b09d366a7c10d0f2a73c85f6de1b2baf1c6545fdd816cf633757276b79893087fc983c8a0b8e756fd375a0ae319cb75fe108 SHA512 6e19bc2967abfd813f05607126e3ae07daa202428db667c6a729513f12f4d962f0350475dd5806bd36a40fafd7dc6c2073fd7d4db24321061b1a73e93225e78b
DIST PyPDF2-2.10.3.gh.tar.gz 6435551 BLAKE2B 2907ef5f8fb7117d895d87326fd8281154cb5a78be54e832489c211f10a2cb2762051eff419279e2f3e70ed773645b08b59d598c9c7edba575c06d9e34fcefa6 SHA512 a8b05f280e8aecd9b54a143dc77c6aa5e095485e4d9c38c3d2ab62855e004d4c8333b88c7b663cf282d7a7eeac920595d94e6c3ba7524850272d82cb504a4f7c
DIST PyPDF2-2.10.4.gh.tar.gz 6435008 BLAKE2B 00f4b2f65198026715186dbf1ced15e825cb061873f3b8d3d7716d81439d3d44b392ea90d886ce8aad45b1fd29fafcbb917e9aed795d311c98e2752643ae40be SHA512 ac865096ae370626ad7ab243a5c95fafc95e71c31e79c4f89be919205d956726d0147a7b4cf5a2bcddb021999261fa0a73942df64763cf3c8b30620274ea518d
DIST PyPDF2-2.10.5.gh.tar.gz 6443691 BLAKE2B 6b60ea4d1a044ee5f20718744118f5739a4271a0552960e2760c4904f57201ed8426d4cb81ce5f5d2170b84958e1b17ea3de843137e669ed7b202a49db8654c2 SHA512 cf07448b2ea4397f1bf5b2d563956bda218e9031b4396e86c2d689d518c7c2b17920771dbdf0e5ed6013dd96d957add12d3f4fbdf3a8bd3262a1fae38ae741d8
DIST PyPDF2-2.10.6.gh.tar.gz 6443648 BLAKE2B 4b5282363dea4bcec65ee6fddec787a95055ae900636b75c118fa3f2a4f5afc73807425b611c81cff6a580d4109c4df14083a1f64d7d6c373a1cd6ff9cb92fb3 SHA512 c158e6eec44429bdc103cd7f0e358289a14de92dc1d23b77f58e45a7a9851e9072fab3c8c5710f1755fdc5093380d3756db4fd12d0bdc8461cb9119d499fe012
-DIST PyPDF2-2.9.0.gh.tar.gz 5877910 BLAKE2B afea03f9ac21e4b39cd39ce03adf70a8e08b80315f7cdd81440e371396ba48939560a3835de9587be8020e1aab75726409ecec753ef0fb042d69fe7fc6755e80 SHA512 fefbc6e6eb7ac0a0154f662044acb66f1c034efc114e878ced109d54a3e5427bb73088cb88d765c4576c2d67459a2daf64415789f8efe9b66cf8ed2bb78ff297
DIST PyPDF2-sample-files-b6f4ff3de00745783d79f25cb8803901d1f20d28.gh.tar.gz 5522867 BLAKE2B 9a6cb3b92032f9ec697b972b1a257b2c2528d36cd4a7e40092ac6dbf0a4955c5b204b8c82d37f9bad4a19fccddf0070b095ee2f3b56de22d738ed3d8a3b555c0 SHA512 74aad38060f441ace87f6650de152a28f4a251e4f47574a8d46066857c8fbbb187cd3cd275caa198dce2c1557e90664b288f071995c2bbb9bf13a341210313e8
DIST PyPDF2-sample-files-bedcbe077c4898e1b97c6c6f81d937f5048b4630.gh.tar.gz 7198720 BLAKE2B 91d177e7329fd137322972a3a38841cb0611de7f839071fe2fa5ecff0343cbffdf6976f42f4a779f520a8a2bac2d6573c5cd65bf2f1bc68395077e6e9c7322d9 SHA512 0cdaee85f1da12cf678165f06c8d351aa0808137d25f68c07f19f1bd3c929eeb52e604041dfaa0df94665379aeb7d19a43426d724a5e6602b7e4fbe7a62e753d
-EBUILD PyPDF2-2.10.0.ebuild 4733 BLAKE2B 5f901f05563a6ee94ba1aa7db40471ac8c82ccf2fbba6b28713b367316b82f6785322a6cc755b0089fb0bcffef3a113834ec81fc6a23895e80db2a56c08a63cf SHA512 3e7c659719398558d4ab9adae8c04d2af605abfbe78c7aa13065026914cc0d6d9aabbbee35f0ff2b7b8a66cd7146626b0fb3126544cd8a51157134925ca845ee
-EBUILD PyPDF2-2.10.2.ebuild 4733 BLAKE2B 5f901f05563a6ee94ba1aa7db40471ac8c82ccf2fbba6b28713b367316b82f6785322a6cc755b0089fb0bcffef3a113834ec81fc6a23895e80db2a56c08a63cf SHA512 3e7c659719398558d4ab9adae8c04d2af605abfbe78c7aa13065026914cc0d6d9aabbbee35f0ff2b7b8a66cd7146626b0fb3126544cd8a51157134925ca845ee
-EBUILD PyPDF2-2.10.3.ebuild 4772 BLAKE2B 15b4a4f906fc7db6f4dfa3557a7ac9c8f33118c00c7cbae05176811fc5dfe2ab522133724c1fcad4ca4c089e8b86b5aafb4e2e56a9e5b34c32cdd6bd390e98e5 SHA512 f72e0319449865ea8bf6f6894e0967272ecd20a3012c74b1cd955d07620928aba9fea396023af66e90d6932376ed4864f64844d0932a32be9eab788ad31c6786
+EBUILD PyPDF2-2.10.3.ebuild 4770 BLAKE2B b8db16fab0593ef6a53c3dcbde3addbf7b2926f7a53cd9f60d6389f2feb2ba707e04e30a4d9a6aa634f047e4ee40aa5777d3235075f1d216ce2229212c2bd04d SHA512 a4b80d1303f2f21c2684bc4e315ed90a9f041e40bca1baf0320df6cdab1f79af7f4857ada6de3e77fb749feb5177171b270d3f6ed6f4f09e2d40568042338123
EBUILD PyPDF2-2.10.4.ebuild 4772 BLAKE2B 15b4a4f906fc7db6f4dfa3557a7ac9c8f33118c00c7cbae05176811fc5dfe2ab522133724c1fcad4ca4c089e8b86b5aafb4e2e56a9e5b34c32cdd6bd390e98e5 SHA512 f72e0319449865ea8bf6f6894e0967272ecd20a3012c74b1cd955d07620928aba9fea396023af66e90d6932376ed4864f64844d0932a32be9eab788ad31c6786
EBUILD PyPDF2-2.10.5.ebuild 1260 BLAKE2B b26dabdaa3cd175093c5fdca86afeebab8502152c59b54b066787c1eadfb6633543492a25bdc160c1397895559f17267025caaac2b959f1e3efa8528b8712f66 SHA512 f015b0bfaf7b51eb2463ac2e57f331519c9d43447449a7623ffbfa274acc935ebdaf04e7b9d02d85b312ee1451f67db692f6067f9141072b216fb31a5c279f67
EBUILD PyPDF2-2.10.6.ebuild 1260 BLAKE2B b26dabdaa3cd175093c5fdca86afeebab8502152c59b54b066787c1eadfb6633543492a25bdc160c1397895559f17267025caaac2b959f1e3efa8528b8712f66 SHA512 f015b0bfaf7b51eb2463ac2e57f331519c9d43447449a7623ffbfa274acc935ebdaf04e7b9d02d85b312ee1451f67db692f6067f9141072b216fb31a5c279f67
-EBUILD PyPDF2-2.9.0.ebuild 4692 BLAKE2B 60e995d9d8805aa4b65056536a54c35a5e1c9be5392a196f29970c70bb5ffe7c59db1d6936ff2b183a4280e3978fce6969630d312d33fc79508518f18eb3a7b0 SHA512 c30258d00a84e4f277a1939a137f980d375aa3898bf997967bd1561e2abc83ff1351f85237c657ffb5dd441021b09f947c0d4eac8f0ae299864a05b277acbff1
MISC metadata.xml 375 BLAKE2B 2493f7d2ef79342af0ef890e3683fa55255d869c684bba7224ab3afab61e77a239e323c8e63138ce4fea23c32348458cd27a0c58a3b6640854ec27b26cdb40cb SHA512 5e0d6e18e0005e4f323468b8fbfa26dc7ba33d26a94d5fda11c40f62ece84578c1f08843c9f0cf96f0d918d22063f494d486a6d692cecb5b407efaaf92aa9b8b
diff --git a/dev-python/PyPDF2/PyPDF2-2.10.0.ebuild b/dev-python/PyPDF2/PyPDF2-2.10.0.ebuild
deleted file mode 100644
index db21f89a85ae..000000000000
--- a/dev-python/PyPDF2/PyPDF2-2.10.0.ebuild
+++ /dev/null
@@ -1,131 +0,0 @@
-# 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=b6f4ff3de00745783d79f25cb8803901d1f20d28
-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_filters.py::test_issue_399
- 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
- tests/test_merger.py::test_outline_item
- tests/test_page.py::test_iss_1142
- tests/test_page.py::test_read_link_annotation
- tests/test_reader.py::test_named_destination
- tests/test_writer.py::test_write_outline_item_on_page_fitv
-
- # TODO
- tests/test_workflows.py::test_orientations
-)
-
-src_unpack() {
- default
- if use test; then
- mv "sample-files-${SAMPLE_COMMIT}"/* "${P}"/sample-files/ || die
- fi
-}
diff --git a/dev-python/PyPDF2/PyPDF2-2.10.2.ebuild b/dev-python/PyPDF2/PyPDF2-2.10.2.ebuild
deleted file mode 100644
index db21f89a85ae..000000000000
--- a/dev-python/PyPDF2/PyPDF2-2.10.2.ebuild
+++ /dev/null
@@ -1,131 +0,0 @@
-# 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=b6f4ff3de00745783d79f25cb8803901d1f20d28
-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_filters.py::test_issue_399
- 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
- tests/test_merger.py::test_outline_item
- tests/test_page.py::test_iss_1142
- tests/test_page.py::test_read_link_annotation
- tests/test_reader.py::test_named_destination
- tests/test_writer.py::test_write_outline_item_on_page_fitv
-
- # TODO
- tests/test_workflows.py::test_orientations
-)
-
-src_unpack() {
- default
- if use test; then
- mv "sample-files-${SAMPLE_COMMIT}"/* "${P}"/sample-files/ || die
- fi
-}
diff --git a/dev-python/PyPDF2/PyPDF2-2.10.3.ebuild b/dev-python/PyPDF2/PyPDF2-2.10.3.ebuild
index ff14eca53417..58e106e9299a 100644
--- a/dev-python/PyPDF2/PyPDF2-2.10.3.ebuild
+++ b/dev-python/PyPDF2/PyPDF2-2.10.3.ebuild
@@ -25,7 +25,7 @@ SRC_URI="
LICENSE="BSD-2"
SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
+KEYWORDS="amd64 ~arm64 ~ppc64 x86"
RDEPEND="
$(python_gen_cond_dep '
diff --git a/dev-python/PyPDF2/PyPDF2-2.9.0.ebuild b/dev-python/PyPDF2/PyPDF2-2.9.0.ebuild
deleted file mode 100644
index 1239a0680e75..000000000000
--- a/dev-python/PyPDF2/PyPDF2-2.9.0.ebuild
+++ /dev/null
@@ -1,130 +0,0 @@
-# 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=b6f4ff3de00745783d79f25cb8803901d1f20d28
-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
- tests/test_merger.py::test_outline_item
- tests/test_page.py::test_iss_1142
- tests/test_page.py::test_read_link_annotation
- tests/test_reader.py::test_named_destination
- tests/test_writer.py::test_write_outline_item_on_page_fitv
-
- # TODO
- tests/test_workflows.py::test_orientations
-)
-
-src_unpack() {
- default
- if use test; then
- mv "sample-files-${SAMPLE_COMMIT}"/* "${P}"/sample-files/ || die
- fi
-}