Gentoo Archives: gentoo-commits

From: "Tiziano Mueller (dev-zero)" <dev-zero@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-python/pyopengl: ChangeLog pyopengl-3.0.0_beta1.ebuild
Date: Sun, 24 Feb 2008 08:22:16
Message-Id: E1JTC7d-0000gz-7O@stork.gentoo.org
1 dev-zero 08/02/24 08:22:09
2
3 Modified: ChangeLog
4 Added: pyopengl-3.0.0_beta1.ebuild
5 Log:
6 Version bump (fixes bugs #199961, #137872, #133602 since ctype is being used instead of swig and bug #202921).
7 (Portage version: 2.1.4.4)
8
9 Revision Changes Path
10 1.20 dev-python/pyopengl/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pyopengl/ChangeLog?rev=1.20&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pyopengl/ChangeLog?rev=1.20&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pyopengl/ChangeLog?r1=1.19&r2=1.20
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-python/pyopengl/ChangeLog,v
19 retrieving revision 1.19
20 retrieving revision 1.20
21 diff -u -r1.19 -r1.20
22 --- ChangeLog 22 Jul 2007 07:45:06 -0000 1.19
23 +++ ChangeLog 24 Feb 2008 08:22:08 -0000 1.20
24 @@ -1,6 +1,13 @@
25 # ChangeLog for dev-python/pyopengl
26 -# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-python/pyopengl/ChangeLog,v 1.19 2007/07/22 07:45:06 graaff Exp $
28 +# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
29 +# $Header: /var/cvsroot/gentoo-x86/dev-python/pyopengl/ChangeLog,v 1.20 2008/02/24 08:22:08 dev-zero Exp $
30 +
31 +*pyopengl-3.0.0_beta1 (24 Feb 2008)
32 +
33 + 24 Feb 2008; Tiziano Müller <dev-zero@g.o>
34 + +pyopengl-3.0.0_beta1.ebuild:
35 + Version bump (fixes bugs #199961, #137872, #133602 since ctype is being used
36 + instead of swig and bug #202921).
37
38 22 Jul 2007; Hans de Graaff <graaff@g.o> pyopengl-2.0.0.44.ebuild,
39 pyopengl-2.0.1.09.ebuild, pyopengl-2.0.1.09-r1.ebuild:
40
41
42
43 1.1 dev-python/pyopengl/pyopengl-3.0.0_beta1.ebuild
44
45 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pyopengl/pyopengl-3.0.0_beta1.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pyopengl/pyopengl-3.0.0_beta1.ebuild?rev=1.1&content-type=text/plain
47
48 Index: pyopengl-3.0.0_beta1.ebuild
49 ===================================================================
50 # Copyright 1999-2008 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/dev-python/pyopengl/pyopengl-3.0.0_beta1.ebuild,v 1.1 2008/02/24 08:22:08 dev-zero Exp $
53
54 EAPI="1"
55 NEED_PYTHON="2.4"
56
57 inherit eutils distutils
58
59 MY_P=PyOpenGL-${PV/_beta/b}
60
61 DESCRIPTION="Python OpenGL bindings"
62 HOMEPAGE="http://pyopengl.sourceforge.net/"
63 SRC_URI="mirror://sourceforge/pyopengl/${MY_P}.tar.gz"
64 LICENSE="BSD"
65 SLOT="0"
66 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd"
67 IUSE="doc tk"
68
69 RDEPEND="virtual/glut
70 x11-libs/libXi
71 x11-libs/libXmu
72 virtual/opengl
73 || ( dev-lang/python:2.5
74 ( dev-lang/python:2.4 dev-python/ctypes ) )"
75 DEPEND="${RDEPEND}"
76
77 PYTHON_MODNAME="OpenGL"
78
79 S="${WORKDIR}/${MY_P}"
80
81 pkg_setup() {
82 if use tk && !built_with_use dev-lang/python tk; then
83 # Note: This isn't really fatal since the files get installed anyway
84 # The only thing where it matters is the generated API-documentation.
85 # Mainly to avoid bugs from people who don't read warnings and then ask
86 # where the ToGL API docs are.
87 eerror "dev-lang/python has to be built with tk support to get tk-support in PyOpenGL."
88 die "Missing tk USE-flag on dev-lang/python"
89 fi
90 }
91
92 src_compile() {
93 distutils_src_compile
94
95 if use doc ; then
96 einfo "Generating API docs as requested..."
97 mkdir "${S}/api"
98 cd "${S}/api"
99 PYTHONPATH="${S}" "${python}" "${S}/documentation/pydoc/builddocs.py" || "generating docs failed"
100 fi
101 }
102
103 src_install() {
104 distutils_src_install
105
106 dohtml -r documentation/{images,style,*.html}
107
108 use doc && dohtml -r "${S}/api"
109 }
110
111
112
113 --
114 gentoo-commits@l.g.o mailing list