Lines 3-9
Link Here
|
3 |
|
3 |
|
4 |
EAPI=6 |
4 |
EAPI=6 |
5 |
|
5 |
|
6 |
inherit autotools linux-info |
6 |
PYTHON_COMPAT=( python2_7 ) |
|
|
7 |
|
8 |
inherit autotools linux-info python-single-r1 |
7 |
|
9 |
|
8 |
DESCRIPTION="interactive process viewer" |
10 |
DESCRIPTION="interactive process viewer" |
9 |
HOMEPAGE="http://hisham.hm/htop/" |
11 |
HOMEPAGE="http://hisham.hm/htop/" |
Lines 16-23
IUSE="kernel_FreeBSD kernel_linux openvz unicode vserver"
Link Here
|
16 |
|
18 |
|
17 |
RDEPEND="sys-libs/ncurses:0=[unicode?]" |
19 |
RDEPEND="sys-libs/ncurses:0=[unicode?]" |
18 |
DEPEND="${RDEPEND} |
20 |
DEPEND="${RDEPEND} |
|
|
21 |
${PYTHON_DEPS} |
19 |
virtual/pkgconfig" |
22 |
virtual/pkgconfig" |
20 |
|
23 |
|
|
|
24 |
REQUIRED_USE=${PYTHON_REQUIRED_USE} |
25 |
|
21 |
DOCS=( ChangeLog README ) |
26 |
DOCS=( ChangeLog README ) |
22 |
|
27 |
|
23 |
CONFIG_CHECK="~TASKSTATS ~TASK_XACCT ~TASK_IO_ACCOUNTING ~CGROUPS" |
28 |
CONFIG_CHECK="~TASKSTATS ~TASK_XACCT ~TASK_IO_ACCOUNTING ~CGROUPS" |
Lines 32-37
pkg_setup() {
Link Here
|
32 |
ewarn "what files), you must have sys-process/lsof installed." |
37 |
ewarn "what files), you must have sys-process/lsof installed." |
33 |
fi |
38 |
fi |
34 |
|
39 |
|
|
|
40 |
python-single-r1_pkg_setup |
35 |
linux-info_pkg_setup |
41 |
linux-info_pkg_setup |
36 |
} |
42 |
} |
37 |
|
43 |
|
Lines 40-45
src_prepare() {
Link Here
|
40 |
|
46 |
|
41 |
default |
47 |
default |
42 |
eautoreconf |
48 |
eautoreconf |
|
|
49 |
python_fix_shebang scripts/MakeHeader.py |
43 |
} |
50 |
} |
44 |
|
51 |
|
45 |
src_configure() { |
52 |
src_configure() { |