public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Justin Lecher" <jlec@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/sci:master commit in: sci-visualization/v_sim/
Date: Fri, 22 Feb 2013 15:46:46 +0000 (UTC)	[thread overview]
Message-ID: <1361546713.ee5f32f4c7a1778d9839a96dd3d98c47a5c846e6.jlec@gentoo> (raw)

commit:     ee5f32f4c7a1778d9839a96dd3d98c47a5c846e6
Author:     Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Fri Feb 22 15:25:13 2013 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Fri Feb 22 15:25:13 2013 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=ee5f32f4

sci-visualization/v_sim: Drop old; add missing multilib.eclass

Package-Manager: portage-2.2.0_alpha163

---
 sci-visualization/v_sim/ChangeLog          |    6 ++-
 sci-visualization/v_sim/metadata.xml       |   26 ++++----
 sci-visualization/v_sim/v_sim-3.5.1.ebuild |   80 -------------------------
 sci-visualization/v_sim/v_sim-3.5.2.ebuild |   87 ----------------------------
 sci-visualization/v_sim/v_sim-3.6.0.ebuild |    4 +-
 5 files changed, 20 insertions(+), 183 deletions(-)

diff --git a/sci-visualization/v_sim/ChangeLog b/sci-visualization/v_sim/ChangeLog
index 4559b70..1a2d7c0 100644
--- a/sci-visualization/v_sim/ChangeLog
+++ b/sci-visualization/v_sim/ChangeLog
@@ -1,7 +1,11 @@
 # ChangeLog for sci-visualization/v_sim
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+  22 Feb 2013; Justin Lecher <jlec@gentoo.org> -v_sim-3.5.1.ebuild,
+  -v_sim-3.5.2.ebuild, v_sim-3.6.0.ebuild, metadata.xml:
+  Drop old; add missing multilib.eclass
+
   08 Jun 2011; Dongxu Li <dongxuli2011@gmail.com> +v_sim-3.6.0.ebuild:
   Version bump to 3.6.0, added USE flags: cube xsf. Added dependency of 
   sci-libs/etsf_io for USE=abinit, still need to fix sci-physics/abinit for proper abinit plugin support

diff --git a/sci-visualization/v_sim/metadata.xml b/sci-visualization/v_sim/metadata.xml
index 03c243c..7064fe1 100644
--- a/sci-visualization/v_sim/metadata.xml
+++ b/sci-visualization/v_sim/metadata.xml
@@ -1,17 +1,17 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
 <pkgmetadata>
-<herd>sci</herd>
-<maintainer>
-  <email>sci@gentoo.org</email>
-</maintainer>
-<maintainer>
-  <email>dongxuli2011@gmail.com</email>
-</maintainer>
-<use>
-	<flag name='abinit'>Add support for ABINIT file formats <pkg>sci-physics/abinit</pkg></flag>
-	<flag name='cube'>Add support plug-in support for Cube files (densities and structures)</flag>
-	<flag name='openbabel'>Add support for ABINIT file formats <pkg>sci-chemistry/openbabel</pkg></flag>
-	<flag name='xsf'>plug-in support for files that follow the XCrysDen format for structural positions and densities</flag>
-</use>
+  <herd>sci</herd>
+  <maintainer>
+    <email>sci@gentoo.org</email>
+  </maintainer>
+  <maintainer>
+    <email>dongxuli2011@gmail.com</email>
+  </maintainer>
+  <use>
+    <flag name="abinit">Add support for ABINIT file formats <pkg>sci-physics/abinit</pkg></flag>
+    <flag name="cube">Add support plug-in support for Cube files (densities and structures)</flag>
+    <flag name="openbabel">Add support for ABINIT file formats <pkg>sci-chemistry/openbabel</pkg></flag>
+    <flag name="xsf">plug-in support for files that follow the XCrysDen format for structural positions and densities</flag>
+  </use>
 </pkgmetadata>

diff --git a/sci-visualization/v_sim/v_sim-3.5.1.ebuild b/sci-visualization/v_sim/v_sim-3.5.1.ebuild
deleted file mode 100644
index ee8253a..0000000
--- a/sci-visualization/v_sim/v_sim-3.5.1.ebuild
+++ /dev/null
@@ -1,80 +0,0 @@
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-EAPI="4"
-
-inherit eutils
-
-DESCRIPTION="Displays atomic structures such as crystals, gain boudaries, molecules"
-HOMEPAGE="http://www-drfmc.cea.fr/sp2m/L_Sim/V_Sim/index.en.html"
-SRC_URI="http://www-drfmc.cea.fr/sp2m/L_Sim/V_Sim/download/${P}.tar.bz2"
-
-LICENSE="CeCILL-1.1"
-SLOT="0"
-KEYWORDS="~amd64 ~x86 ~alpha"
-
-# doc:   Adds developer documentation (/usr/share/doc/${PF}/APIreference/)
-#        Example files are copied even when USE='-doc'
-# debug: Adds console debug messages. This is really verbose.
-IUSE="debug doc"
-
-RDEPEND="
-	x11-libs/gtk+:2
-	dev-libs/glib:2
-	x11-libs/pango
-	media-libs/libpng
-	virtual/opengl"
-DEPEND="${RDEPEND}
-	sys-apps/sed
-	doc?  ( >=dev-util/gtk-doc-1.4-r1 )"
-
-src_prepare() {
-	# The author follows Debian conventions, hence the example files and docs
-	# end up in /usr/share/doc/${PN} instead of /usr/share/doc/${PF}. We
-	# correct this here.
-	sed -i -e "s@/doc/.\${package}.@/doc/${PF}@g" -e "s@/doc/\$PACKAGE@/doc/${PF}@g" configure \
-		|| die "sed failed on tweaking configure file"
-	# TODO: test if this can be done via --docdir
-
-	# The /share/ directories are #define in the code and must be adapted.
-	sed -i -e "s:/usr/local/:/usr/:g" src/visu_basic.c || die "sed failed on updating directories in visu_basic.c"
-}
-
-src_configure() {
-	if use doc ; then
-		gtkdocize
-	fi
-
-	econf \
-		$(use_enable doc gtk-doc) \
-		$(use_enable debug debug-messages)
-}
-
-src_compile() {
-	HOME="${S}" emake
-}
-
-src_install() {
-	emake DESTDIR="${D}" install
-}
-
-pkg_postinst() {
-	einfo "Example files are in /usr/share/doc/${PF}/examples"
-	einfo "(even with USE='-doc')"
-	einfo ""
-	einfo "The global v_sim config files are in /usr/share/${PN}/"
-	einfo "There are a few options which can only be configured in these files"
-	einfo "and not through the UI. For example, one can specify different"
-	einfo "colors for the box and the axes in the files, but in the UI one can"
-	einfo "only change them together."
-	einfo ""
-	einfo "V_sim uses by default its own weird gtk skin. You can edit the"
-	einfo "skin settings in /usr/share/${PN}/v_sim.rc"
-	einfo "You can change the skin file used in the config file v_sim.par:"
-	einfo "Go to the line 'config_skin[gtk]: V_Sim'. The argument may be:"
-	einfo "'V_Sim', 'none' or the path to your own rc file. The keyword "
-	einfo "'V_Sim' stands for the default rc file, /usr/share/v_sim/v_sim.rc"
-	einfo "If you choose 'none' or if you comment the line, your current"
-	einfo "gtk skin will be used."
-}

diff --git a/sci-visualization/v_sim/v_sim-3.5.2.ebuild b/sci-visualization/v_sim/v_sim-3.5.2.ebuild
deleted file mode 100644
index 478cacb..0000000
--- a/sci-visualization/v_sim/v_sim-3.5.2.ebuild
+++ /dev/null
@@ -1,87 +0,0 @@
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-EAPI="4"
-
-inherit eutils
-
-DESCRIPTION="Displays atomic structures such as crystals, gain boudaries, molecules"
-HOMEPAGE="http://www-drfmc.cea.fr/sp2m/L_Sim/V_Sim/index.en.html"
-SRC_URI="http://www-drfmc.cea.fr/sp2m/L_Sim/V_Sim/download/${P}.tar.bz2"
-
-LICENSE="CeCILL-1.1"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-# doc:   Adds developer documentation (/usr/share/doc/${PF}/APIreference/)
-#        Example files are copied even when USE='-doc'
-# debug: Adds console debug messages. This is really verbose.
-IUSE="abinit blas debug doc netcdf openbabel"
-
-RDEPEND="
-	x11-libs/gtk+:2
-	dev-libs/glib:2
-	x11-libs/pango
-	media-libs/libpng
-	virtual/opengl"
-DEPEND="${RDEPEND}
-	abinit? ( sci-physics/abinit )
-	blas? ( virtual/blas )
-	sys-apps/sed
-	netcdf? ( sci-libs/netcdf )
-	openbabel? ( sci-chemistry/openbabel )
-	doc?  ( >=dev-util/gtk-doc-1.4-r1 )"
-
-src_prepare() {
-	# The author follows Debian conventions, hence the example files and docs
-	# end up in /usr/share/doc/${PN} instead of /usr/share/doc/${PF}. We
-	# correct this here.
-	sed -i -e "s@/doc/.\${package}.@/doc/${PF}@g" -e "s@/doc/\$PACKAGE@/doc/${PF}@g" configure \
-		|| die "sed failed on tweaking configure file"
-	# TODO: test if this can be done via --docdir
-
-	# The /share/ directories are #define in the code and must be adapted.
-	sed -i -e "s:/usr/local/:/usr/:g" src/visu_basic.c || die "sed failed on updating directories in visu_basic.c"
-}
-
-src_configure() {
-	if use doc ; then
-		gtkdocize
-	fi
-
-	econf \
-		$(use_with blas) \
-		$(use_with netcdf) \
-		$(use_with openbabel) \
-		$(use_enable doc gtk-doc) \
-		$(use_enable debug debug-messages)
-}
-
-src_compile() {
-	HOME="${S}" emake
-}
-
-src_install() {
-	emake DESTDIR="${D}" install
-}
-
-pkg_postinst() {
-	einfo "Example files are in /usr/share/doc/${PF}/examples"
-	einfo "(even with USE='-doc')"
-	einfo ""
-	einfo "The global v_sim config files are in /usr/share/${PN}/"
-	einfo "There are a few options which can only be configured in these files"
-	einfo "and not through the UI. For example, one can specify different"
-	einfo "colors for the box and the axes in the files, but in the UI one can"
-	einfo "only change them together."
-	einfo ""
-	einfo "V_sim uses by default its own weird gtk skin. You can edit the"
-	einfo "skin settings in /usr/share/${PN}/v_sim.rc"
-	einfo "You can change the skin file used in the config file v_sim.par:"
-	einfo "Go to the line 'config_skin[gtk]: V_Sim'. The argument may be:"
-	einfo "'V_Sim', 'none' or the path to your own rc file. The keyword "
-	einfo "'V_Sim' stands for the default rc file, /usr/share/v_sim/v_sim.rc"
-	einfo "If you choose 'none' or if you comment the line, your current"
-	einfo "gtk skin will be used."
-}

diff --git a/sci-visualization/v_sim/v_sim-3.6.0.ebuild b/sci-visualization/v_sim/v_sim-3.6.0.ebuild
index 2386617..9e74775 100644
--- a/sci-visualization/v_sim/v_sim-3.6.0.ebuild
+++ b/sci-visualization/v_sim/v_sim-3.6.0.ebuild
@@ -1,10 +1,10 @@
-# Copyright 1999-2011 Gentoo Foundation
+# Copyright 1999-2013 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Header: $
 
 EAPI="4"
 
-inherit eutils
+inherit eutils multilib
 
 DESCRIPTION="Displays atomic structures such as crystals, gain boudaries, molecules"
 HOMEPAGE="http://www-drfmc.cea.fr/sp2m/L_Sim/V_Sim/index.en.html"


             reply	other threads:[~2013-02-22 15:47 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-22 15:46 Justin Lecher [this message]
  -- strict thread matches above, loose matches on Subject: below --
2011-06-24 17:09 [gentoo-commits] proj/sci:master commit in: sci-visualization/v_sim/ Justin Lecher
2011-06-08 12:22 Dongxu Li
2011-06-08  5:27 Dongxu Li
2011-04-09 21:46 Dongxu Li
2011-03-07 12:01 Justin Lecher

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1361546713.ee5f32f4c7a1778d9839a96dd3d98c47a5c846e6.jlec@gentoo \
    --to=jlec@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox