summaryrefslogtreecommitdiff
path: root/dev-python/PyPDF2/PyPDF2-1.27.7.ebuild
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2022-04-20 09:28:35 +0200
committerMichał Górny <mgorny@gentoo.org>2022-04-20 09:47:14 +0200
commitfa9945a1379dd018828b71328d2e546b3571c901 (patch)
treea7c8dd7dea31e42b52f7fdf64453e19a3a270fde /dev-python/PyPDF2/PyPDF2-1.27.7.ebuild
parent324cd258deaf583eb2d43edf9c8e590679a66479 (diff)
downloadgentoo-fa9945a1379dd018828b71328d2e546b3571c901.tar.gz
gentoo-fa9945a1379dd018828b71328d2e546b3571c901.tar.bz2
gentoo-fa9945a1379dd018828b71328d2e546b3571c901.zip
dev-python/PyPDF2: Bump to 1.27.7
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/PyPDF2/PyPDF2-1.27.7.ebuild')
-rw-r--r--dev-python/PyPDF2/PyPDF2-1.27.7.ebuild39
1 files changed, 39 insertions, 0 deletions
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
+}