commit:     3d359cc136d8b84619a7f2eec153fb9a266ba9c7
Author:     Louis Sautier <sautier.louis <AT> gmail <DOT> com>
AuthorDate: Wed Apr 13 12:47:57 2016 +0000
Commit:     Ian Delaney <idella4 <AT> gentoo <DOT> org>
CommitDate: Thu Apr 14 01:03:42 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3d359cc1

www-apps/klaus: add ctags support

Package-Manager: portage-2.2.28
Closes: https://github.com/gentoo/gentoo/pull/1255

Signed-off-by: Ian Delaney <idella4 <AT> gentoo.org>

 www-apps/klaus/klaus-0.8.0.ebuild | 4 ++++
 www-apps/klaus/metadata.xml       | 3 +++
 2 files changed, 7 insertions(+)

diff --git a/www-apps/klaus/klaus-0.8.0.ebuild 
b/www-apps/klaus/klaus-0.8.0.ebuild
index 08b9749..09d638b 100644
--- a/www-apps/klaus/klaus-0.8.0.ebuild
+++ b/www-apps/klaus/klaus-0.8.0.ebuild
@@ -15,6 +15,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 LICENSE="ISC"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
+IUSE="ctags"
 
 RDEPEND="
        dev-python/six[${PYTHON_USEDEP}]
@@ -23,5 +24,8 @@ RDEPEND="
        >=dev-python/dulwich-0.12.0[${PYTHON_USEDEP}]
        dev-python/httpauth[${PYTHON_USEDEP}]
        dev-python/humanize[${PYTHON_USEDEP}]
+       ctags? (
+               dev-python/python-ctags[${PYTHON_USEDEP}]
+       )
 "
 DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"

diff --git a/www-apps/klaus/metadata.xml b/www-apps/klaus/metadata.xml
index 5065745..10d370c 100644
--- a/www-apps/klaus/metadata.xml
+++ b/www-apps/klaus/metadata.xml
@@ -19,4 +19,7 @@
                <remote-id type="github">jonashaag/klaus</remote-id>
                <bugs-to>https://github.com/jonashaag/klaus/issues</bugs-to>
        </upstream>
+       <use>
+               <flag name="ctags">Enable support for Exuberant ctags; makes 
all source code symbols hyperlinks to their definitions</flag>
+       </use>
 </pkgmetadata>

Reply via email to