summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2017-03-10 21:18:55 +0100
committerDavid Seifert <soap@gentoo.org>2017-03-10 21:40:10 +0100
commit0018b296d729034a9c7518ec8e6efd0927c9a13f (patch)
treef5b2d2272f452140023f25b73677fe69361a9bcf /dev-python/sphinxcontrib-issuetracker
parentdev-python/dbus-python: Add python3_6 to PYTHON_COMPAT (diff)
downloadgentoo-0018b296d729034a9c7518ec8e6efd0927c9a13f.tar.gz
gentoo-0018b296d729034a9c7518ec8e6efd0927c9a13f.tar.bz2
gentoo-0018b296d729034a9c7518ec8e6efd0927c9a13f.zip
dev-python/sphinxcontrib-issuetracker: Add py3.6
* Port to EAPI 6 Bug: https://bugs.gentoo.org/show_bug.cgi?id=612244 Package-Manager: Portage-2.3.4, Repoman-2.3.2
Diffstat (limited to 'dev-python/sphinxcontrib-issuetracker')
-rw-r--r--dev-python/sphinxcontrib-issuetracker/sphinxcontrib-issuetracker-0.11-r1.ebuild25
1 files changed, 13 insertions, 12 deletions
diff --git a/dev-python/sphinxcontrib-issuetracker/sphinxcontrib-issuetracker-0.11-r1.ebuild b/dev-python/sphinxcontrib-issuetracker/sphinxcontrib-issuetracker-0.11-r1.ebuild
index b99ab711191d..f00de9e770b4 100644
--- a/dev-python/sphinxcontrib-issuetracker/sphinxcontrib-issuetracker-0.11-r1.ebuild
+++ b/dev-python/sphinxcontrib-issuetracker/sphinxcontrib-issuetracker-0.11-r1.ebuild
@@ -1,8 +1,9 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
-PYTHON_COMPAT=( python{2_7,3_4,3_5} pypy )
+EAPI=6
+
+PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} pypy )
inherit distutils-r1
@@ -13,11 +14,11 @@ 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 ~sh ~sparc x86"
-
IUSE="doc test"
-RDEPEND=">=dev-python/requests-0.13[${PYTHON_USEDEP}]
- >=dev-python/sphinx-1.1[${PYTHON_USEDEP}]"
+RDEPEND="
+ >=dev-python/requests-0.13[${PYTHON_USEDEP}]
+ >=dev-python/sphinx-1.1[${PYTHON_USEDEP}]"
DEPEND="${RDEPEND}
dev-python/setuptools[${PYTHON_USEDEP}]
test? (
@@ -39,17 +40,17 @@ python_prepare_all() {
-e "s:^ 'sphinx':#:" \
-i doc/conf.py || die
fi
+
+ distutils-r1_python_prepare_all
}
python_compile_all() {
- use doc && emake -C doc html
+ if use doc; then
+ emake -C doc html
+ HTML_DOCS=( doc/_build/html/. )
+ fi
}
python_test() {
py.test || die
}
-
-python_install_all() {
- use doc && local HTML_DOCS=( doc/_build/html )
- distutils-r1_python_install_all
-}