From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 24FF0198005 for ; Fri, 22 Feb 2013 15:47:03 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2F34821C0AC; Fri, 22 Feb 2013 15:46:51 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 3892C21C0AC for ; Fri, 22 Feb 2013 15:46:50 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 6B23633E184 for ; Fri, 22 Feb 2013 15:46:48 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id 7A914E409D for ; Fri, 22 Feb 2013 15:46:46 +0000 (UTC) From: "Justin Lecher" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Justin Lecher" Message-ID: <1361546713.ee5f32f4c7a1778d9839a96dd3d98c47a5c846e6.jlec@gentoo> Subject: [gentoo-commits] proj/sci:master commit in: sci-visualization/v_sim/ X-VCS-Repository: proj/sci X-VCS-Files: sci-visualization/v_sim/ChangeLog sci-visualization/v_sim/metadata.xml sci-visualization/v_sim/v_sim-3.5.1.ebuild sci-visualization/v_sim/v_sim-3.5.2.ebuild sci-visualization/v_sim/v_sim-3.6.0.ebuild X-VCS-Directories: sci-visualization/v_sim/ X-VCS-Committer: jlec X-VCS-Committer-Name: Justin Lecher X-VCS-Revision: ee5f32f4c7a1778d9839a96dd3d98c47a5c846e6 X-VCS-Branch: master Date: Fri, 22 Feb 2013 15:46:46 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: dbf0ec7e-7414-410e-b773-bdc09b14899d X-Archives-Hash: c18d09a2fc88a3e276d539ac84944e0c commit: ee5f32f4c7a1778d9839a96dd3d98c47a5c846e6 Author: Justin Lecher gentoo org> AuthorDate: Fri Feb 22 15:25:13 2013 +0000 Commit: Justin Lecher gentoo 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 -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 +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 @@ -sci - - sci@gentoo.org - - - dongxuli2011@gmail.com - - - Add support for ABINIT file formats sci-physics/abinit - Add support plug-in support for Cube files (densities and structures) - Add support for ABINIT file formats sci-chemistry/openbabel - plug-in support for files that follow the XCrysDen format for structural positions and densities - + sci + + sci@gentoo.org + + + dongxuli2011@gmail.com + + + Add support for ABINIT file formats sci-physics/abinit + Add support plug-in support for Cube files (densities and structures) + Add support for ABINIT file formats sci-chemistry/openbabel + plug-in support for files that follow the XCrysDen format for structural positions and densities + 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"