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

Collapse All | Expand All

(-)egenix-mx-base.orig/egenix-mx-base-3.2.3.ebuild (-1 / +19 lines)
Lines 2-8 Link Here
2
# Distributed under the terms of the GNU General Public License v2
2
# Distributed under the terms of the GNU General Public License v2
3
# $Header: /var/cvsroot/gentoo-x86/dev-python/egenix-mx-base/egenix-mx-base-3.2.3.ebuild,v 1.1 2012/03/09 09:54:22 patrick Exp $
3
# $Header: /var/cvsroot/gentoo-x86/dev-python/egenix-mx-base/egenix-mx-base-3.2.3.ebuild,v 1.1 2012/03/09 09:54:22 patrick Exp $
4
4
5
EAPI="3"
5
EAPI="4"
6
PYTHON_DEPEND="2"
6
PYTHON_DEPEND="2"
7
SUPPORT_PYTHON_ABIS="1"
7
SUPPORT_PYTHON_ABIS="1"
8
RESTRICT_PYTHON_ABIS="3.* *-jython 2.7-pypy-*"
8
RESTRICT_PYTHON_ABIS="3.* *-jython 2.7-pypy-*"
Lines 22-27 Link Here
22
RDEPEND=""
22
RDEPEND=""
23
23
24
PYTHON_MODNAME="mx"
24
PYTHON_MODNAME="mx"
25
DISTUTILS_USE_SEPARATE_SOURCE_DIRECTORIES="1"
25
26
26
src_prepare() {
27
src_prepare() {
27
	distutils_src_prepare
28
	distutils_src_prepare
Lines 45-50 Link Here
45
	BASECFLAGS="${CFLAGS}" distutils_src_compile
46
	BASECFLAGS="${CFLAGS}" distutils_src_compile
46
}
47
}
47
48
49
# Do you know a way to condense this?  find . -name test.py | grep exec   {} or something?
50
src_test() {
51
	testing() {
52
		"$(PYTHON)" mx/BeeBase/mxBeeBase/test.py 
53
		"$(PYTHON)" mx/DateTime/mxDateTime/test.py
54
		"$(PYTHON)" mx/Proxy/mxProxy/test.py
55
		"$(PYTHON)" mx/Queue/mxQueue/test.py
56
		"$(PYTHON)" mx/Stack/mxStack/test.py
57
		"$(PYTHON)" mx/TextTools/mxTextTools/test.py
58
		"$(PYTHON)" mx/Tools/mxTools/test.py
59
		"$(PYTHON)" mx/UID/mxUID/test.py
60
		"$(PYTHON)" mx/URL/mxURL/test.py
61
	}
62
	python_execute_function -s testing
63
}
64
48
src_install() {
65
src_install() {
49
	distutils_src_install
66
	distutils_src_install
50
	dohtml -a html -r mx
67
	dohtml -a html -r mx
Lines 59-61 Link Here
59
	}
76
	}
60
	python_execute_function -q installation_of_headers
77
	python_execute_function -q installation_of_headers
61
}
78
}
79

Return to bug 408571