dev-python/pdfminer-six: Adding 20200124 version

Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Alarig Le Lay <alarig@swordarmor.fr>
This commit is contained in:
Alarig Le Lay 2020-04-14 21:39:17 +02:00
parent 2d56068fc7
commit d6d8b249f5
Signed by: alarig
GPG Key ID: 7AFE62C6DF8BCDEC
2 changed files with 50 additions and 0 deletions

View File

@ -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

View File

@ -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
}