summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColin Kingsley <tercel@gentoo.org>2006-02-13 05:54:34 +0000
committerColin Kingsley <tercel@gentoo.org>2006-02-13 05:54:34 +0000
commit2adac6f1aaafebe1edd59c3bad8b9f6f8476f203 (patch)
tree421dc1b33d938e8e517d2a9bed0f138046b31cae /dev-python/visual
parent(#122476) Add patch from upstream CVS to fix with Nvidia's OpenGL implementat... (diff)
downloadgentoo-2-2adac6f1aaafebe1edd59c3bad8b9f6f8476f203.tar.gz
gentoo-2-2adac6f1aaafebe1edd59c3bad8b9f6f8476f203.tar.bz2
gentoo-2-2adac6f1aaafebe1edd59c3bad8b9f6f8476f203.zip
Added version 3.2.7 to ~x86 and moved 3.2.5 to stable.
(Portage version: 2.0.54)
Diffstat (limited to 'dev-python/visual')
-rw-r--r--dev-python/visual/ChangeLog9
-rw-r--r--dev-python/visual/Manifest4
-rw-r--r--dev-python/visual/files/digest-visual-3.2.71
-rw-r--r--dev-python/visual/visual-3.2.5.ebuild6
-rw-r--r--dev-python/visual/visual-3.2.7.ebuild66
5 files changed, 80 insertions, 6 deletions
diff --git a/dev-python/visual/ChangeLog b/dev-python/visual/ChangeLog
index f4ca84310a4d..4e44e43f4419 100644
--- a/dev-python/visual/ChangeLog
+++ b/dev-python/visual/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-python/visual
-# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/visual/ChangeLog,v 1.4 2005/12/22 01:21:38 tercel Exp $
+# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/visual/ChangeLog,v 1.5 2006/02/13 05:54:34 tercel Exp $
+
+*visual-3.2.7 (13 Feb 2006)
+
+ 13 Feb 2006; <tercel@gentoo.org> visual-3.2.5.ebuild, +visual-3.2.7.ebuild:
+ Added version 3.2.7 to ~x86 and moved 3.2.5 to stable.
*visual-3.2.5 (22 Dec 2005)
diff --git a/dev-python/visual/Manifest b/dev-python/visual/Manifest
index d330866fe7f9..673bd35e7475 100644
--- a/dev-python/visual/Manifest
+++ b/dev-python/visual/Manifest
@@ -1,6 +1,8 @@
MD5 2b6466b3729d3f6c2eecd44be4068f90 ChangeLog 658
MD5 6d6e6100c2055b0082f7ddbee8f2d1e2 files/digest-visual-3.2.1 65
MD5 98c0685166e7c2d0b7bfc23647846c14 files/digest-visual-3.2.5 65
+MD5 f4b094c2dbd5ed7d60bae6ec48bd5bb5 files/digest-visual-3.2.7 65
MD5 dc0b1d0f6421b62d34ca91dd8ac2d52d metadata.xml 255
MD5 4c134cf76fb56f1537a9e92019bde6c0 visual-3.2.1.ebuild 1753
-MD5 cafaffa2f60160d883b5478965978646 visual-3.2.5.ebuild 1754
+MD5 875454661a14d5cf9554272b7668a07e visual-3.2.5.ebuild 1753
+MD5 cafaffa2f60160d883b5478965978646 visual-3.2.7.ebuild 1754
diff --git a/dev-python/visual/files/digest-visual-3.2.7 b/dev-python/visual/files/digest-visual-3.2.7
new file mode 100644
index 000000000000..4dbee1c8d2c3
--- /dev/null
+++ b/dev-python/visual/files/digest-visual-3.2.7
@@ -0,0 +1 @@
+MD5 3fd2ac486835f1412833022776df1aab visual-3.2.7.tar.bz2 414863
diff --git a/dev-python/visual/visual-3.2.5.ebuild b/dev-python/visual/visual-3.2.5.ebuild
index df08e1874639..7e6ce61ee63e 100644
--- a/dev-python/visual/visual-3.2.5.ebuild
+++ b/dev-python/visual/visual-3.2.5.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2005 Gentoo Foundation
+# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/visual/visual-3.2.5.ebuild,v 1.1 2005/12/22 01:21:38 tercel Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/visual/visual-3.2.5.ebuild,v 1.2 2006/02/13 05:54:34 tercel Exp $
inherit distutils
@@ -10,7 +10,7 @@ HOMEPAGE="http://www.vpython.org/"
IUSE="doc examples numeric numarray"
SLOT="0"
-KEYWORDS="~x86"
+KEYWORDS="x86"
LICENSE="visual"
DEPEND=">=dev-lang/python-2.3
diff --git a/dev-python/visual/visual-3.2.7.ebuild b/dev-python/visual/visual-3.2.7.ebuild
new file mode 100644
index 000000000000..115222125b62
--- /dev/null
+++ b/dev-python/visual/visual-3.2.7.ebuild
@@ -0,0 +1,66 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/visual/visual-3.2.7.ebuild,v 1.1 2006/02/13 05:54:34 tercel Exp $
+
+inherit distutils
+
+DESCRIPTION="An easy to use Real-time 3D graphics library for Python."
+SRC_URI="http://www.vpython.org/download/${PN}-${PV}.tar.bz2"
+HOMEPAGE="http://www.vpython.org/"
+
+IUSE="doc examples numeric numarray"
+SLOT="0"
+KEYWORDS="~x86"
+LICENSE="visual"
+
+DEPEND=">=dev-lang/python-2.3
+ virtual/opengl
+ =x11-libs/gtk+-1.2*
+ =x11-libs/gtkglarea-1.2*
+ dev-util/pkgconfig
+ >=dev-libs/boost-1.31
+ numeric? ( dev-python/numeric )
+ numarray? ( >=dev-python/numarray-1.0 )
+ !numeric? ( !numarray? ( dev-python/numeric ) )"
+
+src_compile() {
+ local myconf="--without-numarray --without-numeric"
+
+ echo
+ if useq numeric; then
+ einfo "Building with Numeric support"
+ myconf=${myconf/--without-numeric}
+ fi
+ if useq numarray; then
+ einfo "Building with Numarray support"
+ myconf=${myconf/--without-numarray}
+ fi
+ if ! useq numeric && ! useq numarray; then
+ einfo "Support for Numeric or Numarray was not specified."
+ einfo "Building with Numeric support"
+ myconf=${myconf/--without-numeric}
+ fi
+ echo
+
+ econf \
+ --with-html-dir=/usr/share/doc/${PF}/html \
+ --with-example-dir=/usr/share/doc/${PF}/examples \
+ $(use_enable doc docs ) \
+ $(use_enable examples ) \
+ ${myconf} \
+ || die "configure failed"
+
+ emake || die "emake failed"
+}
+
+src_install() {
+ make DESTDIR="${D}" install || die "install failed"
+
+ python_version
+
+ mv ${D}/usr/lib/python${PYVER}/site-packages/cvisualmodule* \
+ ${D}/usr/lib/python${PYVER}/site-packages/visual
+
+ #the vpython script does not work, and is unnecessary
+ rm ${D}/usr/bin/vpython
+}