1 |
idella4 14/09/24 08:26:07 |
2 |
|
3 |
Modified: metadata.xml ChangeLog |
4 |
Added: glances-2.1.ebuild |
5 |
Log: |
6 |
bump; drop py3.2, add IUSE chart for support of graph charts |
7 |
|
8 |
(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 0xB8072B0D) |
9 |
|
10 |
Revision Changes Path |
11 |
1.7 sys-process/glances/metadata.xml |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-process/glances/metadata.xml?rev=1.7&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-process/glances/metadata.xml?rev=1.7&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-process/glances/metadata.xml?r1=1.6&r2=1.7 |
16 |
|
17 |
Index: metadata.xml |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/sys-process/glances/metadata.xml,v |
20 |
retrieving revision 1.6 |
21 |
retrieving revision 1.7 |
22 |
diff -u -r1.6 -r1.7 |
23 |
--- metadata.xml 19 Jun 2014 02:56:19 -0000 1.6 |
24 |
+++ metadata.xml 24 Sep 2014 08:26:07 -0000 1.7 |
25 |
@@ -9,6 +9,7 @@ |
26 |
<flag name='web'>Enables the web server mode</flag> |
27 |
<flag name='hddtemp'>Enables hard drive temperature monitoring</flag> |
28 |
<flag name='snmp'>Enables SNMP support</flag> |
29 |
+ <flag name='chart'>Enables support of graph charts via matplotlib</flag> |
30 |
</use> |
31 |
<upstream> |
32 |
<remote-id type="pypi">Glances</remote-id> |
33 |
|
34 |
|
35 |
|
36 |
1.20 sys-process/glances/ChangeLog |
37 |
|
38 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-process/glances/ChangeLog?rev=1.20&view=markup |
39 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-process/glances/ChangeLog?rev=1.20&content-type=text/plain |
40 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-process/glances/ChangeLog?r1=1.19&r2=1.20 |
41 |
|
42 |
Index: ChangeLog |
43 |
=================================================================== |
44 |
RCS file: /var/cvsroot/gentoo-x86/sys-process/glances/ChangeLog,v |
45 |
retrieving revision 1.19 |
46 |
retrieving revision 1.20 |
47 |
diff -u -r1.19 -r1.20 |
48 |
--- ChangeLog 7 Jul 2014 14:49:56 -0000 1.19 |
49 |
+++ ChangeLog 24 Sep 2014 08:26:07 -0000 1.20 |
50 |
@@ -1,6 +1,12 @@ |
51 |
# ChangeLog for sys-process/glances |
52 |
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
53 |
-# $Header: /var/cvsroot/gentoo-x86/sys-process/glances/ChangeLog,v 1.19 2014/07/07 14:49:56 idella4 Exp $ |
54 |
+# $Header: /var/cvsroot/gentoo-x86/sys-process/glances/ChangeLog,v 1.20 2014/09/24 08:26:07 idella4 Exp $ |
55 |
+ |
56 |
+*glances-2.1 (24 Sep 2014) |
57 |
+ |
58 |
+ 24 Sep 2014; Ian Delaney <idella4@g.o> +glances-2.1.ebuild, |
59 |
+ metadata.xml: |
60 |
+ bump; drop py3.2, add IUSE chart for support of graph charts |
61 |
|
62 |
*glances-2.0.1 (07 Jul 2014) |
63 |
|
64 |
|
65 |
|
66 |
|
67 |
1.1 sys-process/glances/glances-2.1.ebuild |
68 |
|
69 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-process/glances/glances-2.1.ebuild?rev=1.1&view=markup |
70 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-process/glances/glances-2.1.ebuild?rev=1.1&content-type=text/plain |
71 |
|
72 |
Index: glances-2.1.ebuild |
73 |
=================================================================== |
74 |
# Copyright 1999-2014 Gentoo Foundation |
75 |
# Distributed under the terms of the GNU General Public License v2 |
76 |
# $Header: /var/cvsroot/gentoo-x86/sys-process/glances/glances-2.1.ebuild,v 1.1 2014/09/24 08:26:07 idella4 Exp $ |
77 |
|
78 |
EAPI=5 |
79 |
|
80 |
PYTHON_COMPAT=( python{2_7,3_3,3_4} ) |
81 |
PYTHON_REQ_USE="ncurses" |
82 |
|
83 |
inherit distutils-r1 linux-info |
84 |
|
85 |
MYPN=Glances |
86 |
MYP=${MYPN}-${PV} |
87 |
|
88 |
DESCRIPTION="CLI curses based monitoring tool" |
89 |
HOMEPAGE="https://github.com/nicolargo/glances" |
90 |
SRC_URI="mirror://pypi/${MYPN:0:1}/${MYPN}/${MYP}.tar.gz" |
91 |
|
92 |
LICENSE="LGPL-3" |
93 |
SLOT="0" |
94 |
KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~x86-linux" |
95 |
IUSE="chart doc hddtemp snmp web" |
96 |
|
97 |
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" |
98 |
# There is another optional extra batinfo, absent from portage |
99 |
RDEPEND="${DEPEND} |
100 |
>=dev-python/psutil-2.0.0[${PYTHON_USEDEP}] |
101 |
hddtemp? ( app-admin/hddtemp ) |
102 |
snmp? ( dev-python/pysnmp[${PYTHON_USEDEP}] ) |
103 |
web? ( dev-python/bottle[${PYTHON_USEDEP}] ) |
104 |
chart? ( dev-python/matplotlib[${PYTHON_USEDEP}] )" |
105 |
|
106 |
CONFIG_CHECK="~TASK_IO_ACCOUNTING ~TASK_DELAY_ACCT ~TASKSTATS" |
107 |
|
108 |
S="${WORKDIR}/${MYP}" |
109 |
|
110 |
pkg_setup() { |
111 |
linux-info_pkg_setup |
112 |
} |
113 |
|
114 |
python_prepare_all() { |
115 |
sed -e "s:share/doc/glances:share/doc/${PF}:g" \ |
116 |
-e "s/'COPYING',//" \ |
117 |
-e "s:/etc:${EPREFIX}/etc:" \ |
118 |
-i setup.py || die |
119 |
distutils-r1_python_prepare_all |
120 |
} |
121 |
|
122 |
python_install_all() { |
123 |
distutils-r1_python_install_all |
124 |
if use doc; then |
125 |
mkdir "${D}"usr/share/doc/${P}/html || die |
126 |
mv "${D}"usr/share/doc/${P}/{glances-doc.html,images/} "${D}"usr/share/doc/${P}/html/ || die |
127 |
else |
128 |
rm -rf "${D}"usr/share/doc/${P}/{glances-doc.html,images/} || die |
129 |
fi |
130 |
} |
131 |
|
132 |
pkg_postinst() { |
133 |
if [[ -z ${REPLACING_VERSIONS} ]]; then |
134 |
elog "${PN} can gain additional functionality with following packages:" |
135 |
elog " dev-python/jinja - export statistics to HTML" |
136 |
elog " app-admin/hddtemp - monitor hard drive temperatures" |
137 |
fi |
138 |
} |