summaryrefslogtreecommitdiff
path: root/net-misc/onioncircuits/onioncircuits-scm.ebuild
blob: 98d17046d50e1c0857a05ea3ceda5c0b6d43e836 (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
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$

EAPI=6

PYTHON_COMPAT=( python{2_7,3_3,3_4,3_5} )

inherit gnome2-utils git-r3 distutils-r1

DESCRIPTION="A GTK application to display Tor circuits and streams"
HOMEPAGE="https://git-tails.immerda.ch/onioncircuits"
EGIT_REPO_URI="git://git.tails.boum.org/onioncircuits"

LICENSE="GPL-3+"
SLOT="0"
KEYWORDS=""
IUSE=""

DEPEND="${PYTHON_DEPS}
	dev-python/python-distutils-extra[${PYTHON_USEDEP}]"
RDEPEND="${PYTHON_DEPS}
	dev-python/pycountry[${PYTHON_USEDEP}]
	dev-python/pygobject[${PYTHON_USEDEP}]
	net-libs/stem[${PYTHON_USEDEP}]
	>=x11-libs/gtk+-3.14.0:3[introspection]"

DOCS=( README README.translators ${FILESDIR}/README.controlport )

pkg_preinst() {
	gnome2_icon_savelist
}

pkg_postinst() {
	gnome2_icon_cache_update
	elog "Onioncircuits needs acces to a ControlSocket or to a ControlPort."
	elog "See \"${EROOT}usr/share/doc/${P}/README.controlport\" for"
	elog "more information."
}

pkg_postrm() {
	gnome2_icon_cache_update
}