1 |
patrick 09/09/03 12:25:32 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: cgkit-2.0.0_alpha9.ebuild |
5 |
Log: |
6 |
Bump to alpha9, fixes #282896 |
7 |
(Portage version: 2.2_rc40/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.26 dev-python/cgkit/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/cgkit/ChangeLog?rev=1.26&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/cgkit/ChangeLog?rev=1.26&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/cgkit/ChangeLog?r1=1.25&r2=1.26 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/dev-python/cgkit/ChangeLog,v |
19 |
retrieving revision 1.25 |
20 |
retrieving revision 1.26 |
21 |
diff -u -r1.25 -r1.26 |
22 |
--- ChangeLog 16 Aug 2009 20:42:09 -0000 1.25 |
23 |
+++ ChangeLog 3 Sep 2009 12:25:32 -0000 1.26 |
24 |
@@ -1,6 +1,12 @@ |
25 |
# ChangeLog for dev-python/cgkit |
26 |
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/dev-python/cgkit/ChangeLog,v 1.25 2009/08/16 20:42:09 arfrever Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/dev-python/cgkit/ChangeLog,v 1.26 2009/09/03 12:25:32 patrick Exp $ |
29 |
+ |
30 |
+*cgkit-2.0.0_alpha9 (03 Sep 2009) |
31 |
+ |
32 |
+ 03 Sep 2009; Patrick Lauer <patrick@g.o> |
33 |
+ +cgkit-2.0.0_alpha9.ebuild: |
34 |
+ Bump to alpha9, fixes #282896 |
35 |
|
36 |
16 Aug 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@g.o> |
37 |
cgkit-2.0.0_alpha8.ebuild: |
38 |
|
39 |
|
40 |
|
41 |
1.1 dev-python/cgkit/cgkit-2.0.0_alpha9.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/cgkit/cgkit-2.0.0_alpha9.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/cgkit/cgkit-2.0.0_alpha9.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: cgkit-2.0.0_alpha9.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2009 Gentoo Foundation |
49 |
# Distributed under the terms of the GNU General Public License v2 |
50 |
# $Header: /var/cvsroot/gentoo-x86/dev-python/cgkit/cgkit-2.0.0_alpha9.ebuild,v 1.1 2009/09/03 12:25:32 patrick Exp $ |
51 |
|
52 |
inherit distutils flag-o-matic |
53 |
|
54 |
MY_P=${P/_/} |
55 |
DESCRIPTION="Python library for creating 3D images" |
56 |
SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz" |
57 |
HOMEPAGE="http://cgkit.sourceforge.net" |
58 |
RDEPEND="dev-lang/python |
59 |
dev-python/pyrex |
60 |
dev-libs/boost |
61 |
dev-python/pyprotocols |
62 |
dev-python/pyopengl |
63 |
dev-python/pygame |
64 |
dev-python/imaging |
65 |
3ds? ( media-libs/lib3ds )" |
66 |
DEPEND="${RDEPEND} |
67 |
dev-util/scons" |
68 |
|
69 |
SLOT="0" |
70 |
LICENSE="LGPL-2.1 MPL-1.1 GPL-2" |
71 |
KEYWORDS="~amd64 ~ppc ~x86" |
72 |
IUSE="3ds" |
73 |
|
74 |
S=${WORKDIR}/${MY_P} |
75 |
|
76 |
src_unpack() { |
77 |
unpack ${A} |
78 |
cd "${S}" |
79 |
|
80 |
sed -i -e "s/fPIC/fPIC\",\"${CFLAGS// /\",\"}/" supportlib/SConstruct |
81 |
cp config_template.cfg config.cfg |
82 |
echo 'LIBS += ["GL", "GLU", "glut"]' >> config.cfg |
83 |
if use 3ds; then |
84 |
echo 'LIB3DS_AVAILABLE = True' >> config.cfg |
85 |
fi |
86 |
|
87 |
# Ogre viewer is no longer maintained by upstream |
88 |
# bug 210731 |
89 |
#if use ogre; then |
90 |
# echo 'OGRE_AVAILABLE = True' >> config.cfg |
91 |
# echo 'INC_DIRS += ["/usr/include/OGRE"]' >> config.cfg |
92 |
# echo 'MACROS += [("EXT_HASH", None),("GCC_3_1",None)]' >> config.cfg |
93 |
# sed -i -e "s/#include <Math.h>//" wrappers/ogre/OgreCore.h |
94 |
#fi |
95 |
|
96 |
sed -i -e "s:INC_DIRS = \[\]:INC_DIRS = \['/usr/include'\]:" "${S}"/setup.py |
97 |
|
98 |
sed -i -e "160s/as/as_/;168s/as/as_/" cgkit/flockofbirds.py |
99 |
} |
100 |
|
101 |
src_compile() { |
102 |
cd "${S}"/supportlib |
103 |
scons ${MAKEOPTS} |
104 |
cd "${S}" |
105 |
distutils_src_compile |
106 |
} |
107 |
|
108 |
src_test() { |
109 |
cd unittests |
110 |
# Remove failing tests due to non-existing files |
111 |
rm test_maimport.py test_mayaascii.py test_mayabinary.py test_ri.py \ |
112 |
test_slparams.py |
113 |
PYTHONPATH=$(ls -d ../build/lib*) ${python} all.py || die "tests failed" |
114 |
} |