public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Honza Macháček" <Hloupy.Honza@centrum.cz>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/sci:master commit in: sci-physics/abinit/
Date: Thu, 26 Sep 2013 09:41:34 +0000 (UTC)	[thread overview]
Message-ID: <1380188472.57e910123f7b13b8db2cdb6d48db0fa8e4798953.honza_machacek@gentoo> (raw)

commit:     57e910123f7b13b8db2cdb6d48db0fa8e4798953
Author:     Honza Macháček <Hloupy.Honza <AT> centrum <DOT> cz>
AuthorDate: Thu Sep 26 09:41:12 2013 +0000
Commit:     Honza Macháček <Hloupy.Honza <AT> centrum <DOT> cz>
CommitDate: Thu Sep 26 09:41:12 2013 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=57e91012

sci-physics/abinit-7.4.2 finally made to actually build and install (tests have to be configured for their Makefile to be where it is looked for during the installation). Testing scripts, written for Python 2, made to run in an environment with Python 3 selected as the main interpreter.

Package-Manager: portage-2.2.6

---
 sci-physics/abinit/ChangeLog           |  6 ++++++
 sci-physics/abinit/abinit-7.4.2.ebuild | 15 ++++-----------
 2 files changed, 10 insertions(+), 11 deletions(-)

diff --git a/sci-physics/abinit/ChangeLog b/sci-physics/abinit/ChangeLog
index 4cde21a..ac91ec6 100644
--- a/sci-physics/abinit/ChangeLog
+++ b/sci-physics/abinit/ChangeLog
@@ -2,6 +2,12 @@
 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+  26 Sep 2013; Honza Macháček <Hloupy.Honza@centrum.cz> abinit-7.4.2.ebuild:
+  sci-physics/abinit-7.4.2 finally made to actually build and install (tests
+  have to be configured for their Makefile to be where it is looked for during
+  the installation). Testing scripts, written for Python 2, made to run in an
+  environment with Python 3 selected as the main interpreter.
+
   19 Sep 2013; Honza Macháček <Hloupy.Honza@centrum.cz> metadata.xml:
   The metadata of sci-physics/abinit augmented by the description of the etsf_io
   USE flag.

diff --git a/sci-physics/abinit/abinit-7.4.2.ebuild b/sci-physics/abinit/abinit-7.4.2.ebuild
index 41441a6..d46593f 100644
--- a/sci-physics/abinit/abinit-7.4.2.ebuild
+++ b/sci-physics/abinit/abinit-7.4.2.ebuild
@@ -182,6 +182,7 @@ src_prepare() {
 		"${FILESDIR}"/7.4.2-syntax.patch
 	eautoreconf
 	sed -e"s/\(grep '\^-\)\(\[LloW\]\)'/\1\\\(\2\\\|pthread\\\)'/g" -i configure
+	python_fix_shebang "${S}"/tests
 }
 
 src_configure() {
@@ -234,6 +235,7 @@ src_configure() {
 	local myeconfargs=(
 		--enable-clib
 		--enable-exports
+		--enable-pkg-check
 		$(use_enable debug debug enhanced)
 		$(use_enable mpi)
 		$(use_enable mpi mpi-io)
@@ -263,7 +265,7 @@ src_configure() {
 		"$(use bigdft && echo "--with-bigdft-incs=${modules}")"
 		"$(use bigdft && echo "--with-bigdft-libs=$($(tc-getPKG_CONFIG) --libs bigdft)")"
 		"$(use libxc && echo "--with-libxc-incs=${modules}")"
-		"$(use libxc && echo "--with-libxc-libs=-lxc")"
+		"$(use libxc && echo "--with-libxc-libs=$($(tc-getPKG_CONFIG) --libs libxc)")"
 		"$(use wannier && echo "--with-wannier90-bins=/usr/bin")"
 		"$(use wannier && echo "--with-wannier90-incs=${modules}")"
 		"$(use wannier && echo "--with-wannier90-libs=-lwannier $($(tc-getPKG_CONFIG) --libs lapack)")"
@@ -293,17 +295,8 @@ src_compile() {
 
 src_test() {
 	einfo "The tests take quite a while, easily several hours or even days"
-	# autotools-utils_src_test() expanded
-	_check_build_dir
-	pushd "${AUTOTOOLS_BUILD_DIR}" > /dev/null
-	# again something the autotools-utils function cannot be called to do
-	# now quite a lot of work actually
-	mkdir -p tests
-
-	python2 "${S}"/tests/runtests.py -w tests/ -b "${AUTOTOOLS_BUILD_DIR}"
-
-	popd > /dev/null
 
+	autotools-utils_src_test
 }
 
 src_install() {


             reply	other threads:[~2013-09-26  9:41 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-26  9:41 Honza Macháček [this message]
  -- strict thread matches above, loose matches on Subject: below --
2015-09-23 12:48 [gentoo-commits] proj/sci:master commit in: sci-physics/abinit/ Justin Lecher
2015-02-08 21:07 Christoph Junghans
2014-09-17 20:01 Christoph Junghans
2014-06-27 13:54 Honza Macháček
2013-10-03 12:52 Honza Macháček
2013-09-20  9:48 Justin Lecher
2013-09-19 18:03 Honza Macháček
2013-09-26  9:41 ` Honza Macháček
2013-02-22 10:15 Justin Lecher
2012-06-19 14:14 Honza Macháček
2012-05-22 19:43 Justin Lecher
2012-05-15  8:27 Honza Macháček
2012-03-23  8:16 Honza Macháček
2012-03-23  8:02 Honza Macháček
2011-09-27 12:22 Honza Macháček
2011-06-29 15:28 Honza Macháček
2011-06-29 11:31 Honza Macháček
2011-06-24 17:09 Justin Lecher
2011-06-24 17:09 Justin Lecher
2011-06-24 17:09 Justin Lecher
2011-06-21 11:54 Justin Lecher
2011-05-11 17:05 Dongxu Li
2011-05-10  9:54 Honza Macháček
2011-04-26 18:39 Dongxu Li
2011-04-09 21:11 Dongxu Li
2011-02-05 19:22 Honza Macháček

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1380188472.57e910123f7b13b8db2cdb6d48db0fa8e4798953.honza_machacek@gentoo \
    --to=hloupy.honza@centrum.cz \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox