summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-python/PyOpenGL/ChangeLog8
-rw-r--r--dev-python/PyOpenGL/PyOpenGL-2.0.0.44.ebuild28
2 files changed, 24 insertions, 12 deletions
diff --git a/dev-python/PyOpenGL/ChangeLog b/dev-python/PyOpenGL/ChangeLog
index af7bd5f356e2..dbeced5539a7 100644
--- a/dev-python/PyOpenGL/ChangeLog
+++ b/dev-python/PyOpenGL/ChangeLog
@@ -1,9 +1,15 @@
# ChangeLog for <dev-python/PyOpenGL
# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/PyOpenGL/ChangeLog,v 1.1 2002/08/29 16:36:59 raker Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/PyOpenGL/ChangeLog,v 1.2 2002/08/30 06:15:26 seemant Exp $
*PyOpenGL-2.0.0.44 (29 Aug 2002)
+ 29 Aug 2002; Seemant Kulleen <seemant@gentoo.org> PyOpenGL-2.0.0.44.ebuild :
+
+ Adjusted so that an X server need not be running. It will use a virtual X
+ server.
+
+
29 Aug 2002; Nick Hadaway <raker@gentoo.org> PyOpenGL-2.0.0.44.ebuild,
files/digest-PyOpenGL-2.0.0.44, files/config.diff :
New ebuild added to support a wxPython opengl enabled build. This ebuild
diff --git a/dev-python/PyOpenGL/PyOpenGL-2.0.0.44.ebuild b/dev-python/PyOpenGL/PyOpenGL-2.0.0.44.ebuild
index fd50c2f7dfed..65ee2fb71bcd 100644
--- a/dev-python/PyOpenGL/PyOpenGL-2.0.0.44.ebuild
+++ b/dev-python/PyOpenGL/PyOpenGL-2.0.0.44.ebuild
@@ -1,6 +1,8 @@
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/PyOpenGL/PyOpenGL-2.0.0.44.ebuild,v 1.1 2002/08/29 16:36:59 raker Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/PyOpenGL/PyOpenGL-2.0.0.44.ebuild,v 1.2 2002/08/30 06:15:26 seemant Exp $
+
+inherit virtualx
DESCRIPTION="Python OpenGL bindings"
HOMEPAGE="http://pyopengl.sourceforge.net/"
@@ -26,21 +28,25 @@ src_unpack() {
src_compile() {
- IN_X=`env | grep DISPLAY | wc -l`
- if [ "$IN_X" -eq "0" ]; then
- einfo "******************************"
- einfo "You must have XWindows running"
- einfo "in order to compile PyOpenGL. "
- einfo "******************************"
- die "please start xwindows before emerging"
- fi
+# IN_X=`env | grep DISPLAY | wc -l`
+# if [ "$IN_X" -eq "0" ]; then
+# einfo "******************************"
+# einfo "You must have XWindows running"
+# einfo "in order to compile PyOpenGL. "
+# einfo "******************************"
+# die "please start xwindows before emerging"
+# fi
- python setup.py build || die "build failed"
+ export maketype="python setup.py build"
+ virtualmake "$*" || die
+# python setup.py build || die "build failed"
}
src_install () {
- python setup.py install --prefix=${D}/usr || die "install failed"
+ export maketype="python setup.py install --prefix=${D}/usr"
+ virtualmake "$*" || die
+ #python setup.py install --prefix=${D}/usr || die "install failed"
}