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

Collapse All | Expand All

(-)subunit.orig/subunit-0.0.8.ebuild (-3 / +11 lines)
Lines 2-9 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/subunit/subunit-0.0.8.ebuild,v 1.3 2012/05/04 15:12:14 patrick Exp $
3
# $Header: /var/cvsroot/gentoo-x86/dev-python/subunit/subunit-0.0.8.ebuild,v 1.3 2012/05/04 15:12:14 patrick Exp $
4
4
5
EAPI="3"
5
EAPI="4"
6
PYTHON_DEPEND="2"
7
SUPPORT_PYTHON_ABIS="1"
6
SUPPORT_PYTHON_ABIS="1"
8
PYTHON_EXPORT_PHASE_FUNCTIONS="1"
7
PYTHON_EXPORT_PHASE_FUNCTIONS="1"
9
8
Lines 24-30 Link Here
24
	dev-libs/check
23
	dev-libs/check
25
	dev-util/cppunit
24
	dev-util/cppunit
26
	virtual/pkgconfig"
25
	virtual/pkgconfig"
27
RESTRICT_PYTHON_ABIS="3.*"
26
27
# ooopsie, they forgot a couple of files!!!!
28
# Arfrever suggested to add also the setup.py, filters/{subunit-notify,subunit2csv}
29
# though works without them. Now supports python3
30
# https://bugs.launchpad.net/subunit/+bug/996275
31
src_prepare() {
32
	cp "${FILESDIR}"/test_run.py python/subunit/tests || die
33
	cp "${FILESDIR}"/filters.py python/subunit || die
34
	python_src_prepare
35
}
28
36
29
pkg_postinst() {
37
pkg_postinst() {
30
	python_mod_optimize subunit
38
	python_mod_optimize subunit

Return to bug 415233