commit:     fa9945a1379dd018828b71328d2e546b3571c901
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Apr 20 07:28:35 2022 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Apr 20 07:47:14 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fa9945a1

dev-python/PyPDF2: Bump to 1.27.7

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

 dev-python/PyPDF2/Manifest             |  1 +
 dev-python/PyPDF2/PyPDF2-1.27.7.ebuild | 39 ++++++++++++++++++++++++++++++++++
 2 files changed, 40 insertions(+)

diff --git a/dev-python/PyPDF2/Manifest b/dev-python/PyPDF2/Manifest
index 06001fa2585d..309272d05797 100644
--- a/dev-python/PyPDF2/Manifest
+++ b/dev-python/PyPDF2/Manifest
@@ -1,2 +1,3 @@
 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

diff --git a/dev-python/PyPDF2/PyPDF2-1.27.7.ebuild 
b/dev-python/PyPDF2/PyPDF2-1.27.7.ebuild
new file mode 100644
index 000000000000..b644bee3ad2f
--- /dev/null
+++ b/dev-python/PyPDF2/PyPDF2-1.27.7.ebuild
@@ -0,0 +1,39 @@
+# 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
+}

Reply via email to