Permalink
Browse files

openbabel-python: Enter BUILD_DIR in src_install

python-r1.eclass doesn't enter BUILD_DIR in python_foreach_impl.
  • Loading branch information...
Reinis committed Nov 10, 2012
1 parent acd177a commit d3af8bbc041e004862d0480cf290cc4f9eb820ac
@@ -2,6 +2,10 @@
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+ 10 Nov 2012; Reinis Danne <rei4dan@gmail.com> openbabel-python-2.3.2.ebuild:
+ python-r1.eclass doesn't enter BUILD_DIR in python_foreach_impl, do it
+ manually where necessary.
+
*openbabel-python-2.3.2 (19 Oct 2012)
19 Oct 2012; Reinis Danne <rei4dan@gmail.com> +openbabel-python-2.3.2.ebuild,
@@ -84,5 +84,11 @@ src_test() {
}
src_install() {
- python_foreach_impl cmake -DCOMPONENT=bindings_python -P cmake_install.cmake
+ my_impl_src_install() {
+ cd "${BUILD_DIR}"
+
+ cmake -DCOMPONENT=bindings_python -P cmake_install.cmake
+ }
+
+ python_foreach_impl my_impl_src_install
}

0 comments on commit d3af8bb

Please sign in to comment.