diff options
| author | Michał Górny <mgorny@gentoo.org> | 2022-04-08 09:52:17 +0200 |
|---|---|---|
| committer | Michał Górny <mgorny@gentoo.org> | 2022-04-08 10:56:35 +0200 |
| commit | 18e9180b0d069cf031ab4d8ed8ad5624ecd5a572 (patch) | |
| tree | a4711ce29fd2fee872dba6f4fb91a18efdb2339d /dev-python/PyPDF2/PyPDF2-1.27.0.ebuild | |
| parent | b88c96917a45549621ac50a1bf9b6a2ac03ad22e (diff) | |
| download | gentoo-18e9180b0d069cf031ab4d8ed8ad5624ecd5a572.tar.gz gentoo-18e9180b0d069cf031ab4d8ed8ad5624ecd5a572.tar.bz2 gentoo-18e9180b0d069cf031ab4d8ed8ad5624ecd5a572.zip | |
dev-python/PyPDF2: Bump to 1.27.0
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/PyPDF2/PyPDF2-1.27.0.ebuild')
| -rw-r--r-- | dev-python/PyPDF2/PyPDF2-1.27.0.ebuild | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/dev-python/PyPDF2/PyPDF2-1.27.0.ebuild b/dev-python/PyPDF2/PyPDF2-1.27.0.ebuild new file mode 100644 index 000000000000..3b0208da7c61 --- /dev/null +++ b/dev-python/PyPDF2/PyPDF2-1.27.0.ebuild @@ -0,0 +1,35 @@ +# 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" + +distutils_enable_tests pytest + +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 +} |
