public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in sci-chemistry/gopenmol: metadata.xml ChangeLog gopenmol-3.00-r2.ebuild
@ 2012-04-02  6:06 Justin Lecher (jlec)
  0 siblings, 0 replies; only message in thread
From: Justin Lecher (jlec) @ 2012-04-02  6:06 UTC (permalink / raw
  To: gentoo-commits

jlec        12/04/02 06:06:42

  Modified:             metadata.xml ChangeLog gopenmol-3.00-r2.ebuild
  Log:
  Drop tk version restriction, move to EAPI=4
  
  (Portage version: 2.2.0_alpha96/cvs/Linux x86_64)

Revision  Changes    Path
1.5                  sci-chemistry/gopenmol/metadata.xml

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/gopenmol/metadata.xml?rev=1.5&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/gopenmol/metadata.xml?rev=1.5&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/gopenmol/metadata.xml?r1=1.4&r2=1.5

Index: metadata.xml
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sci-chemistry/gopenmol/metadata.xml,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- metadata.xml	20 Sep 2006 05:09:00 -0000	1.4
+++ metadata.xml	2 Apr 2012 06:06:41 -0000	1.5
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
 <pkgmetadata>
-<herd>sci-chemistry</herd>
+	<herd>sci-chemistry</herd>
 </pkgmetadata>



1.12                 sci-chemistry/gopenmol/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/gopenmol/ChangeLog?rev=1.12&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/gopenmol/ChangeLog?rev=1.12&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/gopenmol/ChangeLog?r1=1.11&r2=1.12

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sci-chemistry/gopenmol/ChangeLog,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- ChangeLog	8 Nov 2010 17:12:40 -0000	1.11
+++ ChangeLog	2 Apr 2012 06:06:41 -0000	1.12
@@ -1,6 +1,10 @@
 # ChangeLog for sci-chemistry/gopenmol
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/gopenmol/ChangeLog,v 1.11 2010/11/08 17:12:40 xarthisius Exp $
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/gopenmol/ChangeLog,v 1.12 2012/04/02 06:06:41 jlec Exp $
+
+  02 Apr 2012; Justin Lecher <jlec@gentoo.org> gopenmol-3.00-r2.ebuild,
+  metadata.xml:
+  Drop tk version restriction, move to EAPI=4
 
   08 Nov 2010; Kacper Kowalik <xarthisius@gentoo.org>
   -gopenmol-3.00-r1.ebuild, gopenmol-3.00-r2.ebuild:



1.5                  sci-chemistry/gopenmol/gopenmol-3.00-r2.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/gopenmol/gopenmol-3.00-r2.ebuild?rev=1.5&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/gopenmol/gopenmol-3.00-r2.ebuild?rev=1.5&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/gopenmol/gopenmol-3.00-r2.ebuild?r1=1.4&r2=1.5

Index: gopenmol-3.00-r2.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sci-chemistry/gopenmol/gopenmol-3.00-r2.ebuild,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- gopenmol-3.00-r2.ebuild	8 Nov 2010 17:12:40 -0000	1.4
+++ gopenmol-3.00-r2.ebuild	2 Apr 2012 06:06:41 -0000	1.5
@@ -1,27 +1,27 @@
-# Copyright 1999-2010 Gentoo Foundation
+# Copyright 1999-2012 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/gopenmol/gopenmol-3.00-r2.ebuild,v 1.4 2010/11/08 17:12:40 xarthisius Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/gopenmol/gopenmol-3.00-r2.ebuild,v 1.5 2012/04/02 06:06:41 jlec Exp $
 
-EAPI="3"
+EAPI=4
 
 PYTHON_DEPEND="2"
 
 inherit eutils multilib prefix python
 
 DESCRIPTION="Tool for the visualization and analysis of molecular structures"
-HOMEPAGE="http://www.csc.fi/gopenmol"
+HOMEPAGE="http://www.csc.fi/gopenmol/"
 SRC_URI="${HOMEPAGE}/distribute/${P}-linux.tar.gz"
 
 LICENSE="as-is"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
 IUSE=""
 
 RDEPEND="
-	=dev-lang/tk-8.4*
+	dev-lang/tk
 	dev-tcltk/bwidget
-	virtual/jpeg
 	media-libs/freeglut
+	virtual/jpeg
 	virtual/opengl
 	x11-libs/libICE
 	x11-libs/libXau
@@ -29,47 +29,39 @@
 	x11-libs/libXi
 	x11-libs/libXmu
 	x11-libs/libXxf86vm"
-
 DEPEND="${RDEPEND}"
 
 S="${WORKDIR}/gOpenMol-${PV}/src"
 
 pkg_setup() {
 	python_set_active_version 2
+	python_pkg_setup
 }
 
 src_prepare() {
-	epatch "${FILESDIR}"/${PV}-include-config-for-plugins.patch
-	epatch "${FILESDIR}"/${PV}-multilib.patch
+	epatch \
+		"${FILESDIR}"/${PV}-include-config-for-plugins.patch \
+		"${FILESDIR}"/${PV}-multilib.patch
 
 	sed \
 		-e "s:GENTOOLIBDIR:$(get_libdir):g" \
-		-i config.mk.ac plugins/config.mk.ac
+		-i config.mk.ac plugins/config.mk.ac || die
 	sed "/GOM_TEMP/s:^.*$:GOM_TEMP=\"${EPREFIX}/tmp/:g" -i ../environment.txt || die
 }
 
 src_compile() {
-	emake || die "emake failed"
+	default
 
-	# Plugins are not built by default
-	cd "${S}"/plugins
-	emake || die "emake plugins failed"
-
-	# Utilities are not built by default
-	cd "${S}"/utility
-	emake || die "emake utility failed"
+	# Plugins and Utilities are not built by default
+	cd "${S}"/plugins && emake
+	cd "${S}"/utility && emake
 }
 
 src_install() {
-	einstall || die "einstall failed"
-
-	cd "${S}"/plugins
-	einstall || die "einstall plugins failed"
-
-	cd "${S}"/utility
-	einstall || die "einstall utility failed"
+	einstall
 
-	dosed /usr/bin/rungOpenMol
+	cd "${S}"/plugins && einstall
+	cd "${S}"/utility && einstall
 
 	dosym ../$(get_libdir)/gOpenMol-${PV}/bin/${PN} /usr/bin/${PN}
 






^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2012-04-02  6:06 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-04-02  6:06 [gentoo-commits] gentoo-x86 commit in sci-chemistry/gopenmol: metadata.xml ChangeLog gopenmol-3.00-r2.ebuild Justin Lecher (jlec)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox