Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 500010
Collapse All | Expand All

(-)file_not_specified_in_diff (-11 / +20 lines)
Line  Link Here
0
-- hgview-1.7.1-r1.ebuild
0
++ hgview-1.8.0.ebuild
Lines 1-26 Link Here
1
# Copyright 1999-2013 Gentoo Foundation
1
# Copyright 1999-2013 Gentoo Foundation
2
# Distributed under the terms of the GNU General Public License v2
2
# Distributed under the terms of the GNU General Public License v2
3
# $Header: /var/cvsroot/gentoo-x86/dev-vcs/hgview/hgview-1.7.1-r1.ebuild,v 1.1 2013/04/16 18:33:50 pinkbyte Exp $
3
# $Header: $
4
4
5
EAPI=5
5
EAPI=5
6
7
PYTHON_COMPAT=( python2_7 )
6
PYTHON_COMPAT=( python2_7 )
8
DISTUTILS_IN_SOURCE_BUILD=1
7
DISTUTILS_IN_SOURCE_BUILD=1
9
inherit distutils-r1
8
inherit distutils-r1
10
9
11
DESCRIPTION="PyQt4-based Mercurial log navigator"
10
DESCRIPTION="A Mercurial interactive history viewer"
12
HOMEPAGE="http://www.logilab.org/project/hgview"
11
HOMEPAGE="http://www.logilab.org/project/hgview/ https://pypi.python.org/pypi/hgview/"
13
SRC_URI="http://ftp.logilab.org/pub/${PN}/${P}.tar.gz"
12
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
14
13
15
LICENSE="GPL-2"
14
LICENSE="GPL-2"
16
SLOT="0"
15
SLOT="0"
17
KEYWORDS="~amd64 ~x86"
16
KEYWORDS="~amd64 ~x86"
18
IUSE="doc"
17
IUSE="doc ncurses +qt4"
18
REQUIRED_USE="|| ( ncurses qt4 )"
19
19
20
RDEPEND="dev-python/docutils[${PYTHON_USEDEP}]
20
RDEPEND="dev-vcs/mercurial[${PYTHON_USEDEP}]
21
	dev-python/PyQt4[${PYTHON_USEDEP},X]
21
	ncurses? (
22
	dev-python/qscintilla-python[${PYTHON_USEDEP}]
22
		>=dev-python/urwid-1.0.0[${PYTHON_USEDEP}]
23
	dev-vcs/mercurial[${PYTHON_USEDEP}]"
23
		dev-python/pyinotify[${PYTHON_USEDEP}]
24
		dev-python/pygments[${PYTHON_USEDEP}]
25
	)
26
	qt4? (
27
		dev-python/docutils[${PYTHON_USEDEP}]
28
		dev-python/PyQt4[X,${PYTHON_USEDEP}]
29
		dev-python/qscintilla-python[${PYTHON_USEDEP}]
30
	)"
24
DEPEND="${RDEPEND}
31
DEPEND="${RDEPEND}
25
	doc? (
32
	doc? (
26
		app-text/asciidoc
33
		app-text/asciidoc
Lines 30-35 Link Here
30
python_configure_all() {
37
python_configure_all() {
31
	mydistutilsargs=(
38
	mydistutilsargs=(
32
		build $(use doc || echo --no-doc)
39
		build $(use doc || echo --no-doc)
40
		build $(use ncurses || echo --no-curses)
41
		build $(use qt4 || echo --no-qt)
33
	)
42
	)
34
}
43
}
35
44

Return to bug 500010