diff options
author | Colin Kingsley <tercel@gentoo.org> | 2005-06-01 02:04:13 +0000 |
---|---|---|
committer | Colin Kingsley <tercel@gentoo.org> | 2005-06-01 02:04:13 +0000 |
commit | 4dfdc68e98d0b2d92c35f4eaaaecf562884990f9 (patch) | |
tree | 6c75f9de0f300c3a6fd19277320e678db3a0fb08 | |
parent | Update CVS snapshot. (diff) | |
download | gentoo-2-4dfdc68e98d0b2d92c35f4eaaaecf562884990f9.tar.gz gentoo-2-4dfdc68e98d0b2d92c35f4eaaaecf562884990f9.tar.bz2 gentoo-2-4dfdc68e98d0b2d92c35f4eaaaecf562884990f9.zip |
Initial commit.
(Portage version: 2.0.51.19)
-rw-r--r-- | dev-python/visual/ChangeLog | 9 | ||||
-rw-r--r-- | dev-python/visual/Manifest | 3 | ||||
-rw-r--r-- | dev-python/visual/files/digest-visual-3.2.1 | 1 | ||||
-rw-r--r-- | dev-python/visual/metadata.xml | 9 | ||||
-rw-r--r-- | dev-python/visual/visual-3.2.1.ebuild | 60 |
5 files changed, 82 insertions, 0 deletions
diff --git a/dev-python/visual/ChangeLog b/dev-python/visual/ChangeLog new file mode 100644 index 000000000000..3cab2dc40266 --- /dev/null +++ b/dev-python/visual/ChangeLog @@ -0,0 +1,9 @@ +# 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.1 2005/06/01 02:04:13 tercel Exp $ + +*visual-3.2.1 (01 Jun 2005) + + 01 Jun 2005; <colin@gentoo.org> +metadata.xml, +visual-3.2.1.ebuild: + Initial commit. + diff --git a/dev-python/visual/Manifest b/dev-python/visual/Manifest new file mode 100644 index 000000000000..fbb60d7b6c28 --- /dev/null +++ b/dev-python/visual/Manifest @@ -0,0 +1,3 @@ +MD5 0b9ca1955039be56e22e04d5095da4bc metadata.xml 255 +MD5 656c145725d09ca80c163616feb35226 visual-3.2.1.ebuild 1454 +MD5 6d6e6100c2055b0082f7ddbee8f2d1e2 files/digest-visual-3.2.1 65 diff --git a/dev-python/visual/files/digest-visual-3.2.1 b/dev-python/visual/files/digest-visual-3.2.1 new file mode 100644 index 000000000000..87f192d5dc0b --- /dev/null +++ b/dev-python/visual/files/digest-visual-3.2.1 @@ -0,0 +1 @@ +MD5 242b0ed09b447e45d4690fe5935516bd visual-3.2.1.tar.bz2 411850 diff --git a/dev-python/visual/metadata.xml b/dev-python/visual/metadata.xml new file mode 100644 index 000000000000..16fff4e6b988 --- /dev/null +++ b/dev-python/visual/metadata.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>no-herd</herd> + <maintainer> + <email>tercel@gentoo.org</email> + <name>Colin Kingsley</name> + </maintainer> +</pkgmetadata> diff --git a/dev-python/visual/visual-3.2.1.ebuild b/dev-python/visual/visual-3.2.1.ebuild new file mode 100644 index 000000000000..18724643fd53 --- /dev/null +++ b/dev-python/visual/visual-3.2.1.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/visual/visual-3.2.1.ebuild,v 1.1 2005/06/01 02:04:13 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) )" + +RESTRICT="nomirror" + +src_compile() { + echo + if useq numeric; then + einfo "Building with Numeric support" + elif useq numarray; then + einfo "Building with Numarray support" + else + einfo "Support for Numeric or Numarray was not specified." + einfo "Building with Numeric support" + 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 ) \ + || 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 +} |