kde-misc/synaptiks: drop usage of dev-python/sphinxcontrib-issuetracker
authorMichael Palimaka <kensington@gentoo.org>
Sat, 16 Apr 2016 16:11:55 +0000 (02:11 +1000)
committerMichael Palimaka <kensington@gentoo.org>
Sat, 16 Apr 2016 16:13:23 +0000 (02:13 +1000)
Gentoo-bug: 527188

Package-Manager: portage-2.2.28

kde-misc/synaptiks/synaptiks-0.8.1-r4.ebuild

index ff55df7ab448aff2e1a9876fc79308b03e87beb0..645c7cb039eca73c74d348caad5d5325be5a11a4 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -34,10 +34,7 @@ RDEPEND="
 DEPEND="${RDEPEND}
        app-text/docbook-xsl-stylesheets
        sys-devel/gettext
-       doc? (
-               dev-python/sphinx[${PYTHON_USEDEP}]
-               >=dev-python/sphinxcontrib-issuetracker-0.11-r1[${PYTHON_USEDEP}]
-       )
+       doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
 "
 
 PATCHES=(
@@ -45,6 +42,12 @@ PATCHES=(
        "${FILESDIR}/${PN}-0.8.1-removedfeatures.patch"
 )
 
+python_prepare_all() {
+       distutils-r1_python_prepare_all
+
+       sed -i -e "s/, 'sphinxcontrib.issuetracker'//" doc/conf.py || die
+}
+
 python_compile_all() {
        if use doc; then
                einfo "Generating documentation"