blob: a881e27f473aaf86f3f2bdcca5f9482ca6c788dd (
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-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/promise/promise-0.2.1.ebuild,v 1.1 2010/01/06 12:04:59 djc Exp $
EAPI="2"
SUPPORT_PYTHON_ABIS="1"
inherit distutils
DESCRIPTION="Bytecode optimisation using staticness assertions."
HOMEPAGE="http://github.com/rfk/promise/ http://pypi.python.org/pypi/promise"
SRC_URI="http://pypi.python.org/packages/source/p/${PN}/${PF}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND=""
RDEPEND=""
RESTRICT_PYTHON_ABIS="3.*"
DOCS="LICENSE.txt README.txt"
# test suite fails, http://github.com/rfk/promise/issues/#issue/2
src_test() {
testing() {
PROMISE_SKIP_TIMING_TESTS=1 PYTHONPATH="build-${PYTHON_ABI}/lib" nosetests-${PYTHON_ABI}
}
python_execute_function testing
}
|