public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Thomas Kahle" <tom111@gmx.de>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/sci:master commit in: sci-mathematics/Macaulay2/
Date: Sun, 19 Aug 2012 09:17:06 +0000 (UTC)	[thread overview]
Message-ID: <1345367818.eaadb67f97fbecd4e23e5b177c82c2c7e9e99b4e.tom111@gentoo> (raw)

commit:     eaadb67f97fbecd4e23e5b177c82c2c7e9e99b4e
Author:     Thomas Kahle <tomka <AT> gentoo <DOT> org>
AuthorDate: Sun Aug 19 09:16:37 2012 +0000
Commit:     Thomas Kahle <tom111 <AT> gmx <DOT> de>
CommitDate: Sun Aug 19 09:16:58 2012 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=eaadb67f

update to EAPI=4, cosmetics, deps

(Portage version: 2.1.11.10/git/Linux x86_64, unsigned Manifest commit)

---
 sci-mathematics/Macaulay2/ChangeLog             |    3 ++
 sci-mathematics/Macaulay2/Macaulay2-9999.ebuild |   36 ++++++++++------------
 2 files changed, 19 insertions(+), 20 deletions(-)

diff --git a/sci-mathematics/Macaulay2/ChangeLog b/sci-mathematics/Macaulay2/ChangeLog
index 0cd176d..16e439c 100644
--- a/sci-mathematics/Macaulay2/ChangeLog
+++ b/sci-mathematics/Macaulay2/ChangeLog
@@ -2,6 +2,9 @@
 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+  19 Aug 2012; Thomas Kahle <tomka@gentoo.org> Macaulay2-9999.ebuild:
+  update to EAPI=4, cosmetics, deps
+
   06 Aug 2012; Thomas Kahle <tomka@gentoo.org> Macaulay2-9999.ebuild:
   Update live dependencies
 

diff --git a/sci-mathematics/Macaulay2/Macaulay2-9999.ebuild b/sci-mathematics/Macaulay2/Macaulay2-9999.ebuild
index 0ef50e6..6e7dfc1 100644
--- a/sci-mathematics/Macaulay2/Macaulay2-9999.ebuild
+++ b/sci-mathematics/Macaulay2/Macaulay2-9999.ebuild
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 # $Header: $
 
-EAPI="2"
+EAPI=4
 
 inherit autotools elisp-common eutils flag-o-matic subversion
 
@@ -10,10 +10,7 @@ IUSE="emacs optimization"
 
 ESVN_REPO_URI="svn://svn.macaulay2.com/Macaulay2/trunk/M2"
 
-# Those packages will be built internally, Macaulay2 always wants the
-# latest and greatest (mostly git snapshots)
-GCLIBATOMIC_OPS="gc-libatomic_ops-7.3alpha2"
-GC="gc-20120729"
+# Those packages will be built internally.
 FACTORY="factory-3-1-4-1"
 LIBFAC="libfac-3-1-4"
 
@@ -23,8 +20,7 @@ SRC_BASE="http://www.math.uiuc.edu/${PN}/Downloads/"
 SRC_URI="ftp://www.mathematik.uni-kl.de/pub/Math/Singular/Libfac/${LIBFAC}.tar.gz
 		 ftp://www.mathematik.uni-kl.de/pub/Math/Singular/Factory/factory-gftables.tar.gz
 		 http://www.math.uiuc.edu/Macaulay2/Downloads/OtherSourceCode/trunk/${FACTORY}.tar.gz
-		 http://www.math.uiuc.edu/Macaulay2/Extra/${GC}.tar.gz
-		 http://www.math.uiuc.edu/Macaulay2/Extra/${GCLIBATOMIC_OPS}.tar.gz"
+		 http://www.math.uiuc.edu/Macaulay2/Extra/gtest-1.6.0.tar.gz"
 
 SLOT="0"
 LICENSE="GPL-2"
@@ -51,6 +47,7 @@ DEPEND="
 	dev-util/ctags
 	sys-libs/ncurses
 	sys-process/time
+	>dev-libs/boehm-gc-7.1
 	emacs? ( virtual/emacs )"
 RDEPEND="${DEPEND}"
 
@@ -82,12 +79,10 @@ src_prepare() {
 		|| die "copy failed"
 	cp "${DISTDIR}/${LIBFAC}.tar.gz" "${S}/BUILD/tarfiles/" \
 		|| die "copy failed"
-	# Macaulay 2 insists on a git snapshot of gc We will let it build
-	# its internal version for now.  Note: The resulting QA warning is
-	# known.
-	cp "${DISTDIR}/${GC}.tar.gz" "${S}/BUILD/tarfiles/" \
-		|| die "copy failed"
-	cp "${DISTDIR}/${GCLIBATOMIC_OPS}.tar.gz" "${S}/BUILD/tarfiles/" \
+	# Macaulay2 developers want that gtest is built internally because
+	# the documentation says it may fail if build with options not the
+	# same as the tested program.
+	cp "${DISTDIR}/gtest-1.6.0.tar.gz" "${S}/BUILD/tarfiles/" \
 		|| die "copy failed"
 
 	eautoreconf
@@ -105,38 +100,39 @@ src_configure (){
 		--disable-encap \
 		--disable-strip \
 		$(use_enable optimization optimize) \
-		--enable-build-libraries="factory gc libfac" \
+		--enable-build-libraries="factory libfac" \
 		--with-unbuilt-programs="4ti2 gfan normaliz nauty cddplus lrslib" \
 		|| die "failed to configure Macaulay"
 }
 
 src_compile() {
 	# Parallel build not supported yet
-	# For trunk builds, let's ignore example errors
-	emake IgnoreExampleErrors=true -j1 || die "failed to build Macaulay"
+	# emake -j1
+	# For trunk builds we may wish to ignore example errors
+	emake IgnoreExampleErrors=true -j1
 
 	if use emacs; then
 		cd "${S}/Macaulay2/emacs"
-		elisp-compile *.el || die "elisp-compile failed"
+		elisp-compile *.el
 	fi
 }
 
 src_test() {
 	# No parallel tests yet & Need to increase the time
 	# limit for long running tests in Schubert2 to pass
-	emake TLIMIT=550 -j1 check || die "tests failed"
+	emake TLIMIT=550 -j1 check
 }
 
 src_install () {
 	# Parallel install not supported yet
-	emake -j1 install || die "install failed"
+	emake -j1 install
 
 	# Remove emacs files and install them in the
 	# correct place if use emacs
 	rm -rf "${D}"/usr/share/emacs/site-lisp
 	if use emacs; then
 		cd "${S}/Macaulay2/emacs"
-		elisp-install ${PN} *.elc *.el || die "elisp-install failed"
+		elisp-install ${PN} *.elc *.el
 		elisp-site-file-install "${FILESDIR}/${SITEFILE}"
 	fi
 }


             reply	other threads:[~2012-08-19  9:17 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-19  9:17 Thomas Kahle [this message]
  -- strict thread matches above, loose matches on Subject: below --
2021-01-30 15:22 [gentoo-commits] proj/sci:master commit in: sci-mathematics/Macaulay2/ Andrew Ammerlaan
2021-01-19 16:56 Andrew Ammerlaan
2021-01-16 21:29 Andrew Ammerlaan
2014-06-26 11:36 Thomas Kahle
2014-06-11 13:18 Thomas Kahle
2014-06-10 21:08 Thomas Kahle
2014-06-10 21:04 Thomas Kahle
2014-04-29  6:17 Thomas Kahle
2013-12-04 16:22 Justin Lecher
2013-04-18  6:56 Thomas Kahle
2013-02-22 10:15 Justin Lecher
2013-02-18 15:57 Thomas Kahle
2013-02-18 15:57 Thomas Kahle
2013-01-10  9:18 Thomas Kahle
2012-11-13  2:24 Thomas Kahle
2012-10-24 19:23 Thomas Kahle
2012-10-12 22:08 Thomas Kahle
2012-10-12 21:36 Thomas Kahle
2012-10-12  0:16 Thomas Kahle
2012-08-06  7:23 Thomas Kahle
2012-07-30 12:39 Thomas Kahle
2012-05-02 16:15 Thomas Kahle
2012-03-01 16:33 Thomas Kahle
2011-09-25  7:27 Thomas Kahle
2011-08-09 11:46 Thomas Kahle
2011-03-07 12:01 Justin Lecher
2011-02-26  6:51 Thomas Kahle

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=1345367818.eaadb67f97fbecd4e23e5b177c82c2c7e9e99b4e.tom111@gentoo \
    --to=tom111@gmx.de \
    --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