blob: 3db2e33b2b6a9153636867f4f3b6ae6fe10fa3e3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-util/ninja-ide/ninja-ide-2.3.ebuild,v 1.1 2013/07/08 18:10:57 hasufell Exp $
# XXX: tests
EAPI=5
PYTHON_COMPAT=( python2_6 python2_7 python3_1 python3_2 python3_3 )
inherit eutils gnome2-utils distutils-r1 vcs-snapshot
DESCRIPTION="Ninja-IDE Is Not Just Another IDE"
HOMEPAGE="http://www.ninja-ide.org"
SRC_URI="https://github.com/ninja-ide/ninja-ide/tarball/v${PV} -> ${P}.tar.gz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
RDEPEND="
dev-python/PyQt4[X,declarative,webkit,${PYTHON_USEDEP}]
dev-python/pyinotify[${PYTHON_USEDEP}]
virtual/python-argparse[${PYTHON_USEDEP}]
virtual/python-json[${PYTHON_USEDEP}]"
DEPEND="${RDEPEND}"
PATCHES=(
"${FILESDIR}"/${P}-syntax.patch
"${FILESDIR}"/${P}-python2_6.patch
)
python_install_all() {
distutils-r1_python_install_all
newicon -s 256 icon.png ${PN}.png
make_desktop_entry ${PN} "NINJA-IDE"
}
pkg_preinst() {
gnome2_icon_savelist
}
pkg_postinst() {
gnome2_icon_cache_update
}
pkg_postrm() {
gnome2_icon_cache_update
}
|