Lines 3-11
Link Here
|
3 |
# $Header: /var/cvsroot/gentoo-x86/dev-cpp/gtest/gtest-1.6.0-r2.ebuild,v 1.2 2013/06/19 18:44:11 bicatali Exp $ |
3 |
# $Header: /var/cvsroot/gentoo-x86/dev-cpp/gtest/gtest-1.6.0-r2.ebuild,v 1.2 2013/06/19 18:44:11 bicatali Exp $ |
4 |
|
4 |
|
5 |
EAPI="5" |
5 |
EAPI="5" |
6 |
PYTHON_DEPEND="2" |
|
|
7 |
|
6 |
|
8 |
inherit eutils python autotools-multilib |
7 |
# Python is required for tests and some dist tasks. |
|
|
8 |
PYTHON_COMPAT=( python{2_6,2_7} ) |
9 |
|
10 |
inherit eutils python-any-r1 autotools-multilib |
9 |
|
11 |
|
10 |
DESCRIPTION="Google C++ Testing Framework" |
12 |
DESCRIPTION="Google C++ Testing Framework" |
11 |
HOMEPAGE="http://code.google.com/p/googletest/" |
13 |
HOMEPAGE="http://code.google.com/p/googletest/" |
Lines 16-22
SLOT="0"
Link Here
|
16 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~amd64-linux ~x86-fbsd ~x86-linux ~ppc-macos" |
18 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~amd64-linux ~x86-fbsd ~x86-linux ~ppc-macos" |
17 |
IUSE="examples static-libs" |
19 |
IUSE="examples static-libs" |
18 |
|
20 |
|
19 |
DEPEND="app-arch/unzip" |
21 |
DEPEND="app-arch/unzip |
|
|
22 |
test? ( ${PYTHON_DEPS} )" |
20 |
RDEPEND="" |
23 |
RDEPEND="" |
21 |
|
24 |
|
22 |
PATCHES=( |
25 |
PATCHES=( |
Lines 26-33
PATCHES=(
Link Here
|
26 |
AUTOTOOLS_AUTORECONF="1" |
29 |
AUTOTOOLS_AUTORECONF="1" |
27 |
|
30 |
|
28 |
pkg_setup() { |
31 |
pkg_setup() { |
29 |
python_pkg_setup |
32 |
use test && python-any-r1_pkg_setup |
30 |
python_set_active_version 2 |
|
|
31 |
} |
33 |
} |
32 |
|
34 |
|
33 |
src_prepare() { |
35 |
src_prepare() { |
Lines 37-44
src_prepare() {
Link Here
|
37 |
Makefile.am || die |
39 |
Makefile.am || die |
38 |
autotools-multilib_src_prepare |
40 |
autotools-multilib_src_prepare |
39 |
|
41 |
|
40 |
python_convert_shebangs -r 2 . |
|
|
41 |
|
42 |
multilib_copy_sources |
42 |
multilib_copy_sources |
43 |
} |
43 |
} |
44 |
|
44 |
|