public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Andrew Ammerlaan" <andrewammerlaan@riseup.net>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:master commit in: dev-python/pdfminer-six/
Date: Thu, 16 Apr 2020 09:59:11 +0000 (UTC)	[thread overview]
Message-ID: <1587029045.6ec1967d1fd405f3961cc2b915c07c8c21077381.andrewammerlaan@gentoo> (raw)
Message-ID: <20200416095911.hZzaQtlm6652VgrJ7zGGbj9PQpRmBVsXowslC0hz4-4@z> (raw)

commit:     6ec1967d1fd405f3961cc2b915c07c8c21077381
Author:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
AuthorDate: Thu Apr 16 09:24:05 2020 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Thu Apr 16 09:24:05 2020 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=6ec1967d

dev-python/pdfminer-six: add distutils_enable_sphinx

Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net>

 .../pdfminer-six/pdfminer-six-20200124.ebuild      | 23 ++------------------
 .../pdfminer-six/pdfminer-six-20200402.ebuild      | 25 +++-------------------
 2 files changed, 5 insertions(+), 43 deletions(-)

diff --git a/dev-python/pdfminer-six/pdfminer-six-20200124.ebuild b/dev-python/pdfminer-six/pdfminer-six-20200124.ebuild
index fc4fb4c..9c14b7d 100644
--- a/dev-python/pdfminer-six/pdfminer-six-20200124.ebuild
+++ b/dev-python/pdfminer-six/pdfminer-six-20200124.ebuild
@@ -4,6 +4,7 @@
 EAPI=7
 
 PYTHON_COMPAT=( python3_{6,7,8} )
+
 inherit distutils-r1
 
 MY_PN="${PN/-/.}"
@@ -16,34 +17,14 @@ SRC_URI="https://github.com/${MY_GITHUB_AUTHOR}/${MY_PN}/archive/${PV}.tar.gz ->
 LICENSE="MIT"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
-IUSE="doc"
 
 RDEPEND="
 	>=dev-python/chardet-3.0[${PYTHON_USEDEP}]
 	dev-python/pycryptodome[${PYTHON_USEDEP}]
 	dev-python/sortedcontainers[${PYTHON_USEDEP}]
 "
-DEPEND="
-	test? (
-		dev-python/nose[${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
-}
-
 distutils_enable_tests nose
+distutils_enable_sphinx docs/source dev-python/sphinx-argparse

diff --git a/dev-python/pdfminer-six/pdfminer-six-20200402.ebuild b/dev-python/pdfminer-six/pdfminer-six-20200402.ebuild
index fc4fb4c..4676f2f 100644
--- a/dev-python/pdfminer-six/pdfminer-six-20200402.ebuild
+++ b/dev-python/pdfminer-six/pdfminer-six-20200402.ebuild
@@ -4,6 +4,7 @@
 EAPI=7
 
 PYTHON_COMPAT=( python3_{6,7,8} )
+
 inherit distutils-r1
 
 MY_PN="${PN/-/.}"
@@ -16,34 +17,14 @@ SRC_URI="https://github.com/${MY_GITHUB_AUTHOR}/${MY_PN}/archive/${PV}.tar.gz ->
 LICENSE="MIT"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
-IUSE="doc"
 
 RDEPEND="
 	>=dev-python/chardet-3.0[${PYTHON_USEDEP}]
 	dev-python/pycryptodome[${PYTHON_USEDEP}]
 	dev-python/sortedcontainers[${PYTHON_USEDEP}]
 "
-DEPEND="
-	test? (
-		dev-python/nose[${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
-}
+S="${WORKDIR}/${MY_PN}-${PV}"
 
 distutils_enable_tests nose
+distutils_enable_sphinx docs/source dev-python/sphinx-argparse


             reply	other threads:[~2020-04-16  9:59 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-16  9:24 Andrew Ammerlaan [this message]
2020-04-16  9:59 ` [gentoo-commits] repo/proj/guru:master commit in: dev-python/pdfminer-six/ Andrew Ammerlaan
  -- strict thread matches above, loose matches on Subject: below --
2022-10-30 13:49 [gentoo-commits] repo/proj/guru:dev " Anna Vyalkova
2022-04-22 12:24 Carlos Eduardo
2022-04-22 11:47 Carlos Eduardo
2022-04-20 13:35 Carlos Eduardo
2020-12-18 19:05 [gentoo-commits] repo/proj/guru:master " Andrew Ammerlaan
2020-12-18 18:10 ` [gentoo-commits] repo/proj/guru:dev " Andrew Ammerlaan
2020-06-09 16:37 [gentoo-commits] repo/proj/guru:master " Andrew Ammerlaan
2020-06-09 15:15 ` [gentoo-commits] repo/proj/guru:dev " Andrew Ammerlaan
2020-04-15 19:51 Alarig Le Lay
2020-04-15 17:31 Alarig Le Lay

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1587029045.6ec1967d1fd405f3961cc2b915c07c8c21077381.andrewammerlaan@gentoo \
    --to=andrewammerlaan@riseup.net \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox