diff options
Diffstat (limited to 'dev-python/PyPDF2')
-rw-r--r-- | dev-python/PyPDF2/Manifest | 28 | ||||
-rw-r--r-- | dev-python/PyPDF2/PyPDF2-1.27.5.ebuild | 29 | ||||
-rw-r--r-- | dev-python/PyPDF2/PyPDF2-1.27.6.ebuild | 39 | ||||
-rw-r--r-- | dev-python/PyPDF2/PyPDF2-1.27.7.ebuild | 39 | ||||
-rw-r--r-- | dev-python/PyPDF2/PyPDF2-1.27.8.ebuild | 39 | ||||
-rw-r--r-- | dev-python/PyPDF2/PyPDF2-1.27.9.ebuild | 39 | ||||
-rw-r--r-- | dev-python/PyPDF2/PyPDF2-2.0.0.ebuild (renamed from dev-python/PyPDF2/PyPDF2-1.27.11.ebuild) | 21 | ||||
-rw-r--r-- | dev-python/PyPDF2/PyPDF2-2.1.0.ebuild (renamed from dev-python/PyPDF2/PyPDF2-1.27.12.ebuild) | 29 | ||||
-rw-r--r-- | dev-python/PyPDF2/PyPDF2-2.2.1.ebuild | 86 | ||||
-rw-r--r-- | dev-python/PyPDF2/PyPDF2-2.3.1.ebuild | 101 | ||||
-rw-r--r-- | dev-python/PyPDF2/PyPDF2-2.4.0.ebuild | 102 |
11 files changed, 327 insertions, 225 deletions
diff --git a/dev-python/PyPDF2/Manifest b/dev-python/PyPDF2/Manifest index 0c5ee140fcca..0d34dcdda805 100644 --- a/dev-python/PyPDF2/Manifest +++ b/dev-python/PyPDF2/Manifest @@ -1,16 +1,14 @@ -DIST PyPDF2-1.27.11.gh.tar.gz 3431028 BLAKE2B 4917d40f3b896e086ea1deac43b9a3d4391d758ff2eb4e2ab731d632d24478781ca862ceffd707b26ae7bb0295c922089ca9a9a90e0878d2e0aef466d1464346 SHA512 cd1578295fafd480016b838a865a658e8996c04a0e22817f8e45d8c00dbdf6dcac2e8c80a8de878e8db4a2984022382f74e8a56af5e305acfb8e3de5f965d207 -DIST PyPDF2-1.27.12.gh.tar.gz 3430850 BLAKE2B a0cb344f616d628b7c39dc360234057ce68595ffa554a8588990ef0a1239ade2db6415caefb84bc058d89067ed04ba66ba149f6f106bbf9a55a13f523dd826fc SHA512 ee00c975881b7e6716656b1cecb83c3e1f7bffa4ed9fb0d8c8be45c7d951b2b79f0be4f9098569bad783703fbc00f0797e73b970b02adad1ed3a4cf3b6ab7b73 -DIST PyPDF2-1.27.5.gh.tar.gz 2053469 BLAKE2B 1a01289145574a4551f1fa237e4c790dd866088787f5bc9afb529ea99424f4d211f1913737cf4a2c744ceae90568ca26612cc4956ff1eda5840624e41df76d78 SHA512 c1f77c7ea46e866da104cf05421ccf15870db07923ff5860a6b44c944d599b38e98d33d6042a155b0698ecd100d1c6f57aa7bb8904dd08e679f6560a578d4488 -DIST PyPDF2-1.27.6.gh.tar.gz 2092950 BLAKE2B 786d5102275d6c04628d76fd0225d453aa8f74cb0a6e135f3d56ed1143c114144aa9daef17e5971ce9e4c14cc01016125107717296d76cf7eb34c1cadbdd42cd SHA512 bf1c60453e6a98a50c382cf967fc7aa1fb8dffc14d426f97bc0e41c34a6534930849fe053c8debe585b3877eadca9f8b43f803b1f01586f6c693a1eefe43e3dd -DIST PyPDF2-1.27.7.gh.tar.gz 2093013 BLAKE2B 5637094972228ad1a5790f36f71e3fd8a694c9fd99bad7874a03f299ca0bb6198064f6756552cac41127fd67a827ca191e6de56281b25c13629a99edcdac7685 SHA512 dbcb944f3bafb0c0e81842e92e8a72609c85c271eba83841ee5bc901119178a6a4ff503a4796014854a75137b9f8f25a245d55a550e770b9f78daf8e1e92dcba -DIST PyPDF2-1.27.8.gh.tar.gz 2104282 BLAKE2B 849a801783b0e3990c3d8c68449b8f9717c2b2155fc78b9c4d07f99cf84ebc453e388192a361f06c8e6405fc5057e25fcd4158475266e6739fb1e91f35f9b1c1 SHA512 42406303f293962a43ac462d9cc7e5ce2fecf999bb7b37913970104f88298ff393f801c187b879b0bebd055a87c70d79a726be3c37c2a53fc872825112fdc98d -DIST PyPDF2-1.27.9.gh.tar.gz 2124754 BLAKE2B 5b1279d84b949a33571950d7256c4ee7b319ff551b5d1c5fc78193048bf54ec3a835cf73a4def7c8fc4ff77f8edd8738062a9e76dc858e1708a21fafee0633cc SHA512 9cae31bb9410dd65746da955a4fc25f8e741fca5dd76181229e5af22d069641a7e8d92c23b117f16fb5a6ee635cd83dccb910fe4ff94a85222bbc856c2109127 -DIST PyPDF2-sample-files-41b5cd4f774f8fbd8ac42d93b9962f0376352a15.tar.gz 5406287 BLAKE2B 8ddad01235bdb55cee596d9114e5b6c3b153919bcff5203d229311243516f3595cb36dcca87cae27514a8231d72daa94782115795bff8c1c3d046236811c21e0 SHA512 6c38d5ee0e1c5c0ffdd78f7c2fe56dbf357a1e82d2af642a10264a6102ae8fb95cba6d2f76b26df6a33a5d84cfd5111885d39c1747cf95a5ce545f26bdb37263 -EBUILD PyPDF2-1.27.11.ebuild 1051 BLAKE2B e889328886573b476920b991701cde199ab9ac94bed45eb4b4005572197393759cd3ddccc6dcbaf490cabf44899eb9d2e5d9e6d1221f5bf6a2153a12e9778469 SHA512 1bf298b06ec2b2c9e221365a2de1dd4af9ff16f0ee89d1d1943a4e7d83558b89447bdaa641540f88acfbf9b01ca4e5b1f8a179052738523931e05a1d1ed2736c -EBUILD PyPDF2-1.27.12.ebuild 1051 BLAKE2B e889328886573b476920b991701cde199ab9ac94bed45eb4b4005572197393759cd3ddccc6dcbaf490cabf44899eb9d2e5d9e6d1221f5bf6a2153a12e9778469 SHA512 1bf298b06ec2b2c9e221365a2de1dd4af9ff16f0ee89d1d1943a4e7d83558b89447bdaa641540f88acfbf9b01ca4e5b1f8a179052738523931e05a1d1ed2736c -EBUILD PyPDF2-1.27.5.ebuild 565 BLAKE2B c8c17e25957f64b7ca3bf2e0ea52ef42582d27bd14666c144d31d2f8951792d0eb81d81a7bee82a6b00762c48ae46ab94eb3018ba714d4d53525f9fa443cdb39 SHA512 c294beae357ef788f37bdcfc7559dcf7c6907d9b271a7779fcf72cb653bab5faf6409e24de2cc98827f6472c7b9bc42620f75eee72620f4122a0d4a4468f0396 -EBUILD PyPDF2-1.27.6.ebuild 745 BLAKE2B f8704ee03b6554d1115382f47e7268134003789d06d569ef6c2d456251f6a3815fa2d090cf79f7bef74a48ab1003530643c3abc155fcc8d123cf9e0c13ee5740 SHA512 42a1e58c650fcbeb41f114d45f3122323e1e95fc67e8c80d4e129e0f3d786c53cf742b538d0834b499be4fa419e21de8b79863444d30b4fb11b8d700bc448f46 -EBUILD PyPDF2-1.27.7.ebuild 745 BLAKE2B f8704ee03b6554d1115382f47e7268134003789d06d569ef6c2d456251f6a3815fa2d090cf79f7bef74a48ab1003530643c3abc155fcc8d123cf9e0c13ee5740 SHA512 42a1e58c650fcbeb41f114d45f3122323e1e95fc67e8c80d4e129e0f3d786c53cf742b538d0834b499be4fa419e21de8b79863444d30b4fb11b8d700bc448f46 -EBUILD PyPDF2-1.27.8.ebuild 745 BLAKE2B f8704ee03b6554d1115382f47e7268134003789d06d569ef6c2d456251f6a3815fa2d090cf79f7bef74a48ab1003530643c3abc155fcc8d123cf9e0c13ee5740 SHA512 42a1e58c650fcbeb41f114d45f3122323e1e95fc67e8c80d4e129e0f3d786c53cf742b538d0834b499be4fa419e21de8b79863444d30b4fb11b8d700bc448f46 -EBUILD PyPDF2-1.27.9.ebuild 745 BLAKE2B f8704ee03b6554d1115382f47e7268134003789d06d569ef6c2d456251f6a3815fa2d090cf79f7bef74a48ab1003530643c3abc155fcc8d123cf9e0c13ee5740 SHA512 42a1e58c650fcbeb41f114d45f3122323e1e95fc67e8c80d4e129e0f3d786c53cf742b538d0834b499be4fa419e21de8b79863444d30b4fb11b8d700bc448f46 +DIST PyPDF2-2.0.0.gh.tar.gz 4574406 BLAKE2B 8554fdb7ab9ea1b9990ba72fb05ed02ef8732788b896013f3410f74bad482a95dfb42215cff247d411e6e84bd1afa3437af36f203b7aa45890c4c5681853dfb9 SHA512 8bdd9c2cdd20758a183696d8d33a207f9be9183e63b7757e09d281f4ae4a6a61714a49c940d5bd57df8a6074ad7498f17354b5d4984b1b2ad4bd119b62d93138 +DIST PyPDF2-2.1.0.gh.tar.gz 4728411 BLAKE2B 00949842da43136afc7ee3482dc0b61182a0bf3ee4479d8794891ecf0a7cac9ec92a94d480a2ab75d35be9f667b5c27cdf17c8e7ce76bb5355cf2c43c7fc814b SHA512 d82f05fe6e7f944f045600c1fd7d451181803769b38911a2d6e0553ae7b16cbfd6838883809c71fddcdfc386f62e0a5f5aaa6d947236a3c8cdedb5fe8f338a5f +DIST PyPDF2-2.2.1.gh.tar.gz 5019240 BLAKE2B 31412cc136bebdf0288fcdf693540e2ae8b88c08f9d837ebeb17b8f8bfae289146028890f36b7b16c6012469908d4f6855169efcebce082d4c31f634b6410162 SHA512 669c41f477114bc38a214e8f4893c5eb59d40dfe07e3c436b71ede09738539e3f47d8f9293cf9c3012887d296c7a634ee93bf2542910c400c4765bd30495f0f6 +DIST PyPDF2-2.3.1.gh.tar.gz 5077679 BLAKE2B 36a70ef9e10ebb6d5c50b713f539aad56b8ccbd94d279aa0b0dc41e9ef1c682ac21b04b4612771e386e8655aa812e11bdbe04363ebaa074a96ffa7059f500e62 SHA512 885d6bab457be594c7a715345f0d4c6f5ba1e34f422e3de42822f4886c0021fc799682e9d253f3c3f48f8c45d387ef431843e2f2f9c7e54c1402ef31b975c511 +DIST PyPDF2-2.4.0.gh.tar.gz 5119230 BLAKE2B a396f1e36a4ad74396a549fa6a6dd76b4a24bee66c78e52bd01b9d3ffebbf15698c0b1b30372fbc7224a815733bfcdecc7e7caa275de32f1a25f44c0e8276c9b SHA512 664f57132c6fa9d2cba324559de985b2c4de4a1f9b5d1ca4539cc9ae35b4296a0b3dac1d15ad069e3f46cc01b2b55d530c0fd5f70e6c41ce5461dfd0ebdd4cdd +DIST PyPDF2-sample-files-41b5cd4f774f8fbd8ac42d93b9962f0376352a15.gh.tar.gz 5406287 BLAKE2B 8ddad01235bdb55cee596d9114e5b6c3b153919bcff5203d229311243516f3595cb36dcca87cae27514a8231d72daa94782115795bff8c1c3d046236811c21e0 SHA512 6c38d5ee0e1c5c0ffdd78f7c2fe56dbf357a1e82d2af642a10264a6102ae8fb95cba6d2f76b26df6a33a5d84cfd5111885d39c1747cf95a5ce545f26bdb37263 +DIST PyPDF2-sample-files-4d24ff93dcddf21d55d028d9675d5b5bf9d7a350.gh.tar.gz 5443819 BLAKE2B 6eb440a2db3b58f7e195b8f24438552b2b414296b887cf44d75b14bda367e37ffef75b870152ac3b38e20e5a6f2c6a4cf374087b70daa9036821dd3ebdce2128 SHA512 de631f650098b6fe15830e5a816158d7f352c7a25d0c743b9e4bdf146e1ef2e3a6ea1751ed5d68f34e9a339a793bfb9dc217934595c7a8dffb854c0a4111b963 +DIST PyPDF2-sample-files-d7ce88b71820fccaaa4738aa37cbace51f3ed3d9.gh.tar.gz 5406263 BLAKE2B 69673ec380941f567d3630459dc610b1c3a58d5f2956138776412683a96292549107294775d236d1304c054fb91b238f42942a169a7bc862c0b721de647ad191 SHA512 a245de88952de08b45e483f05a1ed42a70a67c4215dd8c32a9b5d70bb64b01acc58ebb1cee677ca178eee8380528dbfac50d3a1a022f19039fa3a47746ddc2a0 +EBUILD PyPDF2-2.0.0.ebuild 972 BLAKE2B 53e321d2e525f88ae0b031ae31cff55dfc35dd1bd3eaba9455b9d10f09fafafce7ff97dfe8fe41e3ebcd509fca5f388f0760c702745d88493ddde161d045a4bc SHA512 14fdd4a2e078e496f972c64031a5e22cb2fd13a470196abf9c07c01dd9974d2e985ce92200c4d170638bb8d6800404022004d8afe65928c072bd2b0275f11489 +EBUILD PyPDF2-2.1.0.ebuild 1259 BLAKE2B 00471ca66667bfd7a267706bb44d069a9b1a121da94cbfd9c669a20b988524552455e708b26d1179d7e7273de99827f5bcbd3dd899e73bcf1a11d61cc5b47719 SHA512 6bee3c31c5047c199ee42b670db0a45fdaac569d2dcf8a511082c3af0a93fb2a54f6ced80b2d8a7b296fc213d92408610bd479373f1fe79be5b362f565e96fbb +EBUILD PyPDF2-2.2.1.ebuild 2770 BLAKE2B bc4cf142c90c09f025e2dee618cec6b8083be21ae01e6bfda29ac422ad542b280b328bb8a12f81d49a435904ba5bf3cf2965173484b526f79433d00cf4c51345 SHA512 cb8d418ddde3ffa236951955514b6edc60344e36046cfd4a0d24ee8990ccf8e440bb6dad7ff4c60c384ad9ac370612b864e6654f3b1d5ce7314e97260bdb4247 +EBUILD PyPDF2-2.3.1.ebuild 3380 BLAKE2B 6ae19d28b0d7f9e64c61fc8cd7ac83a55cbfc99e077b651e986a08e12d90d7f2690924760261a1a05c32e30e9986c74b9bd28fb1db688ccb7d131944e22021d5 SHA512 ae711b3bb63d056ce3b2ede12f82f6e09a7363b3a053ee21020f6531a07c297a79042715c1fa2d2102a40e6f14f362bad80db2d3443a072d6a836a8f7c6d6ef7 +EBUILD PyPDF2-2.4.0.ebuild 3419 BLAKE2B bca63e5bb8f9ad093509f8b44818e424960e7c8cc93b72cf0549ec0fd32ef5b4986f1c62a8067138b027bac3b606b882415319e9e614ef2d125409a9362b8698 SHA512 baabd692fcde63b42705983d8db030b2fb8df068cf41e4e441e6df347dbf3358a914f27702c0e32a94b6af4e28b1e4f396a946ecf5fd9760288785e116b1d43a MISC metadata.xml 375 BLAKE2B 2493f7d2ef79342af0ef890e3683fa55255d869c684bba7224ab3afab61e77a239e323c8e63138ce4fea23c32348458cd27a0c58a3b6640854ec27b26cdb40cb SHA512 5e0d6e18e0005e4f323468b8fbfa26dc7ba33d26a94d5fda11c40f62ece84578c1f08843c9f0cf96f0d918d22063f494d486a6d692cecb5b407efaaf92aa9b8b diff --git a/dev-python/PyPDF2/PyPDF2-1.27.5.ebuild b/dev-python/PyPDF2/PyPDF2-1.27.5.ebuild deleted file mode 100644 index bc5f5bcf3cd5..000000000000 --- a/dev-python/PyPDF2/PyPDF2-1.27.5.ebuild +++ /dev/null @@ -1,29 +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..10} ) - -inherit distutils-r1 - -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 -" - -LICENSE="BSD-2" -SLOT="0" -KEYWORDS="amd64 ~arm64 ~ppc64 x86" - -BDEPEND=" - dev-python/pillow[${PYTHON_USEDEP}] -" - -distutils_enable_tests pytest diff --git a/dev-python/PyPDF2/PyPDF2-1.27.6.ebuild b/dev-python/PyPDF2/PyPDF2-1.27.6.ebuild deleted file mode 100644 index b644bee3ad2f..000000000000 --- a/dev-python/PyPDF2/PyPDF2-1.27.6.ebuild +++ /dev/null @@ -1,39 +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..10} ) - -inherit distutils-r1 - -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 -" - -LICENSE="BSD-2" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" -IUSE="examples" - -BDEPEND=" - dev-python/pillow[${PYTHON_USEDEP}] -" - -distutils_enable_tests pytest - -src_install() { - if use examples; then - docinto examples - dodoc -r Sample_Code/. - docompress -x /usr/share/doc/${PF}/examples - fi - distutils-r1_src_install -} diff --git a/dev-python/PyPDF2/PyPDF2-1.27.7.ebuild b/dev-python/PyPDF2/PyPDF2-1.27.7.ebuild deleted file mode 100644 index b644bee3ad2f..000000000000 --- a/dev-python/PyPDF2/PyPDF2-1.27.7.ebuild +++ /dev/null @@ -1,39 +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..10} ) - -inherit distutils-r1 - -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 -" - -LICENSE="BSD-2" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" -IUSE="examples" - -BDEPEND=" - dev-python/pillow[${PYTHON_USEDEP}] -" - -distutils_enable_tests pytest - -src_install() { - if use examples; then - docinto examples - dodoc -r Sample_Code/. - docompress -x /usr/share/doc/${PF}/examples - fi - distutils-r1_src_install -} diff --git a/dev-python/PyPDF2/PyPDF2-1.27.8.ebuild b/dev-python/PyPDF2/PyPDF2-1.27.8.ebuild deleted file mode 100644 index b644bee3ad2f..000000000000 --- a/dev-python/PyPDF2/PyPDF2-1.27.8.ebuild +++ /dev/null @@ -1,39 +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..10} ) - -inherit distutils-r1 - -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 -" - -LICENSE="BSD-2" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" -IUSE="examples" - -BDEPEND=" - dev-python/pillow[${PYTHON_USEDEP}] -" - -distutils_enable_tests pytest - -src_install() { - if use examples; then - docinto examples - dodoc -r Sample_Code/. - docompress -x /usr/share/doc/${PF}/examples - fi - distutils-r1_src_install -} diff --git a/dev-python/PyPDF2/PyPDF2-1.27.9.ebuild b/dev-python/PyPDF2/PyPDF2-1.27.9.ebuild deleted file mode 100644 index b644bee3ad2f..000000000000 --- a/dev-python/PyPDF2/PyPDF2-1.27.9.ebuild +++ /dev/null @@ -1,39 +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..10} ) - -inherit distutils-r1 - -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 -" - -LICENSE="BSD-2" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" -IUSE="examples" - -BDEPEND=" - dev-python/pillow[${PYTHON_USEDEP}] -" - -distutils_enable_tests pytest - -src_install() { - if use examples; then - docinto examples - dodoc -r Sample_Code/. - docompress -x /usr/share/doc/${PF}/examples - fi - distutils-r1_src_install -} diff --git a/dev-python/PyPDF2/PyPDF2-1.27.11.ebuild b/dev-python/PyPDF2/PyPDF2-2.0.0.ebuild index 0314e035bd9b..910139d3b90a 100644 --- a/dev-python/PyPDF2/PyPDF2-1.27.11.ebuild +++ b/dev-python/PyPDF2/PyPDF2-2.0.0.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8..10} ) +PYTHON_COMPAT=( python3_{8..11} ) inherit distutils-r1 @@ -19,15 +19,19 @@ SRC_URI=" -> ${P}.gh.tar.gz test? ( https://github.com/py-pdf/sample-files/archive/${SAMPLE_COMMIT}.tar.gz - -> ${PN}-sample-files-${SAMPLE_COMMIT}.tar.gz + -> ${PN}-sample-files-${SAMPLE_COMMIT}.gh.tar.gz ) " LICENSE="BSD-2" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" -IUSE="examples" +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}] " @@ -40,12 +44,3 @@ src_unpack() { mv "sample-files-${SAMPLE_COMMIT}"/* "${P}"/sample-files/ || die fi } - -src_install() { - if use examples; then - docinto examples - dodoc -r Sample_Code/. - docompress -x /usr/share/doc/${PF}/examples - fi - distutils-r1_src_install -} diff --git a/dev-python/PyPDF2/PyPDF2-1.27.12.ebuild b/dev-python/PyPDF2/PyPDF2-2.1.0.ebuild index 0314e035bd9b..0af1c36fdea7 100644 --- a/dev-python/PyPDF2/PyPDF2-1.27.12.ebuild +++ b/dev-python/PyPDF2/PyPDF2-2.1.0.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8..10} ) +PYTHON_COMPAT=( python3_{8..11} ) inherit distutils-r1 @@ -19,33 +19,38 @@ SRC_URI=" -> ${P}.gh.tar.gz test? ( https://github.com/py-pdf/sample-files/archive/${SAMPLE_COMMIT}.tar.gz - -> ${PN}-sample-files-${SAMPLE_COMMIT}.tar.gz + -> ${PN}-sample-files-${SAMPLE_COMMIT}.gh.tar.gz ) " LICENSE="BSD-2" SLOT="0" KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" -IUSE="examples" +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_workflows.py::test_extract_textbench + "tests/test_page.py::test_page_operations[https://arxiv.org/pdf/2201.00029.pdf-None]" + tests/test_reader.py::test_iss925 + + # 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 } - -src_install() { - if use examples; then - docinto examples - dodoc -r Sample_Code/. - docompress -x /usr/share/doc/${PF}/examples - fi - distutils-r1_src_install -} 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 +} diff --git a/dev-python/PyPDF2/PyPDF2-2.3.1.ebuild b/dev-python/PyPDF2/PyPDF2-2.3.1.ebuild new file mode 100644 index 000000000000..0e5972d80ce8 --- /dev/null +++ b/dev-python/PyPDF2/PyPDF2-2.3.1.ebuild @@ -0,0 +1,101 @@ +# 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}] + 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_page.py::test_page_operations[https://arxiv.org/pdf/2201.00029.pdf-None]' + 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_merger.py::test_bookmark + tests/test_merger.py::test_trim_outline + tests/test_merger.py::test1 + tests/test_merger.py::test_sweep_recursion1 + tests/test_merger.py::test_sweep_recursion2 + tests/test_reader.py::test_unexpected_destination + tests/test_writer.py::test_sweep_indirect_references_nullobject_exception + tests/test_writer.py::test_write_bookmark_on_page_fitv + 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_reader.py::test_unexpected_destination + 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 +} diff --git a/dev-python/PyPDF2/PyPDF2-2.4.0.ebuild b/dev-python/PyPDF2/PyPDF2-2.4.0.ebuild new file mode 100644 index 000000000000..d277d78547da --- /dev/null +++ b/dev-python/PyPDF2/PyPDF2-2.4.0.ebuild @@ -0,0 +1,102 @@ +# 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=4d24ff93dcddf21d55d028d9675d5b5bf9d7a350 +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_page.py::test_page_operations[https://arxiv.org/pdf/2201.00029.pdf-None]' + 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_merger.py::test_bookmark + tests/test_merger.py::test_trim_outline + tests/test_merger.py::test1 + tests/test_merger.py::test_sweep_recursion1 + tests/test_merger.py::test_sweep_recursion2 + tests/test_reader.py::test_unexpected_destination + tests/test_writer.py::test_sweep_indirect_references_nullobject_exception + tests/test_writer.py::test_write_bookmark_on_page_fitv + 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_reader.py::test_unexpected_destination + 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 +} |