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

Collapse All | Expand All

(-)/usr/portage/dev-python/soya/soya-0.10.2.ebuild (-39 / +9 lines)
Lines 1-16 Link Here
1
# Copyright 1999-2006 Gentoo Foundation
1
# Copyright 1999-2006 Gentoo Foundation
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/soya/soya-0.10.2.ebuild,v 1.1 2006/04/26 18:23:47 fserb Exp $
3
# $Header: Exp $
4
4
5
inherit distutils
5
inherit distutils
6
6
7
MY_P=${P/soya/Soya}
7
MY_P=${P/soya/Soya}
8
MY_PN=${PN/soya/Soya}
8
MY_PN=${PN/soya/Soya}
9
DESCRIPTION="A high-level 3D engine for Python, designed with games in mind"
9
DESCRIPTION="A high-level 3D engine for Python, designed with games in mind"
10
HOMEPAGE="http://oomadness.nekeme.net/Soya/FrontPage"
10
HOMEPAGE="http://www.soya3d.org/"
11
SRC_URI="http://download.gna.org/soya/${MY_P}.tar.bz2
11
SRC_URI="http://download.gna.org/soya/${MY_P}.tar.bz2
12
	doc? ( http://download.gna.org/soya/${MY_PN}Tutorial-${PV}.tar.bz2 )
12
	doc? ( http://download.gna.org/soya/${MY_PN}Tutorial-0.10.2.tar.bz2 )
13
	examples? ( http://download.gna.org/soya/${MY_PN}Tutorial-${PV}.tar.bz2 )"
13
	examples? ( http://download.gna.org/soya/${MY_PN}Tutorial-0.10.2.tar.bz2 )"
14
14
15
LICENSE="GPL-2"
15
LICENSE="GPL-2"
16
SLOT="0"
16
SLOT="0"
Lines 28-35 Link Here
28
	>=media-libs/glew-1.3.3
28
	>=media-libs/glew-1.3.3
29
	>=media-libs/freetype-2.1.5
29
	>=media-libs/freetype-2.1.5
30
	>=media-libs/libsdl-1.2.8
30
	>=media-libs/libsdl-1.2.8
31
	>=media-libs/libpng-1.2.8
31
	>=media-libs/libpng-1.2.8"
32
	ode? ( >=dev-games/ode-0.5 )"
33
32
34
33
35
RDEPEND="${DEPEND}
34
RDEPEND="${DEPEND}
Lines 40-47 Link Here
40
39
41
src_compile() {
40
src_compile() {
42
41
43
	rm ${S}/pudding/test.py	# This file shouldn't be installed
44
45
	if ! use ode; then
42
	if ! use ode; then
46
		sed -i -e "s/^\(USE_ODE = \).*$/\1False/" setup.py || die "sed install.py failed"
43
		sed -i -e "s/^\(USE_ODE = \).*$/\1False/" setup.py || die "sed install.py failed"
47
	fi
44
	fi
Lines 52-90 Link Here
52
	distutils_src_install
49
	distutils_src_install
53
	if use doc; then
50
	if use doc; then
54
		cd ${WORKDIR}/${MY_PN}Tutorial-${PV}
51
		cd ${WORKDIR}/${MY_PN}Tutorial-${PV}
55
		insinto /usr/share/${PN}/doc
52
		insinto /usr/share/doc/${PF}/docs
56
		doins doc/*
53
		doins -r doc/*
57
		insinto /usr/share/${PN}/doc/blendertut
58
		doins doc/blendertut/*
59
		insinto /usr/share/${PN}/doc/pudding
60
		doins doc/pudding/*
61
	fi
54
	fi
62
	if use examples; then
55
	if use examples; then
63
		cd ${WORKDIR}/${MY_PN}Tutorial-${PV}
56
		cd ${WORKDIR}/${MY_PN}Tutorial-${PV}
64
		insinto /usr/share/${PN}/tutorial
57
		insinto /usr/share/doc/${PF}/examples
65
		doins tutorial/*
58
		doins -r tutorial/*
66
		insinto /usr/share/${PN}/tutorial/results
67
		doins tutorial/results/*
68
		insinto /usr/share/${PN}/tutorial/data/blender
69
		doins tutorial/data/blender/*
70
		insinto /usr/share/${PN}/tutorial/data/images
71
		doins tutorial/data/images/*
72
		insinto /usr/share/${PN}/tutorial/data/levels
73
		doins tutorial/data/levels/*
74
		insinto /usr/share/${PN}/tutorial/data/ms3d
75
		doins tutorial/data/ms3d/*
76
		insinto /usr/share/${PN}/tutorial/data/shapes
77
		doins tutorial/data/shapes/*
78
		insinto /usr/share/${PN}/tutorial/data/shapes/balazar
79
		doins tutorial/data/shapes/balazar/*
80
		insinto /usr/share/${PN}/tutorial/data/sounds
81
		doins tutorial/data/sounds/*
82
		insinto /usr/share/${PN}/tutorial/data/svg
83
		doins tutorial/data/svg/*
84
		insopts -m0666
85
		insinto /usr/share/${PN}/tutorial/data/worlds
86
		doins tutorial/data/worlds/*
87
		insinto /usr/share/${PN}/tutorial/data/materials
88
		doins tutorial/data/materials/*
89
	fi
59
	fi
90
}
60
}

Return to bug 132067