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

Collapse All | Expand All

(-)bam.orig/bam-0.2.0.ebuild (-6 / +13 lines)
Lines 4-10 Link Here
4
4
5
EAPI="2"
5
EAPI="2"
6
6
7
inherit eutils
7
inherit eutils python toolchain-funcs
8
8
9
DESCRIPTION="Fast and flexible Lua-based build system"
9
DESCRIPTION="Fast and flexible Lua-based build system"
10
HOMEPAGE="http://matricks.github.com/bam/"
10
HOMEPAGE="http://matricks.github.com/bam/"
Lines 18-25 Link Here
18
18
19
RDEPEND="dev-lang/lua"
19
RDEPEND="dev-lang/lua"
20
DEPEND="${RDEPEND}
20
DEPEND="${RDEPEND}
21
	doc? ( dev-lang/python )
21
        doc? ( =dev-lang/python-2* )
22
	test? ( dev-lang/python )"
22
        test? ( =dev-lang/python-2* )"
23
24
pkg_setup() {
25
	if use doc || use test; then
26
		python_set_active_version 2
27
		python_pkg_setup
28
	fi
29
}
23
30
24
src_prepare() {
31
src_prepare() {
25
	cp "${WORKDIR}"/Makefile "${S}"/Makefile || die "cp failed"
32
	cp "${WORKDIR}"/Makefile "${S}"/Makefile || die "cp failed"
Lines 30-38 Link Here
30
}
37
}
31
38
32
src_compile() {
39
src_compile() {
33
	emake txt2c || die "emake failed"
40
	emake CC=$(tc-getCC) txt2c || die "emake failed"
34
	emake internal_base || die "emake failed"
41
	emake CC=$(tc-getCC) internal_base || die "emake failed"
35
	emake ${PN} || die "emake failed"
42
	emake CC=$(tc-getCC) ${PN} || die "emake failed"
36
43
37
	if use doc; then
44
	if use doc; then
38
		python scripts/gendocs.py || die "doc generation failed"
45
		python scripts/gendocs.py || die "doc generation failed"
(-)bam.orig/bam-0.3.2.ebuild (-4 / +5 lines)
Lines 4-10 Link Here
4
4
5
EAPI="2"
5
EAPI="2"
6
6
7
inherit eutils
7
inherit eutils python toolchain-funcs
8
8
9
DESCRIPTION="Fast and flexible Lua-based build system"
9
DESCRIPTION="Fast and flexible Lua-based build system"
10
HOMEPAGE="http://matricks.github.com/bam/"
10
HOMEPAGE="http://matricks.github.com/bam/"
Lines 26-31 Link Here
26
		python_set_active_version 2
26
		python_set_active_version 2
27
		python_pkg_setup
27
		python_pkg_setup
28
	fi
28
	fi
29
}
29
30
30
src_prepare() {
31
src_prepare() {
31
	cp "${WORKDIR}"/Makefile "${S}"/Makefile || die "cp failed"
32
	cp "${WORKDIR}"/Makefile "${S}"/Makefile || die "cp failed"
Lines 41-49 Link Here
41
}
42
}
42
43
43
src_compile() {
44
src_compile() {
44
	emake txt2c || die "emake failed"
45
	emake CC=$(tc-getCC) txt2c || die "emake failed"
45
	emake internal_base || die "emake failed"
46
	emake CC=$(tc-getCC) internal_base || die "emake failed"
46
	emake ${PN} || die "emake failed"
47
	emake CC=$(tc-getCC) ${PN} || die "emake failed"
47
48
48
	if use doc; then
49
	if use doc; then
49
		python scripts/gendocs.py || die "doc generation failed"
50
		python scripts/gendocs.py || die "doc generation failed"

Return to bug 324371