commit:     25676caa79355400a93ba8c78005dacc0c524eb0
Author:     Alarig Le Lay <alarig <AT> swordarmor <DOT> fr>
AuthorDate: Wed Apr 15 17:31:41 2020 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Wed Apr 15 17:31:41 2020 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=25676caa

dev-python/pdfminer-six: New ebuild

Community maintained fork of pdfminer

Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Alarig Le Lay <alarig <AT> swordarmor.fr>

 dev-python/pdfminer-six/Manifest                   |  2 +
 dev-python/pdfminer-six/metadata.xml               |  8 ++++
 .../pdfminer-six/pdfminer-six-20200124.ebuild      | 49 ++++++++++++++++++++++
 .../pdfminer-six/pdfminer-six-20200402.ebuild      | 49 ++++++++++++++++++++++
 4 files changed, 108 insertions(+)

diff --git a/dev-python/pdfminer-six/Manifest b/dev-python/pdfminer-six/Manifest
new file mode 100644
index 0000000..439b541
--- /dev/null
+++ b/dev-python/pdfminer-six/Manifest
@@ -0,0 +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/metadata.xml 
b/dev-python/pdfminer-six/metadata.xml
new file mode 100644
index 0000000..17361c3
--- /dev/null
+++ b/dev-python/pdfminer-six/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
+<pkgmetadata>
+       <maintainer type="person">
+               <email>[email protected]</email>
+               <name>Alarig Le Lay</name>
+       </maintainer>
+</pkgmetadata>

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..18364ed
--- /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
+}

diff --git a/dev-python/pdfminer-six/pdfminer-six-20200402.ebuild 
b/dev-python/pdfminer-six/pdfminer-six-20200402.ebuild
new file mode 100644
index 0000000..18364ed
--- /dev/null
+++ b/dev-python/pdfminer-six/pdfminer-six-20200402.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
+}

Reply via email to