Gentoo Archives: gentoo-commits

From: "Kacper Kowalik (xarthisius)" <xarthisius@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-process/glances: glances-1.6.1.ebuild ChangeLog glances-1.6.ebuild
Date: Mon, 20 May 2013 18:17:19
Message-Id: 20130520181715.DC6812171D@flycatcher.gentoo.org
1 xarthisius 13/05/20 18:17:15
2
3 Modified: ChangeLog
4 Added: glances-1.6.1.ebuild
5 Removed: glances-1.6.ebuild
6 Log:
7 Version bump, depend properly on python[ncurses] wrt bug 460068 by Albert W. Hopkins <marduk@××××××.net>, check for required kernel options. Drop old
8
9 (Portage version: 2.2.0_alpha174/cvs/Linux x86_64, signed Manifest commit with key 895192F9)
10
11 Revision Changes Path
12 1.6 sys-process/glances/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-process/glances/ChangeLog?rev=1.6&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-process/glances/ChangeLog?rev=1.6&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-process/glances/ChangeLog?r1=1.5&r2=1.6
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/sys-process/glances/ChangeLog,v
21 retrieving revision 1.5
22 retrieving revision 1.6
23 diff -u -r1.5 -r1.6
24 --- ChangeLog 2 Feb 2013 18:07:40 -0000 1.5
25 +++ ChangeLog 20 May 2013 18:17:15 -0000 1.6
26 @@ -1,6 +1,13 @@
27 # ChangeLog for sys-process/glances
28 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/sys-process/glances/ChangeLog,v 1.5 2013/02/02 18:07:40 xarthisius Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/sys-process/glances/ChangeLog,v 1.6 2013/05/20 18:17:15 xarthisius Exp $
31 +
32 +*glances-1.6.1 (20 May 2013)
33 +
34 + 20 May 2013; Kacper Kowalik <xarthisius@g.o> +glances-1.6.1.ebuild,
35 + -glances-1.6.ebuild:
36 + Version bump, depend properly on python[ncurses] wrt bug 460068 by Albert W.
37 + Hopkins <marduk@××××××.net>, check for required kernel options. Drop old
38
39 02 Feb 2013; Kacper Kowalik <xarthisius@g.o> glances-1.6.ebuild:
40 Add missing RDEP=DEP
41
42
43
44 1.1 sys-process/glances/glances-1.6.1.ebuild
45
46 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-process/glances/glances-1.6.1.ebuild?rev=1.1&view=markup
47 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-process/glances/glances-1.6.1.ebuild?rev=1.1&content-type=text/plain
48
49 Index: glances-1.6.1.ebuild
50 ===================================================================
51 # Copyright 1999-2013 Gentoo Foundation
52 # Distributed under the terms of the GNU General Public License v2
53 # $Header: /var/cvsroot/gentoo-x86/sys-process/glances/glances-1.6.1.ebuild,v 1.1 2013/05/20 18:17:15 xarthisius Exp $
54
55 EAPI=5
56 PYTHON_COMPAT=( python{2_6,2_7} )
57 PYTHON_REQ_USE="ncurses"
58
59 inherit distutils-r1 linux-info
60
61 DESCRIPTION="CLI curses based monitoring tool"
62 HOMEPAGE="https://github.com/nicolargo/glances/blob/master/README.md
63 http://pypi.python.org/pypi/Glances"
64 SRC_URI="https://github.com/nicolargo/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
65
66 LICENSE="LGPL-3"
67 SLOT="0"
68 KEYWORDS="~amd64 ~x86"
69 IUSE=""
70
71 DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
72 RDEPEND="${DEPEND}
73 dev-python/psutil[${PYTHON_USEDEP}]"
74
75 CONFIG_CHECK="~TASK_IO_ACCOUNTING ~TASK_DELAY_ACCT ~TASKSTATS"
76
77 pkg_setup() {
78 linux-info_pkg_setup
79 }
80
81 python_prepare_all() {
82 sed -e "s:share/doc/glances:share/doc/${PF}:g" \
83 -e "/COPYING/d" \
84 -e "/etc\/glances/d" \
85 -i setup.py || die
86 distutils-r1_python_prepare_all
87 }
88
89 python_install_all() {
90 insinto /etc/${PN}
91 doins ${PN}/conf/${PN}.conf
92 distutils-r1_python_install_all
93 }
94
95 pkg_postinst() {
96 if [[ -z ${REPLACING_VERSIONS} ]]; then
97 elog "${PN} can gain additional functionality with following packages:"
98 elog " dev-python/jinja - export statistics to HTML"
99 fi
100 }