From b6e14d193f722dc0d09efadb9bb5881f188a089b Mon Sep 17 00:00:00 2001 From: Sebastien Fabbro Date: Thu, 5 Jan 2012 17:37:14 +0000 Subject: [PATCH] Tentative bump. Dropped ppc with xarthisius blessing Package-Manager: portage-2.1.10.41/cvs/Linux x86_64 --- dev-python/visual/ChangeLog | 9 +++- dev-python/visual/Manifest | 14 ++++- dev-python/visual/visual-5.72.ebuild | 79 ++++++++++++++++++++++++++++ 3 files changed, 99 insertions(+), 3 deletions(-) create mode 100644 dev-python/visual/visual-5.72.ebuild diff --git a/dev-python/visual/ChangeLog b/dev-python/visual/ChangeLog index 6939351ce275..b42f44776ac6 100644 --- a/dev-python/visual/ChangeLog +++ b/dev-python/visual/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-python/visual -# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/visual/ChangeLog,v 1.48 2011/01/15 18:21:07 arfrever Exp $ +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/visual/ChangeLog,v 1.49 2012/01/05 17:37:14 bicatali Exp $ + +*visual-5.72 (05 Jan 2012) + + 05 Jan 2012; Sébastien Fabbro +visual-5.72.ebuild: + Tentative bump. Dropped ppc with xarthisius blessing 15 Jan 2011; Arfrever Frehtes Taifersar Arahesis -visual-5.3.2.ebuild: diff --git a/dev-python/visual/Manifest b/dev-python/visual/Manifest index 79f9b7dbcd40..318b81f1d14a 100644 --- a/dev-python/visual/Manifest +++ b/dev-python/visual/Manifest @@ -1,4 +1,16 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + DIST visual-5.4_release.tar.bz2 2695774 RMD160 f16fbd592b483332d4b6330a221e888618ccdcf9 SHA1 81a23b6a46c71bfd3305555a460e59ba7e49633f SHA256 7d32ddc4e6c0fce5be961b200c29cdf8d3f7459157b7bfd6a661cace93728c87 +DIST visual-5.72_release.tar.bz2 5757525 RMD160 5ce153b7917c357bf4455bc3ea96a101303579a0 SHA1 49703daf66434908d2891f8933c5d8c0ce995f3e SHA256 5b0171f78f6959e946ae7bcd9d7bedab6aff9203e38a522d8ba7672c51d7985d EBUILD visual-5.4.ebuild 1937 RMD160 debc215e383a31c8c1e84b3499d259665c71de09 SHA1 6b57c42be77113f64f61eb897319415fd9c93dac SHA256 0d01cbddda4f26a7b4e10fc4ec4a267077cdaa502c5a0b8b0cbb33461f62685f -MISC ChangeLog 6425 RMD160 7aaac2df36e9184da86acdb28695a91662fe6f9c SHA1 ba0d41e05a42dcf58a73ccd185a598411bfec024 SHA256 26a44304e85d2fa29643e3057796d2e5d1e7e61efbc042b7fb4f41a451529720 +EBUILD visual-5.72.ebuild 2081 RMD160 dccc4ccc16da1b4851175e50e6362d78c14a2d7d SHA1 4d02febb7c9cf4b36037ce9c9776e2249905c4c2 SHA256 5c8fe601d438e249472e3f6edf9c25655b8b13247a397f8826be42b5fe24956f +MISC ChangeLog 6585 RMD160 cdb1ecd47fe8a7e1e31d3bcd44157d29c176fe61 SHA1 736d3850c799a7301fcace5801224cfc691e27f5 SHA256 d8c50e04a9bfa0ebe9ead4e0757688a26a47ae1fdbb29bce9eeb28b52fb984e5 MISC metadata.xml 161 RMD160 295dca78d1e997a333dcf54b6084afa5298b28fa SHA1 01db574d7072c1e555e182f88e889d11d3ae49bc SHA256 54c4e6d783f2571466c7b03622195c255b95cf06209e59ab6653a6366cdfde6e +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.18 (GNU/Linux) + +iEYEARECAAYFAk8F39QACgkQ1ycZbhPLE2AdagCgnDBUiZYVM4WT6htDJDn46aPh +2UsAmQGPa/TpspnfRwBQudQ7ZCsGzCY7 +=DW15 +-----END PGP SIGNATURE----- diff --git a/dev-python/visual/visual-5.72.ebuild b/dev-python/visual/visual-5.72.ebuild new file mode 100644 index 000000000000..e6acf8772668 --- /dev/null +++ b/dev-python/visual/visual-5.72.ebuild @@ -0,0 +1,79 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/visual/visual-5.72.ebuild,v 1.1 2012/01/05 17:37:14 bicatali Exp $ + +EAPI="3" +PYTHON_DEPEND="2" +SUPPORT_PYTHON_ABIS="1" +PYTHON_EXPORT_PHASE_FUNCTIONS="1" + +inherit flag-o-matic python versionator + +MY_P="${PN}-$(delete_version_separator 2)_release" + +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 ~x86" +LICENSE="visual" + +RDEPEND=">=dev-libs/boost-1.41.0[python] + dev-cpp/libglademm + >=dev-cpp/gtkglextmm-1.2 + dev-python/numpy + dev-python/polygon + dev-python/ttfquery" +DEPEND="${RDEPEND} + dev-util/pkgconfig" + +S="${WORKDIR}/${MY_P}" + +src_prepare() { + # redundant file + rm src/gtk2/random_device.cpp || die + sed -i \ + -e 's/random_device.lo//g' \ + src/Makefile.in src/gtk2/makefile || die + # verbose build + sed -i -e 's/2\?>> \?\$(LOGFILE).*//' src/Makefile.in || die + + echo "#!/bin/bash" > py-compile + python_src_prepare +} + +src_configure() { + BOOST_PKG="$(best_version ">=dev-libs/boost-1.41.0")" + BOOST_VER="$(get_version_component_range 1-2 "${BOOST_PKG/*boost-/}")" + BOOST_VER="$(replace_all_version_separators _ "${BOOST_VER}")" + BOOST_INC="${EPREFIX}/usr/include/boost-${BOOST_VER}" + BOOST_LIB="${EPREFIX}/usr/$(get_libdir)/boost-${BOOST_VER}" + + # hack to specify the include and lib directory for boost + append-cxxflags -I${BOOST_INC} + append-ldflags -L${BOOST_LIB} + + python_src_configure \ + --with-html-dir="${EPREFIX}/usr/share/doc/${PF}/html" \ + --with-example-dir="${EPREFIX}/usr/share/doc/${PF}/examples" \ + $(use_enable doc docs) \ + $(use_enable examples) +} + +src_install() { + python_src_install + python_clean_installation_image + dodoc authors.txt HACKING.txt NEWS.txt || die "dodoc failed" + # Don't install useless vpython script. + rm -fr "${ED}usr/bin" +} + +pkg_postinst() { + python_mod_optimize vis visual +} + +pkg_postrm() { + python_mod_cleanup vis visual +} -- 2.26.2