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: Wed, 24 Oct 2012 19:23:39 +0000 (UTC)	[thread overview]
Message-ID: <1351106608.90f9112aaf15b751b7a7da0696f46e00ed88382a.tom111@gentoo> (raw)

commit:     90f9112aaf15b751b7a7da0696f46e00ed88382a
Author:     Thomas Kahle <tomka <AT> gentoo <DOT> org>
AuthorDate: Wed Oct 24 19:23:11 2012 +0000
Commit:     Thomas Kahle <tom111 <AT> gmx <DOT> de>
CommitDate: Wed Oct 24 19:23:28 2012 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=90f9112a

Update M2 live ebuild

Package-Manager: portage-2.1.11.30

---
 sci-mathematics/Macaulay2/ChangeLog             |    3 +++
 sci-mathematics/Macaulay2/Macaulay2-9999.ebuild |   21 +++++++++++++++------
 2 files changed, 18 insertions(+), 6 deletions(-)

diff --git a/sci-mathematics/Macaulay2/ChangeLog b/sci-mathematics/Macaulay2/ChangeLog
index d5348f6..14895a0 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: $
 
+  24 Oct 2012; Thomas Kahle <tomka@gentoo.org> Macaulay2-9999.ebuild:
+  Update M2 live ebuild
+
   12 Oct 2012; Thomas Kahle <tomka@gentoo.org> Macaulay2-9999.ebuild:
   bump boehm-gc, fix python
 

diff --git a/sci-mathematics/Macaulay2/Macaulay2-9999.ebuild b/sci-mathematics/Macaulay2/Macaulay2-9999.ebuild
index 20a80b2..a9ae846 100644
--- a/sci-mathematics/Macaulay2/Macaulay2-9999.ebuild
+++ b/sci-mathematics/Macaulay2/Macaulay2-9999.ebuild
@@ -6,7 +6,7 @@ EAPI=4
 
 inherit autotools elisp-common eutils flag-o-matic python subversion
 
-IUSE="emacs optimization"
+IUSE="debug emacs optimization"
 
 ESVN_REPO_URI="svn://svn.macaulay2.com/Macaulay2/trunk/M2"
 
@@ -20,12 +20,18 @@ 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/Downloads/OtherSourceCode/trunk/mpfr-3.0.1.tar.gz
 		 http://www.math.uiuc.edu/Macaulay2/Extra/gtest-1.6.0.tar.gz"
 
 SLOT="0"
 LICENSE="GPL-2"
 KEYWORDS=""
 
+# Macaulay2 is broken with >=mpfr-3.1, to not force a downgrade on users
+# we let it built an internal copy :(
+# This dep was removed:
+# >=dev-libs/mpfr-3.0.0
+
 DEPEND="
 	sys-libs/gdbm
 	>=dev-libs/ntl-5.5.2
@@ -37,7 +43,6 @@ DEPEND="
 	sci-mathematics/nauty
 	>=sci-mathematics/normaliz-2.7
 	sci-mathematics/gfan
-	>=dev-libs/mpfr-3.0.0
 	>=sci-libs/mpir-2.1.1[cxx]
 	sci-libs/cdd+
 	sci-libs/cddlib
@@ -47,7 +52,7 @@ DEPEND="
 	dev-util/ctags
 	sys-libs/ncurses
 	sys-process/time
-	>=dev-libs/boehm-gc-7.2_alpha6
+	>=dev-libs/boehm-gc-7.2_alpha6[threads]
 	dev-libs/libatomic_ops
 	emacs? ( virtual/emacs )"
 RDEPEND="${DEPEND}"
@@ -87,6 +92,9 @@ src_prepare() {
 	# same as the tested program.
 	cp "${DISTDIR}/gtest-1.6.0.tar.gz" "${S}/BUILD/tarfiles/" \
 		|| die "copy failed"
+	# Temporary internal build of mpfr-3.0:
+	cp "${DISTDIR}/mpfr-3.0.1.tar.gz" "${S}/BUILD/tarfiles/" \
+		|| die "copy failed"
 
 	eautoreconf
 }
@@ -103,16 +111,17 @@ src_configure (){
 		--disable-encap \
 		--disable-strip \
 		$(use_enable optimization optimize) \
-		--enable-build-libraries="factory libfac" \
+		$(use_enable debug) \
+		--enable-build-libraries="factory libfac mpfr" \
 		--with-unbuilt-programs="4ti2 gfan normaliz nauty cddplus lrslib" \
 		|| die "failed to configure Macaulay"
 }
 
 src_compile() {
 	# Parallel build not supported yet
-	# emake -j1
+	emake -j1
 	# For trunk builds we may wish to ignore example errors
-	emake IgnoreExampleErrors=true -j1
+	# emake IgnoreExampleErrors=true -j1
 
 	if use emacs; then
 		cd "${S}/Macaulay2/emacs"


             reply	other threads:[~2012-10-24 19:23 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-24 19:23 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-12 22:08 Thomas Kahle
2012-10-12 21:36 Thomas Kahle
2012-10-12  0:16 Thomas Kahle
2012-08-19  9:17 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=1351106608.90f9112aaf15b751b7a7da0696f46e00ed88382a.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