/[gentoo-x86]/net-misc/arm/arm-1.4.5.0-r2.ebuild
Gentoo

Contents of /net-misc/arm/arm-1.4.5.0-r2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Mon Jan 26 10:40:02 2015 UTC (5 years, 8 months ago) by ago
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +2 -2 lines
Stable for x86, wrt bug #531970

(Portage version: 2.2.14/cvs/Linux x86_64, RepoMan options: --include-arches="x86", signed Manifest commit with key 7194459F)

1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-misc/arm/arm-1.4.5.0-r2.ebuild,v 1.3 2015/01/02 20:12:12 mrueg Exp $
4
5 EAPI=5
6
7 PYTHON_COMPAT=( python2_7 )
8 PYTHON_REQ_USE='ncurses'
9 DISTUTILS_SINGLE_IMPL=1
10
11 inherit distutils-r1
12
13 DESCRIPTION="A ncurses-based status monitor for Tor relays"
14 HOMEPAGE="http://www.atagar.com/arm/"
15 SRC_URI="http://www.atagar.com/arm/resources/static/${P}.tar.bz2"
16
17 LICENSE="GPL-3"
18 SLOT="0"
19 KEYWORDS="amd64 x86 ~x86-fbsd"
20 IUSE=""
21
22 # Note: While we depend on net-misc/tor, we strictly speaking
23 # don't have to because it could run on a different machine.
24 RDEPEND="
25 >=net-misc/tor-0.2.1.27
26 app-admin/sudo
27 sys-process/lsof
28 net-dns/bind-tools
29 virtual/man"
30 DEPEND="${RDEPEND}"
31
32 S="${WORKDIR}/${PN}"
33
34 python_prepare_all() {
35 python_fix_shebang .
36
37 distutils-r1_python_prepare_all
38 }
39
40 python_install() {
41 distutils-r1_python_install \
42 --docPath "${EPREFIX}/usr/share/doc/${PF}"
43
44 sed -i -e "s:python:${EPYTHON}:" "${ED}"usr/bin/arm || die
45 }
46
47 pkg_postinst() {
48 elog "Some graphing data issues have been noted in testing"
49 elog "when run as root. It is not recommended to run arm as"
50 elog "root until those issues have been isolated and fixed."
51 elog
52 elog "Trouble with graphs under app-misc/screen? Try:"
53 elog 'TERM="rxvt-unicode" arm'
54 }

  ViewVC Help
Powered by ViewVC 1.1.20