diff options
| author | Ben Kohler <bkohler@gentoo.org> | 2021-02-20 09:02:41 -0600 |
|---|---|---|
| committer | Ben Kohler <bkohler@gentoo.org> | 2021-02-20 09:33:39 -0600 |
| commit | 5e90f573b26c3ba5a14a850acf76c594ce8c3e45 (patch) | |
| tree | 6f716d475232bcb2dfb992f11093d14fd376990b /dev-python/PyPDF2/PyPDF2-1.26.0.ebuild | |
| parent | b67a7c885b3846d19689e684a8c8326dff50e26a (diff) | |
| download | gentoo-5e90f573b26c3ba5a14a850acf76c594ce8c3e45.tar.gz gentoo-5e90f573b26c3ba5a14a850acf76c594ce8c3e45.tar.bz2 gentoo-5e90f573b26c3ba5a14a850acf76c594ce8c3e45.zip | |
dev-python/PyPDF2: add python3_9 support
Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Ben Kohler <bkohler@gentoo.org>
Diffstat (limited to 'dev-python/PyPDF2/PyPDF2-1.26.0.ebuild')
| -rw-r--r-- | dev-python/PyPDF2/PyPDF2-1.26.0.ebuild | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/dev-python/PyPDF2/PyPDF2-1.26.0.ebuild b/dev-python/PyPDF2/PyPDF2-1.26.0.ebuild deleted file mode 100644 index fc0048afc588..000000000000 --- a/dev-python/PyPDF2/PyPDF2-1.26.0.ebuild +++ /dev/null @@ -1,33 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -PYTHON_COMPAT=( python3_{7,8} ) -DISTUTILS_USE_SETUPTOOLS=no - -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 ~ppc64 x86" -IUSE="examples" - -PATCHES=( "${FILESDIR}/${P}-py3-tests.patch" ) - -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 -} |
