public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in sci-chemistry/openbabel-python: openbabel-python-2.3.2.ebuild metadata.xml ChangeLog
@ 2012-12-23 11:33 Justin Lecher (jlec)
  0 siblings, 0 replies; only message in thread
From: Justin Lecher (jlec) @ 2012-12-23 11:33 UTC (permalink / raw
  To: gentoo-commits

jlec        12/12/23 11:33:46

  Modified:             openbabel-python-2.3.2.ebuild metadata.xml
                        ChangeLog
  Log:
  sci-chemistry/openbabel-python: Add proposed enhancements by mgorny, #448118
  
  (Portage version: 2.2.0_alpha149/cvs/Linux x86_64, signed Manifest commit with key 8009D6F070EB7916)

Revision  Changes    Path
1.2                  sci-chemistry/openbabel-python/openbabel-python-2.3.2.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/openbabel-python/openbabel-python-2.3.2.ebuild?rev=1.2&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/openbabel-python/openbabel-python-2.3.2.ebuild?rev=1.2&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/openbabel-python/openbabel-python-2.3.2.ebuild?r1=1.1&r2=1.2

Index: openbabel-python-2.3.2.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sci-chemistry/openbabel-python/openbabel-python-2.3.2.ebuild,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- openbabel-python-2.3.2.ebuild	6 Dec 2012 17:09:30 -0000	1.1
+++ openbabel-python-2.3.2.ebuild	23 Dec 2012 11:33:46 -0000	1.2
@@ -1,6 +1,6 @@
 # Copyright 1999-2012 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/openbabel-python/openbabel-python-2.3.2.ebuild,v 1.1 2012/12/06 17:09:30 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/openbabel-python/openbabel-python-2.3.2.ebuild,v 1.2 2012/12/23 11:33:46 jlec Exp $
 
 EAPI=5
 
@@ -47,7 +47,6 @@
 
 src_configure() {
 	my_impl_src_configure() {
-		CMAKE_BUILD_DIR="${BUILD_DIR}"
 		local mycmakeargs="${mycmakeargs}
 			-DCMAKE_INSTALL_RPATH=
 			-DBINDINGS_ONLY=ON
@@ -67,29 +66,20 @@
 }
 
 src_compile() {
-	my_impl_src_compile() {
-		CMAKE_BUILD_DIR="${BUILD_DIR}"
-
-		cmake-utils_src_make bindings_python
-	}
-
-	python_foreach_impl my_impl_src_compile
+	python_foreach_impl cmake-utils_src_make bindings_python
 }
 
 src_test() {
-	my_impl_src_test() {
-		CMAKE_BUILD_DIR="${BUILD_DIR}"
-		cmake-utils_src_test -R py
-	}
-
-	python_foreach_impl my_impl_src_test
+	python_foreach_impl cmake-utils_src_test -R py
 }
 
 src_install() {
 	my_impl_src_install() {
-		cd "${BUILD_DIR}"
+		cd "${BUILD_DIR}" || die
 
 		cmake -DCOMPONENT=bindings_python -P cmake_install.cmake
+
+		python_optimize
 	}
 
 	python_foreach_impl my_impl_src_install



1.3                  sci-chemistry/openbabel-python/metadata.xml

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

Index: metadata.xml
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sci-chemistry/openbabel-python/metadata.xml,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- metadata.xml	13 Sep 2011 14:39:45 -0000	1.2
+++ metadata.xml	23 Dec 2012 11:33:46 -0000	1.3
@@ -1,8 +1,8 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
 <pkgmetadata>
-	<herd>sci-chemistry</herd>
-	<longdescription>
+  <herd>sci-chemistry</herd>
+  <longdescription>
 OpenBabel is a chemical toolbox designed to speak the many languages of
 chemical data. It's an open, collaborative project allowing anyone to
 search, convert, analyze, or store data from molecular modeling, chemistry,



1.10                 sci-chemistry/openbabel-python/ChangeLog

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

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sci-chemistry/openbabel-python/ChangeLog,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- ChangeLog	6 Dec 2012 17:09:30 -0000	1.9
+++ ChangeLog	23 Dec 2012 11:33:46 -0000	1.10
@@ -1,6 +1,10 @@
 # ChangeLog for sci-chemistry/openbabel-python
 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/openbabel-python/ChangeLog,v 1.9 2012/12/06 17:09:30 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/openbabel-python/ChangeLog,v 1.10 2012/12/23 11:33:46 jlec Exp $
+
+  23 Dec 2012; Justin Lecher <jlec@gentoo.org> openbabel-python-2.3.2.ebuild,
+  metadata.xml:
+  Add proposed enhancements by mgorny, #448118
 
 *openbabel-python-2.3.2 (06 Dec 2012)
 





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

only message in thread, other threads:[~2012-12-23 11:33 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-12-23 11:33 [gentoo-commits] gentoo-x86 commit in sci-chemistry/openbabel-python: openbabel-python-2.3.2.ebuild metadata.xml ChangeLog 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