diff options
author | Sebastien Fabbro <bicatali@gentoo.org> | 2008-05-22 20:42:15 +0000 |
---|---|---|
committer | Sebastien Fabbro <bicatali@gentoo.org> | 2008-05-22 20:42:15 +0000 |
commit | 72d89e19935fc3620388acf01113449edbd62d2e (patch) | |
tree | 6f333e744ae4d0699dcf784176cb34abfa5ea3e7 /dev-python/visual | |
parent | amd64/x86 stable, bug #222737 (diff) | |
download | gentoo-2-72d89e19935fc3620388acf01113449edbd62d2e.tar.gz gentoo-2-72d89e19935fc3620388acf01113449edbd62d2e.tar.bz2 gentoo-2-72d89e19935fc3620388acf01113449edbd62d2e.zip |
Version bump, now depends on numpy
(Portage version: 2.1.5.2)
Diffstat (limited to 'dev-python/visual')
-rw-r--r-- | dev-python/visual/ChangeLog | 8 | ||||
-rw-r--r-- | dev-python/visual/files/visual-4_beta26-gcc43.patch | 10 | ||||
-rw-r--r-- | dev-python/visual/visual-4_beta26.ebuild | 57 |
3 files changed, 74 insertions, 1 deletions
diff --git a/dev-python/visual/ChangeLog b/dev-python/visual/ChangeLog index 6cc209bfe274..3518aea3b687 100644 --- a/dev-python/visual/ChangeLog +++ b/dev-python/visual/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-python/visual # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/visual/ChangeLog,v 1.20 2008/05/19 17:12:03 drac Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/visual/ChangeLog,v 1.21 2008/05/22 20:42:15 bicatali Exp $ + +*visual-4_beta26 (22 May 2008) + + 22 May 2008; Sébastien Fabbro <bicatali@gentoo.org> + +files/visual-4_beta26-gcc43.patch, +visual-4_beta26.ebuild: + Version bump, now depends on numpy 19 May 2008; Samuli Suominen <drac@gentoo.org> visual-3.2.9.ebuild: Move pkgconfig to DEPEND. diff --git a/dev-python/visual/files/visual-4_beta26-gcc43.patch b/dev-python/visual/files/visual-4_beta26-gcc43.patch new file mode 100644 index 000000000000..048b7beb15fe --- /dev/null +++ b/dev-python/visual/files/visual-4_beta26-gcc43.patch @@ -0,0 +1,10 @@ +--- src/core/util/errors.cpp.~1.5.~ 2004-08-10 21:46:32.000000000 +0100 ++++ src/core/util/errors.cpp 2008-05-22 21:06:00.000000000 +0100 +@@ -7,6 +7,7 @@ + #include <iostream> + #include <iomanip> + #include <sstream> ++#include <cstdlib> + + namespace cvisual { + diff --git a/dev-python/visual/visual-4_beta26.ebuild b/dev-python/visual/visual-4_beta26.ebuild new file mode 100644 index 000000000000..73e40f8201d5 --- /dev/null +++ b/dev-python/visual/visual-4_beta26.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/visual/visual-4_beta26.ebuild,v 1.1 2008/05/22 20:42:15 bicatali Exp $ + +inherit eutils distutils versionator multilib + +MY_P=$(replace_version_separator _ . ${P}) + +S="${WORKDIR}/${MY_P}" + +DESCRIPTION="An easy to use Real-time 3D graphics library for Python." +SRC_URI="mirror://sourceforge/visualpython/${MY_P}.tar.bz2" +HOMEPAGE="http://www.vpython.org/" + +IUSE="doc examples" +SLOT="0" +KEYWORDS="~amd64 ~x86" +LICENSE="visual" + +DEPEND="dev-libs/boost + virtual/opengl + =dev-cpp/gtkglextmm-1.2* + dev-cpp/libglademm + dev-python/numpy" + +RDEPEND="${DEPEND}" + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/${P}-gcc43.patch +} + +src_compile() { + 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 "econf failed" + + sed -i s/boost_thread/boost_thread-mt/ src/Makefile + + emake || die "emake failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "install failed" + + python_version + + mv "${D}"/usr/$(get_libdir)/python${PYVER}/site-packages/cvisualmodule* \ + "${D}"/usr/$(get_libdir)/python${PYVER}/site-packages/visual + + #the vpython script does not work, and is unnecessary + rm "${D}"/usr/bin/vpython +} |