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/subunit/subunit-0.0.7.ebuild,v 1.3 2012/05/04 15:12:14 patrick Exp $ |
3 |
# $Header: /var/cvsroot/gentoo-x86/dev-python/subunit/subunit-0.0.7.ebuild,v 1.3 2012/05/04 15:12:14 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 |
PYTHON_EXPORT_PHASE_FUNCTIONS="1" |
8 |
PYTHON_EXPORT_PHASE_FUNCTIONS="1" |
Lines 26-31
Link Here
|
26 |
virtual/pkgconfig" |
26 |
virtual/pkgconfig" |
27 |
RESTRICT_PYTHON_ABIS="3.*" |
27 |
RESTRICT_PYTHON_ABIS="3.*" |
28 |
|
28 |
|
|
|
29 |
# Upstream forgot a couple of key files! Package now supports python3 but testtools doesn't |
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 |
} |
36 |
|
29 |
pkg_postinst() { |
37 |
pkg_postinst() { |
30 |
python_mod_optimize subunit |
38 |
python_mod_optimize subunit |
31 |
} |
39 |
} |