commit:     3b9ae47e10dc6b8c366fb2657c0bd33dd8ac6068
Author:     Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Wed Nov 12 16:02:01 2014 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Thu Nov 13 07:09:11 2014 +0000
URL:        http://sources.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=3b9ae47e

sci-libs/bigdft-abi: Move large patch; drop unnecessary quotes

Package-Manager: portage-2.2.14

---
 sci-libs/bigdft-abi/ChangeLog                  |  3 +++
 sci-libs/bigdft-abi/bigdft-abi-1.0.4-r3.ebuild | 33 ++++++++++++++------------
 2 files changed, 21 insertions(+), 15 deletions(-)

diff --git a/sci-libs/bigdft-abi/ChangeLog b/sci-libs/bigdft-abi/ChangeLog
index 8647391..8ecaa02 100644
--- a/sci-libs/bigdft-abi/ChangeLog
+++ b/sci-libs/bigdft-abi/ChangeLog
@@ -2,6 +2,9 @@
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+  12 Nov 2014; Justin Lecher <[email protected]> bigdft-abi-1.0.4-r3.ebuild:
+  Move large patch; drop unnecessary quotes
+
 *bigdft-abi-1.0.4-r3 (27 Jun 2014)
 
   27 Jun 2014; Honza Macháček <[email protected]>

diff --git a/sci-libs/bigdft-abi/bigdft-abi-1.0.4-r3.ebuild 
b/sci-libs/bigdft-abi/bigdft-abi-1.0.4-r3.ebuild
index 511361c..53fcb4c 100644
--- a/sci-libs/bigdft-abi/bigdft-abi-1.0.4-r3.ebuild
+++ b/sci-libs/bigdft-abi/bigdft-abi-1.0.4-r3.ebuild
@@ -4,14 +4,16 @@
 
 EAPI=5
 
-PYTHON_COMPAT=( python2_5 python2_6 python2_7 )
+PYTHON_COMPAT=( python2_7 )
 
 inherit autotools-utils eutils flag-o-matic fortran-2 python-any-r1 
toolchain-funcs
 
-
 DESCRIPTION="A DFT electronic structure code using a wavelet basis set"
 HOMEPAGE="http://www.abinit.org/downloads/plug-in-sources";
-SRC_URI="http://forge.abinit.org/fallbacks/${P}.tar.gz";
+SRC_URI="
+       http://forge.abinit.org/fallbacks/${P}.tar.gz
+       
https://raw.githubusercontent.com/gentoo-science/sci/master/patches/bigdft-abi-1.0.4-0005.patch
+       "
 
 LICENSE="GPL-3"
 SLOT="0"
@@ -29,11 +31,12 @@ RDEPEND="
        opencl? ( virtual/opencl )
        glib? ( >=dev-libs/glib-2.22 )
        etsf_io? ( >=sci-libs/etsf_io-1.0.3-r2 )
-       netcdf? ( || (
-                               sci-libs/netcdf[fortran]
-                               sci-libs/netcdf-fortran
-                               )
+       netcdf? (
+               || (
+                       sci-libs/netcdf[fortran]
+                       sci-libs/netcdf-fortran
                        )
+               )
        scalapack? ( virtual/scalapack )"
 DEPEND="${RDEPEND}
        virtual/pkgconfig
@@ -102,13 +105,13 @@ pkg_setup() {
 
 src_prepare() {
        epatch \
-               "${FILESDIR}"/"${P}"-0002.patch \
-               "${FILESDIR}"/"${P}"-0003.patch \
-               "${FILESDIR}"/"${P}"-0004.patch \
-               "${FILESDIR}"/"${P}"-0005.patch \
-               "${FILESDIR}"/"${P}"-0006.patch \
-               "${FILESDIR}"/"${P}"-0007.patch \
-               "${FILESDIR}"/"${P}"-CUDA_gethostname.patch
+               "${FILESDIR}"/${P}-0002.patch \
+               "${FILESDIR}"/${P}-0003.patch \
+               "${FILESDIR}"/${P}-0004.patch \
+               "${DISTDIR}"/${P}-0005.patch \
+               "${FILESDIR}"/${P}-0006.patch \
+               "${FILESDIR}"/${P}-0007.patch \
+               "${FILESDIR}"/${P}-CUDA_gethostname.patch
 
        eautoreconf
 }
@@ -160,7 +163,7 @@ src_compile() {
        _check_build_dir
        pushd "${AUTOTOOLS_BUILD_DIR}" > /dev/null
        emake -j1
-       sed -i -e's%\$(top_builddir)/[^ ]*/lib\([^ /$-]*\)\.a%-l\1%g' bigdft.pc
+       sed -i -e's%\$(top_builddir)/[^ ]*/lib\([^ /$-]*\)\.a%-l\1%g' bigdft.pc 
|| die
        popd > /dev/null
 
        #autotools-utils_src_compile

Reply via email to