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/wcmatch/
Date: Fri, 10 Apr 2020 07:35:28 +0000 (UTC)	[thread overview]
Message-ID: <1586502936.d5a64cecce82be0d67a3063938c6c57fe3fc1db4.andrewammerlaan@gentoo> (raw)
Message-ID: <20200410073528.aps6rxYO7ZaRqkCQVBNb4NGeMkjNeAKLR4cDREUMAK8@z> (raw)

commit:     d5a64cecce82be0d67a3063938c6c57fe3fc1db4
Author:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
AuthorDate: Fri Apr 10 07:15:36 2020 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Fri Apr 10 07:15:36 2020 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=d5a64cec

dev-python/wcmatch: fix doc, needs git repo

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

 dev-python/wcmatch/wcmatch-6.0.1.ebuild | 26 +++++++++++++++-----------
 1 file changed, 15 insertions(+), 11 deletions(-)

diff --git a/dev-python/wcmatch/wcmatch-6.0.1.ebuild b/dev-python/wcmatch/wcmatch-6.0.1.ebuild
index eafec46..95097a6 100644
--- a/dev-python/wcmatch/wcmatch-6.0.1.ebuild
+++ b/dev-python/wcmatch/wcmatch-6.0.1.ebuild
@@ -5,17 +5,15 @@ EAPI=7
 
 PYTHON_COMPAT=( python3_{6,7,8} )
 
-#ERROR   -  Unable to read git logs of '/tmp/mozilla_andrew0/wcmatch-6.0.1/docs/src/markdown/index.md'. To ignore this error, set option 'ignoring_missing_git: true'
-#ERROR   -  Error reading page 'index.md': Cmd('git') failed due to: exit code(128)
-# how does one enable this option???
-#DOCBUILDER="mkdocs"
-#DOCEPEND="
-#	dev-python/mkdocs-git-revision-date-localized-plugin
-#	dev-python/mkdocs_pymdownx_material_extras
-#	dev-python/pyspelling
-#"
-
-inherit distutils-r1 #docs
+DOCBUILDER="mkdocs"
+DOCDEPEND="
+	dev-python/mkdocs-git-revision-date-localized-plugin
+	~dev-python/mkdocs-material-5.0.0_rc2
+	dev-python/mkdocs_pymdownx_material_extras
+	dev-python/pyspelling
+"
+
+inherit distutils-r1 docs
 
 DESCRIPTION="Wildcard/glob file name matcher"
 HOMEPAGE="
@@ -48,5 +46,11 @@ python_prepare_all() {
 		-e 's:test_tilde_globmatch_no_tilde:_&:' \
 		tests/test_globmatch.py || die
 
+	# git revision data plugin needs git repo to build
+	if use doc; then
+		git init || die
+		git add -A || die
+		git commit -q -m ".." || die
+	fi
 	distutils-r1_python_prepare_all
 }


             reply	other threads:[~2020-04-10  7:35 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-10  7:15 Andrew Ammerlaan [this message]
2020-04-10  7:35 ` [gentoo-commits] repo/proj/guru:master commit in: dev-python/wcmatch/ Andrew Ammerlaan
  -- strict thread matches above, loose matches on Subject: below --
2020-12-07 11:52 [gentoo-commits] repo/proj/guru:dev " Andrew Ammerlaan
2020-04-11  8:15 [gentoo-commits] repo/proj/guru:master " Andrew Ammerlaan
2020-04-11  8:15 ` [gentoo-commits] repo/proj/guru:dev " Andrew Ammerlaan
2020-04-09 14:40 Andrew Ammerlaan
2020-03-28 11:00 Andrew Ammerlaan
2020-03-27 17:04 Alessandro Barbieri

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=1586502936.d5a64cecce82be0d67a3063938c6c57fe3fc1db4.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