public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Matt Turner" <mattst88@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/sphinxcontrib-issuetracker/
Date: Fri, 17 Jul 2020 04:14:06 +0000 (UTC)	[thread overview]
Message-ID: <1594959232.7951b3a633cca194bdfb42ebb6862f5815ebb489.mattst88@gentoo> (raw)

commit:     7951b3a633cca194bdfb42ebb6862f5815ebb489
Author:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
AuthorDate: Wed Jul  1 19:33:55 2020 +0000
Commit:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Fri Jul 17 04:13:52 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7951b3a6

dev-python/sphinxcontrib-issuetracker: add py3_7,8,9

Package-Manager: Portage-2.3.103, Repoman-2.3.23
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net>
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>

 .../sphinxcontrib-issuetracker-0.11-r2.ebuild      | 37 ++++++++--------------
 1 file changed, 13 insertions(+), 24 deletions(-)

diff --git a/dev-python/sphinxcontrib-issuetracker/sphinxcontrib-issuetracker-0.11-r2.ebuild b/dev-python/sphinxcontrib-issuetracker/sphinxcontrib-issuetracker-0.11-r2.ebuild
index 5c20acaa206..cd4654d3001 100644
--- a/dev-python/sphinxcontrib-issuetracker/sphinxcontrib-issuetracker-0.11-r2.ebuild
+++ b/dev-python/sphinxcontrib-issuetracker/sphinxcontrib-issuetracker-0.11-r2.ebuild
@@ -1,9 +1,9 @@
 # Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=7
 
-PYTHON_COMPAT=( python3_6 )
+PYTHON_COMPAT=( python3_{7,8,9} )
 
 inherit distutils-r1
 
@@ -14,20 +14,27 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 LICENSE="BSD-2"
 SLOT="0"
 KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
-IUSE="doc test"
-RESTRICT="!test? ( test )"
+
+# ImportError: cannot import name 'SphinxStandaloneReader'
+RESTRICT="test"
 
 RDEPEND="
 	dev-python/namespace-sphinxcontrib[${PYTHON_USEDEP}]
 	dev-python/requests[${PYTHON_USEDEP}]
-	dev-python/sphinx[${PYTHON_USEDEP}]"
+	dev-python/sphinx[${PYTHON_USEDEP}]
+"
+
 DEPEND="${RDEPEND}
-	dev-python/setuptools[${PYTHON_USEDEP}]
 	test? (
 		dev-python/mock[${PYTHON_USEDEP}]
 		dev-python/pytest[${PYTHON_USEDEP}]
 	)"
 
+distutils_enable_tests pytest
+# KeyError: 'refdomain' with sphinx-1
+# AttributeError: 'Sphinx' object has no attribute 'add_description_unit' with sphinx>1
+#distutils_enable_sphinx doc
+
 python_prepare_all() {
 	# test requires network access (bug #425694)
 	rm tests/test_builtin_trackers.py || die
@@ -36,27 +43,9 @@ python_prepare_all() {
 	# and virtualx.eclass.
 	rm tests/test_stylesheet.py || die
 
-	# Avoid redundant objects.inv from downloading, sed more lightweight
-	if use doc; then
-		sed -e "s:^intersphinx_mapping:#intersphinx_mapping:" \
-			-e "s:^                       'sphinx':#:" \
-			-i doc/conf.py || die
-	fi
-
 	distutils-r1_python_prepare_all
 }
 
-python_compile_all() {
-	if use doc; then
-		emake -C doc html
-		HTML_DOCS=( doc/_build/html/. )
-	fi
-}
-
-python_test() {
-	py.test || die
-}
-
 python_install_all() {
 	distutils-r1_python_install_all
 	find "${ED}" -name '*.pth' -delete || die


             reply	other threads:[~2020-07-17  4:14 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-17  4:14 Matt Turner [this message]
  -- strict thread matches above, loose matches on Subject: below --
2020-12-13 12:15 [gentoo-commits] repo/gentoo:master commit in: dev-python/sphinxcontrib-issuetracker/ Michał Górny
2020-12-13 12:15 Michał Górny
2020-12-13  8:54 Sam James
2020-12-13  8:53 Sam James
2020-12-13  8:51 Sam James
2020-12-04 12:38 Michał Górny
2020-12-03 17:31 Michał Górny
2020-07-30 20:54 Sergei Trofimovich
2020-07-22  7:31 Sergei Trofimovich
2020-07-19 13:42 Sergei Trofimovich
2020-07-19 13:39 Sergei Trofimovich
2020-04-26 15:51 Michał Górny
2020-03-17 10:13 Michał Górny
2017-08-02 16:14 Mike Gilbert
2017-08-02 16:14 Mike Gilbert
2017-08-02 16:14 Mike Gilbert
2017-08-02 13:57 Sebastien Fabbro
2017-08-02  4:06 Sebastien Fabbro
2017-07-30  1:57 Mike Gilbert
2017-03-10 20:40 David Seifert
2016-04-16 16:13 Michael Palimaka
2016-03-25  3:43 Matt Thode
2015-10-14 16:42 Justin Lecher
2015-09-20 16:46 Tobias Klausmann
2015-09-06 18:38 Jeroen Roovers
2015-09-06  9:52 Jeroen Roovers

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=1594959232.7951b3a633cca194bdfb42ebb6862f5815ebb489.mattst88@gentoo \
    --to=mattst88@gentoo.org \
    --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