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: Tue, 13 Nov 2012 02:24:56 +0000 (UTC)	[thread overview]
Message-ID: <1352773484.32beca628f4f65b13fbd4a7de9126abab84bdf84.tom111@gentoo> (raw)

commit:     32beca628f4f65b13fbd4a7de9126abab84bdf84
Author:     Thomas Kahle <tomka <AT> gentoo <DOT> org>
AuthorDate: Tue Nov 13 02:24:36 2012 +0000
Commit:     Thomas Kahle <tom111 <AT> gmx <DOT> de>
CommitDate: Tue Nov 13 02:24:44 2012 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=32beca62

Update live ebuild for latest Normaliz

---
 sci-mathematics/Macaulay2/Macaulay2-9999.ebuild |   23 +++++++++++++++++++----
 1 files changed, 19 insertions(+), 4 deletions(-)

diff --git a/sci-mathematics/Macaulay2/Macaulay2-9999.ebuild b/sci-mathematics/Macaulay2/Macaulay2-9999.ebuild
index 72b4584..a2b1127 100644
--- a/sci-mathematics/Macaulay2/Macaulay2-9999.ebuild
+++ b/sci-mathematics/Macaulay2/Macaulay2-9999.ebuild
@@ -16,12 +16,13 @@ LIBFAC="libfac-3-1-4"
 
 DESCRIPTION="Research tool for commutative algebra and algebraic geometry"
 HOMEPAGE="http://www.math.uiuc.edu/Macaulay2/"
-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"
+		 http://www.math.uiuc.edu/Macaulay2/Extra/gtest-1.6.0.tar.gz
+		 http://www.mathematik.uni-osnabrueck.de/normaliz/Normaliz2.8/Normaliz2.8.zip"
+# Need normaliz for an up to date normaliz.m2
 
 SLOT="0"
 LICENSE="GPL-2"
@@ -41,7 +42,7 @@ DEPEND="
 	sci-mathematics/frobby
 	sci-mathematics/4ti2
 	sci-mathematics/nauty
-	>=sci-mathematics/normaliz-2.7
+	>=sci-mathematics/normaliz-2.8
 	sci-mathematics/gfan
 	>=sci-libs/mpir-2.1.1[cxx]
 	sci-libs/cdd+
@@ -55,7 +56,11 @@ DEPEND="
 	>=dev-libs/boehm-gc-7.2_alpha6[threads]
 	dev-libs/libatomic_ops
 	emacs? ( virtual/emacs )
-	virtual/pkgconfig"
+	virtual/pkgconfig
+	app-arch/unzip
+	app-text/dos2unix"
+# Unzip and dos2unix just for normaliz
+
 RDEPEND="${DEPEND}"
 
 SITEFILE=70Macaulay2-gentoo.el
@@ -64,6 +69,11 @@ S="${WORKDIR}/${PN}-${PV}"
 
 RESTRICT="mirror"
 
+src_unpack (){
+	unpack "Normaliz2.8.zip"
+	subversion_src_unpack
+}
+
 pkg_setup () {
 		tc-export CC CPP CXX
 		append-cppflags "-I/usr/include/frobby"
@@ -72,6 +82,11 @@ pkg_setup () {
 }
 
 src_prepare() {
+	# Put updated Normaliz.m2 in place
+	cp "${WORKDIR}/Normaliz2.8/Macaulay2/Normaliz.m2" \
+		"${S}/Macaulay2/packages" || die
+	dos2unix ${S}/Macaulay2/packages/Normaliz.m2 || die
+
 	# Patching .m2 files to look for external programs in
 	# /usr/bin
 	epatch "${FILESDIR}"/${PV}-paths-of-external-programs.patch


             reply	other threads:[~2012-11-13  2:25 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-13  2:24 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-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-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=1352773484.32beca628f4f65b13fbd4a7de9126abab84bdf84.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