diff options
author | Sebastien Fabbro <bicatali@gentoo.org> | 2012-03-16 16:29:07 +0000 |
---|---|---|
committer | Sebastien Fabbro <bicatali@gentoo.org> | 2012-03-16 16:29:07 +0000 |
commit | 88fb47417b7a418b34336494a8c9ea14ec0c29a2 (patch) | |
tree | 1718cd7de4f62bdf94a8e036dbcc4ed62aecf4d8 /dev-python/visual | |
parent | take out unused libXmu mention (bug #408457) (diff) | |
download | historical-88fb47417b7a418b34336494a8c9ea14ec0c29a2.tar.gz historical-88fb47417b7a418b34336494a8c9ea14ec0c29a2.tar.bz2 historical-88fb47417b7a418b34336494a8c9ea14ec0c29a2.zip |
Dependency on polygon:2 only
Package-Manager: portage-2.1.10.44/cvs/Linux x86_64
Diffstat (limited to 'dev-python/visual')
-rw-r--r-- | dev-python/visual/ChangeLog | 8 | ||||
-rw-r--r-- | dev-python/visual/Manifest | 15 | ||||
-rw-r--r-- | dev-python/visual/visual-5.72-r2.ebuild (renamed from dev-python/visual/visual-5.72-r1.ebuild) | 18 | ||||
-rw-r--r-- | dev-python/visual/visual-5.72.ebuild | 79 |
4 files changed, 30 insertions, 90 deletions
diff --git a/dev-python/visual/ChangeLog b/dev-python/visual/ChangeLog index 829a4b310118..45fdf7c0cfaa 100644 --- a/dev-python/visual/ChangeLog +++ b/dev-python/visual/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-python/visual # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/visual/ChangeLog,v 1.54 2012/02/25 02:00:49 patrick Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/visual/ChangeLog,v 1.55 2012/03/16 16:29:07 bicatali Exp $ + +*visual-5.72-r2 (16 Mar 2012) + + 16 Mar 2012; SĂ©bastien Fabbro <bicatali@gentoo.org> -visual-5.72.ebuild, + -visual-5.72-r1.ebuild, +visual-5.72-r2.ebuild: + Dependency on polygon:2 only 25 Feb 2012; Patrick Lauer <patrick@gentoo.org> visual-5.4.ebuild, visual-5.72-r1.ebuild, visual-5.72.ebuild: diff --git a/dev-python/visual/Manifest b/dev-python/visual/Manifest index c1415702ad6d..818bb3bd1ca7 100644 --- a/dev-python/visual/Manifest +++ b/dev-python/visual/Manifest @@ -1,7 +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 1955 RMD160 38d5a9d141b2bcbf7a5d59e6bd4f4b03c3e3ec7f SHA1 9f39aaca1d58bfe81ce3705d0c2235695cd5a87c SHA256 aa70b4d046213ee01b8ccbd9efbf999af709be4b72645b3d070eee8ef933c974 -EBUILD visual-5.72-r1.ebuild 2382 RMD160 6c6341a934e815bcb4f946fed8ca570dd4031268 SHA1 2f1187743183682b3a481cc44a4fff198155b36c SHA256 a82cddc1b981d1547c5fba63d28655895928df2e8b00dc51a1bd96bf1be0439d -EBUILD visual-5.72.ebuild 2115 RMD160 d79d514a3f96fe7982c08be621ecd3e95cde1076 SHA1 687d33da1cc4c1d937d7408d02315a159fa20811 SHA256 63c4ffbd780fd957cd7c481b71dda33f9e2836ad30ee02f260248caee15e3941 -MISC ChangeLog 7382 RMD160 9e4cbb0f4412a81a5e629e7a7cce909f2ba3e3f8 SHA1 b41a472e13d947f630057a269281a2a82a29b9fb SHA256 3590c4cd02f2e1b083b4c164a104d31eaddf26d6ecb605bf60c29a7b9763c686 +EBUILD visual-5.72-r2.ebuild 2379 RMD160 b5f26089dddc802d384c1adc656407741299a46f SHA1 08f9ce7a22ae0a7734822221008ec14a46aa1f4f SHA256 0f48707eaedbf482f8a9e329495e6f541651bebad2c4f3530dd6c1bc3193d4e7 +MISC ChangeLog 7572 RMD160 e2485bb842d73fe3e3da751cc41547e9ca2084b7 SHA1 81fcb0fb7adc902a899af80e383b0a56b879c87e SHA256 c6edebd098cef846ac74b4354524226ef6a71cd11d4c5146f7400980cb40c8d1 MISC metadata.xml 161 RMD160 295dca78d1e997a333dcf54b6084afa5298b28fa SHA1 01db574d7072c1e555e182f88e889d11d3ae49bc SHA256 54c4e6d783f2571466c7b03622195c255b95cf06209e59ab6653a6366cdfde6e +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.18 (GNU/Linux) + +iEYEARECAAYFAk9jalwACgkQ1ycZbhPLE2Dj5ACcDQ/5Ygi9z0mWHqocq7JFcheH +FhgAnAn0Fl9/PfFz3kPE0hwkvG2fn+K7 +=TH4T +-----END PGP SIGNATURE----- diff --git a/dev-python/visual/visual-5.72-r1.ebuild b/dev-python/visual/visual-5.72-r2.ebuild index fe7e7af0f002..c8b774bc9e98 100644 --- a/dev-python/visual/visual-5.72-r1.ebuild +++ b/dev-python/visual/visual-5.72-r2.ebuild @@ -1,10 +1,10 @@ # 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-r1.ebuild,v 1.5 2012/02/25 02:00:49 patrick Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/visual/visual-5.72-r2.ebuild,v 1.1 2012/03/16 16:29:07 bicatali Exp $ EAPI="4" SUPPORT_PYTHON_ABIS="1" -RESTRICT_PYTHON_ABIS="2.5 *-jython 2.7-pypy-*" +RESTRICT_PYTHON_ABIS="2.5 3.* *-jython 2.7-pypy-*" PYTHON_EXPORT_PHASE_FUNCTIONS="1" inherit flag-o-matic multilib python versionator @@ -24,7 +24,7 @@ RDEPEND=">=dev-cpp/gtkglextmm-1.2 dev-cpp/libglademm >=dev-libs/boost-1.48[python] dev-python/numpy - dev-python/polygon + dev-python/polygon:2 dev-python/ttfquery" DEPEND="${RDEPEND} dev-util/pkgconfig" @@ -34,19 +34,23 @@ S="${WORKDIR}/${MY_P}" src_prepare() { # Delete redundant file, which causes compilation failure. rm -f src/gtk2/random_device.cpp - sed -e "s/ random_device.l\?o//" -i src/Makefile.in src/gtk2/makefile || die "sed failed" + sed -i \ + -e "s/ random_device.l\?o//" \ + src/Makefile.in src/gtk2/makefile || die # Verbose build. - sed -e 's/2\?>>[[:space:]]*\$(LOGFILE).*//' -i src/Makefile.in || die "sed failed" + sed -i \ + -e 's/2\?>>[[:space:]]*\$(LOGFILE).*//' \ + src/Makefile.in || die python_clean_py-compile_files python_src_prepare preparation() { - sed \ + sed -i \ -e "s/-lboost_python/-lboost_python-${PYTHON_ABI}/" \ -e "s/libboost_python/libboost_python-${PYTHON_ABI}/" \ - -i src/Makefile.in src/gtk2/makefile + src/Makefile.in src/gtk2/makefile } python_execute_function -s preparation } diff --git a/dev-python/visual/visual-5.72.ebuild b/dev-python/visual/visual-5.72.ebuild deleted file mode 100644 index 906dec4cebfe..000000000000 --- a/dev-python/visual/visual-5.72.ebuild +++ /dev/null @@ -1,79 +0,0 @@ -# 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.6 2012/02/25 02:00:49 patrick Exp $ - -EAPI="3" -SUPPORT_PYTHON_ABIS="1" -RESTRICT_PYTHON_ABIS="2.5 *-jython 2.7-pypy-*" -PYTHON_EXPORT_PHASE_FUNCTIONS="1" - -inherit flag-o-matic multilib 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.48[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 -} |