blob: 134db4a4a591fb2b18aa919b8dc62930c01c71db (
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.0.ebuild,v 1.1 2010/01/05 15:59:29 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_fails() {
testing() {
PYTHONPATH="build-${PYTHON_ABI}/lib" nosetests-${PYTHON_ABI}
}
python_execute_function testing
}
|