From d6d8b249f572a726b0891f82407dab2e7d7812de Mon Sep 17 00:00:00 2001 From: Alarig Le Lay Date: Tue, 14 Apr 2020 21:39:17 +0200 Subject: [PATCH] dev-python/pdfminer-six: Adding 20200124 version Package-Manager: Portage-2.3.89, Repoman-2.3.20 Signed-off-by: Alarig Le Lay --- dev-python/pdfminer-six/Manifest | 1 + .../pdfminer-six/pdfminer-six-20200124.ebuild | 49 +++++++++++++++++++ 2 files changed, 50 insertions(+) create mode 100644 dev-python/pdfminer-six/pdfminer-six-20200124.ebuild diff --git a/dev-python/pdfminer-six/Manifest b/dev-python/pdfminer-six/Manifest index 5aef726..439b541 100644 --- a/dev-python/pdfminer-six/Manifest +++ b/dev-python/pdfminer-six/Manifest @@ -1 +1,2 @@ +DIST pdfminer-six-20200124.tar.gz 10181868 BLAKE2B 1421c4fba7ba3ad47966ee2a023453794b674033f9a84d11758efdf1601d82a5a628276a2ec57db99827856935c14e0b6fea49ac3a54fce97933e73a4ca598ae SHA512 60ce03984ef7d80d47e55ef50886ea77f82b7b4a61924332a25a56f4271f83816ca95c5e17a52d592c86356ffe8a0db530eae7c5f5b1f96fc42ae42679378a58 DIST pdfminer-six-20200402.tar.gz 10184190 BLAKE2B a54a9eee0297574b0b6e1b3df89a72ba4d2570b49312ebdba1b1d56387fa3c126dda032a6560bc6195f3b8f59a57e17839fda7bfa1386ba31494060bcf1a9f1b SHA512 da64a9141ad1afde63c41e6678ac5f2a13abba7ee2d1447fb5cd986e90a2d02ba040f128bb1f73db4329929eed90488a3b0b8c96f6af0d1968d483820bf6d656 diff --git a/dev-python/pdfminer-six/pdfminer-six-20200124.ebuild b/dev-python/pdfminer-six/pdfminer-six-20200124.ebuild new file mode 100644 index 0000000..b52a374 --- /dev/null +++ b/dev-python/pdfminer-six/pdfminer-six-20200124.ebuild @@ -0,0 +1,49 @@ +# Copyright 2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7,8} ) +inherit distutils-r1 + +MY_PN="${PN/-/.}" + +DESCRIPTION="Community maintained fork of pdfminer" +HOMEPAGE="https://github.com/pdfminer/pdfminer.six" +MY_GITHUB_AUTHOR="pdfminer" +SRC_URI="https://github.com/${MY_GITHUB_AUTHOR}/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc test" + +RDEPEND=" + >=dev-python/chardet-3.0[${PYTHON_USEDEP}] + dev-python/pycryptodome[${PYTHON_USEDEP}] + dev-python/sortedcontainers[${PYTHON_USEDEP}] +" +DEPEND=" + ${RDEPEND} + test? ( + dev-python/nose[${PYTHON_USEDEP}] + dev-python/tox[${PYTHON_USEDEP}] + ) +" +BDEPEND=" + doc? ( + dev-python/sphinx[${PYTHON_USEDEP}] + dev-python/sphinx-argparse[${PYTHON_USEDEP}] + ) +" + +S="${WORKDIR}"/"${MY_PN}-${PV}" + +python_compile_all() { + use doc && emake -C docs html +} + +python_install_all() { + use doc && local HTML_DOCS=( docs/_build/html/. ) + distutils-r1_python_install_all +}