From 66e3dd43157660535b86aebcb07a705ad51036a8 Mon Sep 17 00:00:00 2001 From: Arfrever Frehtes Taifersar Arahesis Date: Mon, 5 Apr 2010 17:11:20 +0000 Subject: Fix versioning. (Portage version: HEAD/cvs/Linux x86_64) --- dev-python/visual/ChangeLog | 8 +++++- dev-python/visual/visual-5.1.3.ebuild | 53 +++++++++++++++++++++++++++++++++++ dev-python/visual/visual-5.12.ebuild | 52 ---------------------------------- dev-python/visual/visual-5.13.ebuild | 52 ---------------------------------- 4 files changed, 60 insertions(+), 105 deletions(-) create mode 100644 dev-python/visual/visual-5.1.3.ebuild delete mode 100644 dev-python/visual/visual-5.12.ebuild delete mode 100644 dev-python/visual/visual-5.13.ebuild (limited to 'dev-python') diff --git a/dev-python/visual/ChangeLog b/dev-python/visual/ChangeLog index 8fb9472d05f6..cdf130ab105a 100644 --- a/dev-python/visual/ChangeLog +++ b/dev-python/visual/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-python/visual # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/visual/ChangeLog,v 1.35 2010/02/08 08:50:56 pva Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/visual/ChangeLog,v 1.36 2010/04/05 17:11:20 arfrever Exp $ + +*visual-5.1.3 (05 Apr 2010) + + 05 Apr 2010; Arfrever Frehtes Taifersar Arahesis + +visual-5.1.3.ebuild, -visual-5.12.ebuild, -visual-5.13.ebuild: + Fix versioning. 08 Feb 2010; Peter Volkov visual-3.2.9-r2.ebuild: Add inherit eutils for epatch. diff --git a/dev-python/visual/visual-5.1.3.ebuild b/dev-python/visual/visual-5.1.3.ebuild new file mode 100644 index 000000000000..007dd7ba517c --- /dev/null +++ b/dev-python/visual/visual-5.1.3.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/visual/visual-5.1.3.ebuild,v 1.1 2010/04/05 17:11:20 arfrever Exp $ + +EAPI="2" + +inherit eutils python flag-o-matic 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 ~ppc ~x86" +LICENSE="visual" + +RDEPEND=">=dev-libs/boost-1.41.0[python] + dev-cpp/libglademm + >=dev-cpp/gtkglextmm-1.2 + dev-python/numpy" +DEPEND="${RDEPEND} + dev-util/pkgconfig" + +S="${WORKDIR}/${MY_P}" + +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="/usr/include/boost-${BOOST_VER}" + BOOST_LIB="/usr/$(get_libdir)/boost-${BOOST_VER}" + + #We have to use a hack here because the build system doesn't provide a way to specify + #the include and lib directory for boost + append-cxxflags -I${BOOST_INC} + append-ldflags -L${BOOST_LIB} + + 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 +} diff --git a/dev-python/visual/visual-5.12.ebuild b/dev-python/visual/visual-5.12.ebuild deleted file mode 100644 index 871b24a0ac90..000000000000 --- a/dev-python/visual/visual-5.12.ebuild +++ /dev/null @@ -1,52 +0,0 @@ -# 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.12.ebuild,v 1.2 2009/12/09 15:50:38 grozin Exp $ - -EAPI=2 -inherit eutils python flag-o-matic versionator - -MY_P="${P}_release" -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.41.0[python] - dev-cpp/libglademm - >=dev-cpp/gtkglextmm-1.2 - dev-python/numpy" - -DEPEND="${RDEPEND} - dev-util/pkgconfig" - -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="/usr/include/boost-${BOOST_VER}" - BOOST_LIB="/usr/$(get_libdir)/boost-${BOOST_VER}" - - #We have to use a hack here because the build system doesn't provide a way to specify - #the include and lib directory for boost - append-cxxflags -I${BOOST_INC} - append-ldflags -L${BOOST_LIB} - - 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 -} diff --git a/dev-python/visual/visual-5.13.ebuild b/dev-python/visual/visual-5.13.ebuild deleted file mode 100644 index ab7a73fc2241..000000000000 --- a/dev-python/visual/visual-5.13.ebuild +++ /dev/null @@ -1,52 +0,0 @@ -# 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.13.ebuild,v 1.2 2009/12/09 15:50:38 grozin Exp $ - -EAPI=2 -inherit eutils python flag-o-matic versionator - -MY_P="${P}_release" -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.41.0[python] - dev-cpp/libglademm - >=dev-cpp/gtkglextmm-1.2 - dev-python/numpy" - -DEPEND="${RDEPEND} - dev-util/pkgconfig" - -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="/usr/include/boost-${BOOST_VER}" - BOOST_LIB="/usr/$(get_libdir)/boost-${BOOST_VER}" - - #We have to use a hack here because the build system doesn't provide a way to specify - #the include and lib directory for boost - append-cxxflags -I${BOOST_INC} - append-ldflags -L${BOOST_LIB} - - 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 -} -- cgit v1.2.3-65-gdbad