Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 415419 | Differences between
and this patch

Collapse All | Expand All

(-)../logilab-constraint.orig/logilab-constraint-0.5.0.ebuild (-3 / +24 lines)
Lines 6-18 Link Here
6
PYTHON_DEPEND="2"
6
PYTHON_DEPEND="2"
7
SUPPORT_PYTHON_ABIS="1"
7
SUPPORT_PYTHON_ABIS="1"
8
RESTRICT_PYTHON_ABIS="3.*"
8
RESTRICT_PYTHON_ABIS="3.*"
9
9
DISTUTILS_SRC_TEST=nosetests
10
inherit distutils
10
inherit distutils
11
11
12
MY_P="${P#logilab-}"
13
DESCRIPTION="A finite domain constraints solver written in 100% pure Python"
12
DESCRIPTION="A finite domain constraints solver written in 100% pure Python"
14
HOMEPAGE="http://www.logilab.org/projects/constraint/"
13
HOMEPAGE="http://www.logilab.org/projects/constraint/"
15
SRC_URI="ftp://ftp.logilab.org/pub/constraint/${MY_P}.tar.gz"
14
SRC_URI="ftp://ftp.logilab.org/pub/constraint/${P}.tar.gz"
16
15
17
LICENSE="GPL-2"
16
LICENSE="GPL-2"
18
SLOT="0"
17
SLOT="0"
Lines 40-42 Link Here
40
		doins -r examples
39
		doins -r examples
41
	fi
40
	fi
42
}
41
}
42
43
# phase works but PYTHONPATH is somehow hard coded to import from an 
44
# installed set of modules. Requires emerge without tests, then run tests.
45
#src_test() {
46
#        testing() {
47
#                local exit_status=0 test
48
#                pushd build-${PYTHON_ABI}/lib/logilab/constraint/test/ > /dev/null || die
49
#		PYTHONPATH="build-${PYTHON_ABI}/lib/"
50
#                for test in [a-z]*.py
51
#                do
52
#                        if ! "$(PYTHON)" ${test}; then
53
#                                eerror "test "${test}" failed"
54
#                                exit_status="1"
55
#                        else
56
#                                einfo "test "${test}" passed OK"
57
#                        fi
58
#                done
59
#                popd > /dev/null
60
#                return ${exit_status}
61
#        }
62
#        python_execute_function testing
63
#}	

Return to bug 415419