blob: b1459ba82955ab759fc31a342256515e3a6c9c19 (
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
|
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/psutil/psutil-0.2.1.ebuild,v 1.1 2011/05/30 10:00:03 radhermit Exp $
EAPI="3"
PYTHON_DEPEND="*"
SUPPORT_PYTHON_ABIS="1"
inherit distutils
DESCRIPTION="Retrieve information on running processes and system utilization"
HOMEPAGE="http://code.google.com/p/psutil/"
SRC_URI="http://psutil.googlecode.com/files/${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
# A few tests are broken
RESTRICT="test"
src_test() {
testing() {
# Test suite broken with Python 3
[[ "${PYTHON_ABI}" == 3.* ]] && return
PYTHONPATH="$(ls -d build-${PYTHON_ABI}/lib.*)" "$(PYTHON)" test/test_psutil.py
}
python_execute_function testing
}
|