summaryrefslogtreecommitdiff
path: root/dev-python/PyPDF2
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2022-04-08 09:46:43 +0200
committerMichał Górny <mgorny@gentoo.org>2022-04-08 10:56:32 +0200
commit7e305fc08274decdea4858826b8ec9fb09b46078 (patch)
treec4b7fe0d149464a19bf2900a16d2d12bdef6934d /dev-python/PyPDF2
parent133600b48424c8d4a013bb43faa6648d73cd0733 (diff)
downloadgentoo-7e305fc08274decdea4858826b8ec9fb09b46078.tar.gz
gentoo-7e305fc08274decdea4858826b8ec9fb09b46078.tar.bz2
gentoo-7e305fc08274decdea4858826b8ec9fb09b46078.zip
dev-python/PyPDF2: Bump to 1.27.1
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/PyPDF2')
-rw-r--r--dev-python/PyPDF2/Manifest1
-rw-r--r--dev-python/PyPDF2/PyPDF2-1.27.1.ebuild32
2 files changed, 33 insertions, 0 deletions
diff --git a/dev-python/PyPDF2/Manifest b/dev-python/PyPDF2/Manifest
index 00170246eb93..4a170a4d1b0a 100644
--- a/dev-python/PyPDF2/Manifest
+++ b/dev-python/PyPDF2/Manifest
@@ -1 +1,2 @@
DIST PyPDF2-1.26.0.tar.gz 77556 BLAKE2B 8ce9b95165a3841154b6e38e24ca5a4db434ceef9c55fbf2d146b379586160cb985948e0feb7aed135f601535d034ef79ddc1af58a670b07ff7d3621907022ec SHA512 7b427f1d099dcd687a718fb8d86e6f677ad45257414c6367e4dfacd8dfef7e3dbe3816027359868764981f36a30721f1731b4c23cbe2f35cfab1c64fb290b034
+DIST PyPDF2-1.27.1.tar.gz 67702 BLAKE2B 28c0a7fc1c394b36fce6b33e0faa9f5d3cbb5653cf1fe6ab9488656aead342614287156d9852080a15163627f44714305942dd769025d1f8ad7fe1992a845516 SHA512 195f4fed2ae70d0663bc5c69f1ac340a773f27141a4c79b38000bfc542d304705e3f16c24b299505c20f893c60f2b848999ec027601e916284e009f1cc4b98e3
diff --git a/dev-python/PyPDF2/PyPDF2-1.27.1.ebuild b/dev-python/PyPDF2/PyPDF2-1.27.1.ebuild
new file mode 100644
index 000000000000..9cc9533bc8d6
--- /dev/null
+++ b/dev-python/PyPDF2/PyPDF2-1.27.1.ebuild
@@ -0,0 +1,32 @@
+# 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/mstamy2/PyPDF2"
+SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
+IUSE="examples"
+
+python_test() {
+ "${EPYTHON}" -m unittest Tests.tests ||
+ die "Tests failed under ${EPYTHON}"
+}
+
+python_install_all() {
+ if use examples; then
+ docinto examples
+ dodoc -r Sample_Code/.
+ docompress -x /usr/share/doc/${PF}/examples
+ fi
+ distutils-r1_python_install_all
+}