diff options
author | Jesus Rivero <neurogeek@gentoo.org> | 2008-08-09 17:31:46 +0000 |
---|---|---|
committer | Jesus Rivero <neurogeek@gentoo.org> | 2008-08-09 17:31:46 +0000 |
commit | 9eb82a194ecca6ce15ee178c36147e9f4e7b388b (patch) | |
tree | efd675f098516b1812b2e27e93f362a4799e065b /dev-python/visual | |
parent | alpha/ia64/sparc stable wrt #234191 (diff) | |
download | historical-9eb82a194ecca6ce15ee178c36147e9f4e7b388b.tar.gz historical-9eb82a194ecca6ce15ee178c36147e9f4e7b388b.tar.bz2 historical-9eb82a194ecca6ce15ee178c36147e9f4e7b388b.zip |
Rev bump. Fixes bugs #176431, #143237, #222205 and #172634
Package-Manager: portage-2.1.4.4
Diffstat (limited to 'dev-python/visual')
-rw-r--r-- | dev-python/visual/ChangeLog | 8 | ||||
-rw-r--r-- | dev-python/visual/Manifest | 12 | ||||
-rw-r--r-- | dev-python/visual/files/visual-3.2.9-import_bug143237.patch | 31 | ||||
-rw-r--r-- | dev-python/visual/visual-3.2.9-r1.ebuild | 76 |
4 files changed, 121 insertions, 6 deletions
diff --git a/dev-python/visual/ChangeLog b/dev-python/visual/ChangeLog index e87dd416df91..3c69379b061b 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.22 2008/08/06 18:29:53 neurogeek Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/visual/ChangeLog,v 1.23 2008/08/09 17:31:45 neurogeek Exp $ + +*visual-3.2.9-r1 (09 Aug 2008) + + 09 Aug 2008; Jesus Rivero <neurogeek@gentoo.org> + +files/visual-3.2.9-import_bug143237.patch, +visual-3.2.9-r1.ebuild: + Rev bump. Fixes bugs #176431, #143237, #222205 and #172634 06 Aug 2008; Jesus Rivero <neurogeek@gentoo.org> metadata.xml: add GLEP 56 USE flag desc from use.local.desc diff --git a/dev-python/visual/Manifest b/dev-python/visual/Manifest index 3048035e8821..f3a882fefee9 100644 --- a/dev-python/visual/Manifest +++ b/dev-python/visual/Manifest @@ -1,19 +1,21 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 +AUX visual-3.2.9-import_bug143237.patch 1152 RMD160 965f3102ac7e471ce7121f25fff009eec21bb391 SHA1 3f4412ec02c829427865732c4df6d6fb7c0a816f SHA256 840a6dcd7e4310b4488b8815903b33b1d29069f5ac3e4ab0e5944f4d669ab36a AUX visual-4_beta26-gcc43.patch 259 RMD160 115ae2dbd193705c4054c4b236065d9db006e9a1 SHA1 2ae4ddbaa8dad634c998128b9bc25c368a413144 SHA256 d810452a09928d6b4f2d4d9b83f360632d4d276df03ff0fa51f4da40fbff0137 DIST visual-3.2.9.tar.bz2 419962 RMD160 49cfd441577c2a49dda1cd48b55b5e72e0968c27 SHA1 d64f32ffacc75a59e7703d2c51bd93b842038421 SHA256 613df56208b668f7ebe9fbebc862d5684883ab27658fb8a89c8c05d5e1720f49 DIST visual-4.beta0.tar.bz2 5387905 RMD160 20b07fd806c6d39a8090e68274f135f2c9fb93c4 SHA1 74786cc572d66ae53d95294af6f7b3f0a4af88d8 SHA256 97010907917651169769f36dc16a09484977047f6c4c69e25e439233e18060c4 DIST visual-4.beta26.tar.bz2 614231 RMD160 564c950bcf887b93c1a8ded017952381b432cf31 SHA1 b0e5fc4d7098bd4b5ee3c88df45e9eb7c7230205 SHA256 9d55a4fb1d3a84659ef7d8514a52447863176160b51c6771f11bebebdd4c931c +EBUILD visual-3.2.9-r1.ebuild 1934 RMD160 ccf49d9809b8e6ea398c4131174c8646f2af01f4 SHA1 b4bbe40d247d51e3038096acfc82aff778e2d8f5 SHA256 1c42253be24dbcbf177c570197065af9e9891508092154bc40be1a1e4483e770 EBUILD visual-3.2.9.ebuild 1969 RMD160 dba3c0af98a049f70659983c250f1889b007dea9 SHA1 5f1e89bd37e5e1ed8e5326825d8a316a9a7e0d6c SHA256 353787d004b9fa55c005dcd13e72083be162817417ca7725fa4c3edb6d4fe029 EBUILD visual-4_beta0.ebuild 1914 RMD160 ddc446c396ba24f70ea6b05cfc6ab69e0a907f2f SHA1 0f3cef34cd571702aecf7cb0281116b98339dbcb SHA256 7b744155f4824af309d36dca4d639173c737fc18988d1bebc7c66bc519103cb2 EBUILD visual-4_beta26.ebuild 1388 RMD160 8e150ab651bc4c822b5169a77227c23b300708ea SHA1 8862e747e0bf8d73e24412d18585b9f96267bb43 SHA256 53ee0b8234118c6f634b991866de937288f371ef6c39449d570edd9663f7d4a1 -MISC ChangeLog 2943 RMD160 28fad5a7c51ab9d737613979d16e7aba91a3f6a4 SHA1 69829a731faa6fcafe7fa2a2bf112f2b8e06c043 SHA256 296cee1d74cf8cdd640ef3f22008368d584eb7a4f5ffc6d842636ba3c15e61c4 +MISC ChangeLog 3159 RMD160 c87893e6fda1e8c70fd539d5af9854ca4280776d SHA1 bc89ed834d3fcdd284c8b39ec0bcffea6c58e198 SHA256 fbd8baab95363c50f94a68e3e3f7816e9872dfa9ed420ef027467aec8c805020 MISC metadata.xml 291 RMD160 662d443be30d4e3acc2724449378f2a56ba2a76a SHA1 31e8e34265ea7af352151fc108592dec4233acee SHA256 dc73bd0f985299d5e46e3e261ba139542e22e88df7752067ad3103bcbb26b06a -----BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.7 (GNU/Linux) +Version: GnuPG v2.0.9 (GNU/Linux) -iD8DBQFIme2mdIssYB9vBoMRAtyDAJ9NAfXdzEQWm9QBBHYGnKXejF3QVQCdHCzw -3+msUTLDxh8s1/3ZMyji2Ik= -=UP4N +iEYEARECAAYFAkid1JEACgkQdIssYB9vBoO5IQCfXTZe3foL7y038c1qDCxpa6qm +xK0Anj/thpKn8v3EJKr8K7xJXNX2G7XS +=h8AY -----END PGP SIGNATURE----- diff --git a/dev-python/visual/files/visual-3.2.9-import_bug143237.patch b/dev-python/visual/files/visual-3.2.9-import_bug143237.patch new file mode 100644 index 000000000000..ecb42ce1749a --- /dev/null +++ b/dev-python/visual/files/visual-3.2.9-import_bug143237.patch @@ -0,0 +1,31 @@ +--- site-packages/visual/__init__.py 2008-06-30 22:39:08.000000000 -0430 ++++ site-packages/visual/__init__.py 2008-06-30 22:39:53.000000000 -0430 +@@ -13,6 +13,14 @@ + + # Don't try this at home! + import array_backend ++ ++#Import visual modules ++import crayola ++color = crayola ++from visual.primitives import arrow, cylinder, cone, sphere, box, ring, label ++from visual.primitives import frame, curve, pyramid, ellipsoid, convex, faces, helix ++from visual.ui import display ++ + # The following is intended to be equivalent to: + # >>> from array_backend.backend[0] import * + vars = __import__(array_backend.backend[0], globals(), locals(), []) +@@ -21,13 +29,8 @@ + locals()[i] = j + + # import all of the public modules into the global namespace +-import crayola +-color = crayola + import cvisual + from cvisual import vector, mag, mag2, norm, cross, rotate, comp, proj, diff_angle, rate +-from visual.primitives import arrow, cylinder, cone, sphere, box, ring, label +-from visual.primitives import frame, curve, pyramid, ellipsoid, convex, faces, helix +-from visual.ui import display + from cvisual import vector_array, scalar_array + + def __waitclose(): diff --git a/dev-python/visual/visual-3.2.9-r1.ebuild b/dev-python/visual/visual-3.2.9-r1.ebuild new file mode 100644 index 000000000000..ff9f7db991fd --- /dev/null +++ b/dev-python/visual/visual-3.2.9-r1.ebuild @@ -0,0 +1,76 @@ +# 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/ + +} |