diff options
author | Sebastien Fabbro <bicatali@gentoo.org> | 2009-04-07 11:25:19 +0000 |
---|---|---|
committer | Sebastien Fabbro <bicatali@gentoo.org> | 2009-04-07 11:25:19 +0000 |
commit | 31837f4a4a52ded616ced7634a72307708d4f213 (patch) | |
tree | 6a12000f1090d77afd1481c2b5aca2aaa2467e4c /dev-python/visual | |
parent | Raise dependency for wxGTK, see bug 234817 (diff) | |
download | gentoo-2-31837f4a4a52ded616ced7634a72307708d4f213.tar.gz gentoo-2-31837f4a4a52ded616ced7634a72307708d4f213.tar.bz2 gentoo-2-31837f4a4a52ded616ced7634a72307708d4f213.zip |
Version bump, unmasking. Removed as many old versions as possible, depending on obsoleted numeric and numarray
(Portage version: 2.2_rc28/cvs/Linux x86_64)
Diffstat (limited to 'dev-python/visual')
-rw-r--r-- | dev-python/visual/ChangeLog | 11 | ||||
-rw-r--r-- | dev-python/visual/metadata.xml | 10 | ||||
-rw-r--r-- | dev-python/visual/visual-3.2.9-r1.ebuild | 76 | ||||
-rw-r--r-- | dev-python/visual/visual-3.2.9.ebuild | 72 | ||||
-rw-r--r-- | dev-python/visual/visual-4_beta26.ebuild | 57 | ||||
-rw-r--r-- | dev-python/visual/visual-5.03_rc1.ebuild | 41 |
6 files changed, 56 insertions, 211 deletions
diff --git a/dev-python/visual/ChangeLog b/dev-python/visual/ChangeLog index 96851f42e316..2129d6fb074a 100644 --- a/dev-python/visual/ChangeLog +++ b/dev-python/visual/ChangeLog @@ -1,6 +1,15 @@ # ChangeLog for dev-python/visual # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/visual/ChangeLog,v 1.28 2009/03/03 03:19:53 darkside Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/visual/ChangeLog,v 1.29 2009/04/07 11:25:19 bicatali Exp $ + +*visual-5.03_rc1 (07 Apr 2009) + + 07 Apr 2009; Sébastien Fabbro <bicatali@gentoo.org> metadata.xml, + -visual-3.2.9.ebuild, -visual-3.2.9-r1.ebuild, -visual-4_beta26.ebuild, + +visual-5.03_rc1.ebuild: + Version bump, unmasking. Removed as many old versions as possible, + depending on obsoleted numeric and numarray. Dropped ia64 for gtkglextmm + keywording. 03 Mar 2009; Jeremy Olexa <darkside@gentoo.org> visual-3.2.9-r2.ebuild: amd64 stable, bug 259136 diff --git a/dev-python/visual/metadata.xml b/dev-python/visual/metadata.xml index 47e0ed92e801..5c120c3f2ffa 100644 --- a/dev-python/visual/metadata.xml +++ b/dev-python/visual/metadata.xml @@ -1,9 +1,9 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> - <herd>python</herd> - <use> - <flag name='numarray'>enable support for numarray</flag> - <flag name='numeric'>enable support for numeric</flag> - </use> + <herd>python</herd> + <use> + <flag name='numarray'>enable support for numarray</flag> + <flag name='numeric'>enable support for numeric</flag> + </use> </pkgmetadata> diff --git a/dev-python/visual/visual-3.2.9-r1.ebuild b/dev-python/visual/visual-3.2.9-r1.ebuild deleted file mode 100644 index ff9f7db991fd..000000000000 --- a/dev-python/visual/visual-3.2.9-r1.ebuild +++ /dev/null @@ -1,76 +0,0 @@ -# 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-3.2.9-r1.ebuild,v 1.1 2008/08/09 17:31:45 neurogeek Exp $ - -inherit distutils - -DESCRIPTION="An easy to use Real-time 3D graphics library for Python." -SRC_URI="http://www.vpython.org/download/${P}.tar.bz2" -HOMEPAGE="http://www.vpython.org/" - -IUSE="doc examples numeric numarray" -SLOT="0" -KEYWORDS="~amd64 ~ia64 ~ppc ~x86" -LICENSE="visual" - -RDEPEND="virtual/python - virtual/opengl - =x11-libs/gtk+-1.2* - =x11-libs/gtkglarea-1.2* - >=dev-libs/boost-1.31 - numeric? ( dev-python/numeric ) - numarray? ( >=dev-python/numarray-1.0 ) - !numeric? ( !numarray? ( dev-python/numeric ) )" -DEPEND="${RDEPEND} - dev-util/pkgconfig" - -src_unpack() { - unpack ${A} - cd "${S}"/site-packages - epatch "${FILESDIR}/${P}"-import_bug143237.patch -} - -src_compile() { - local myconf="--without-numarray --without-numeric" - - echo - if useq numeric; then - elog "Building with Numeric support" - myconf=${myconf/--without-numeric} - fi - if useq numarray; then - elog "Building with Numarray support" - myconf=${myconf/--without-numarray} - fi - if ! useq numeric && ! useq numarray; then - elog "Support for Numeric or Numarray was not specified." - elog "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() { - emake DESTDIR="${D}" install || die "install failed" - - python_version - - insinto $(python_get_sitedir) - doins -r "${WORKDIR}/${P}"/site-packages/* - - #the vpython script does not work, and is unnecessary. - #Also nuke directories that are empty so we don't have - #empty directories hanging around. - rm -rf "${D}"/usr/bin/ - -} diff --git a/dev-python/visual/visual-3.2.9.ebuild b/dev-python/visual/visual-3.2.9.ebuild deleted file mode 100644 index a3ff6d31dcf1..000000000000 --- a/dev-python/visual/visual-3.2.9.ebuild +++ /dev/null @@ -1,72 +0,0 @@ -# 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-3.2.9.ebuild,v 1.13 2008/05/19 17:12:03 drac Exp $ - -inherit distutils multilib - -DESCRIPTION="An easy to use Real-time 3D graphics library for Python." -SRC_URI="http://www.vpython.org/download/${P}.tar.bz2" -HOMEPAGE="http://www.vpython.org/" - -IUSE="doc examples numeric numarray" -SLOT="0" -KEYWORDS="amd64 ia64 ppc x86" -LICENSE="visual" - -RDEPEND=">=dev-lang/python-2.3 - virtual/opengl - =x11-libs/gtk+-1.2* - =x11-libs/gtkglarea-1.2* - >=dev-libs/boost-1.31 - numeric? ( dev-python/numeric ) - numarray? ( >=dev-python/numarray-1.0 ) - !numeric? ( !numarray? ( dev-python/numeric ) )" -DEPEND="${RDEPEND} - dev-util/pkgconfig" - -src_compile() { - local myconf="--without-numarray --without-numeric" - - echo - if useq numeric; then - elog "Building with Numeric support" - myconf=${myconf/--without-numeric} - fi - if useq numarray; then - elog "Building with Numarray support" - myconf=${myconf/--without-numarray} - fi - if ! useq numeric && ! useq numarray; then - elog "Support for Numeric or Numarray was not specified." - elog "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() { - emake DESTDIR="${D}" install || die "install failed" - - python_version - - mkdir -p "${D}"/usr/$(get_libdir)/python${PYVER}/site-packages/visual/ - mv "${D}"/usr/lib/python${PYVER}/site-packages/ \ - "${D}"/usr/$(get_libdir)/python${PYVER}/site-packages/visual/ - - #the vpython script does not work, and is unnecessary. - #Also nuke directories that are empty so we don't have - #empty directories hanging around. - rm -rf "${D}"/usr/bin/ - rm -rf "${D}"/usr/lib/ - -} diff --git a/dev-python/visual/visual-4_beta26.ebuild b/dev-python/visual/visual-4_beta26.ebuild deleted file mode 100644 index 73e40f8201d5..000000000000 --- a/dev-python/visual/visual-4_beta26.ebuild +++ /dev/null @@ -1,57 +0,0 @@ -# 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 -} diff --git a/dev-python/visual/visual-5.03_rc1.ebuild b/dev-python/visual/visual-5.03_rc1.ebuild new file mode 100644 index 000000000000..4acf2af942fe --- /dev/null +++ b/dev-python/visual/visual-5.03_rc1.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/visual/visual-5.03_rc1.ebuild,v 1.1 2009/04/07 11:25:19 bicatali Exp $ + +EAPI=2 +inherit eutils python + +MY_P="${P/rc1/candidate}" +S="${WORKDIR}/${MY_P}" + +DESCRIPTION="Real-time 3D graphics library for Python" +HOMEPAGE="http://www.vpython.org/" +SRC_URI="http://www.vpython.org/contents/download/${MY_P}.tar.bz2" + +IUSE="doc examples" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +LICENSE="visual" + +RDEPEND="=dev-libs/boost-1.35* + dev-cpp/libglademm + >=dev-cpp/gtkglextmm-1.2 + dev-python/numpy" + +DEPEND="${RDEPEND} + dev-util/pkgconfig" + +src_configure() { + econf \ + --with-html-dir=/usr/share/doc/${PF}/html \ + --with-example-dir=/usr/share/doc/${PF}/examples \ + $(use_enable doc docs) \ + $(use_enable examples) +} + +src_install() { + emake DESTDIR="${D}" install || die "install failed" + dodoc authors.txt HACKING.txt NEWS.txt + #the vpython script is only use for examples + use examples || rm -r "${D}"/usr/bin +} |