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: Thu, 10 Jan 2013 09:18:23 +0000 (UTC)	[thread overview]
Message-ID: <1357809493.143d931a0dd74fabff1cf16994ca917044ceeb28.tom111@gentoo> (raw)

commit:     143d931a0dd74fabff1cf16994ca917044ceeb28
Author:     Thomas Kahle <tomka <AT> gentoo <DOT> org>
AuthorDate: Thu Jan 10 09:17:49 2013 +0000
Commit:     Thomas Kahle <tom111 <AT> gmx <DOT> de>
CommitDate: Thu Jan 10 09:18:13 2013 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=143d931a

migrate to git-2 eclass, fix lapack support

Package-Manager: portage-2.1.11.38

---
 sci-mathematics/Macaulay2/ChangeLog             |    5 ++++-
 sci-mathematics/Macaulay2/Macaulay2-9999.ebuild |   17 +++++++++++------
 2 files changed, 15 insertions(+), 7 deletions(-)

diff --git a/sci-mathematics/Macaulay2/ChangeLog b/sci-mathematics/Macaulay2/ChangeLog
index 2619c70..f97fdc7 100644
--- a/sci-mathematics/Macaulay2/ChangeLog
+++ b/sci-mathematics/Macaulay2/ChangeLog
@@ -1,7 +1,10 @@
 # ChangeLog for sci-mathematics/Macaulay2
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+  10 Jan 2013; Thomas Kahle <tomka@gentoo.org> Macaulay2-9999.ebuild:
+  migrate to git-2 eclass, fix lapack support
+
   30 Oct 2012; Thomas Kahle <tomka@gentoo.org> +files/9999-lapack.patch,
   Macaulay2-9999.ebuild:
   Fix linking against arbitrary lapack implementation

diff --git a/sci-mathematics/Macaulay2/Macaulay2-9999.ebuild b/sci-mathematics/Macaulay2/Macaulay2-9999.ebuild
index a2b1127..0080340 100644
--- a/sci-mathematics/Macaulay2/Macaulay2-9999.ebuild
+++ b/sci-mathematics/Macaulay2/Macaulay2-9999.ebuild
@@ -1,14 +1,14 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2013 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Header: $
 
 EAPI=4
 
-inherit autotools elisp-common eutils flag-o-matic python subversion
+inherit autotools elisp-common eutils flag-o-matic git-2 python
 
 IUSE="debug emacs optimization"
 
-ESVN_REPO_URI="svn://svn.macaulay2.com/Macaulay2/trunk/M2"
+EGIT_REPO_URI="git://github.com/Macaulay2/M2.git"
 
 # Those packages will be built internally.
 FACTORY="factory-3-1-4-1"
@@ -65,13 +65,17 @@ RDEPEND="${DEPEND}"
 
 SITEFILE=70Macaulay2-gentoo.el
 
-S="${WORKDIR}/${PN}-${PV}"
+S="${WORKDIR}/${PN}-${PV}/"
 
 RESTRICT="mirror"
 
 src_unpack (){
 	unpack "Normaliz2.8.zip"
-	subversion_src_unpack
+	git-2_src_unpack
+	# Undo one level of directory until git allows to checkout
+	# subdirectories
+	mv "${S}"/M2/* "${S}" || die
+	rmdir "${S}"/M2 || die
 }
 
 pkg_setup () {
@@ -126,7 +130,8 @@ src_configure (){
 	fi
 
 	# configure instead of econf to enable install with --prefix
-	./configure --prefix="${D}/usr" \
+	./configure LIBS="$(pkg-config --libs lapack)" \
+		--prefix="${D}/usr" \
 		--disable-encap \
 		--disable-strip \
 		$(use_enable optimization optimize) \


             reply	other threads:[~2013-01-10 17:36 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-10  9:18 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
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-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=1357809493.143d931a0dd74fabff1cf16994ca917044ceeb28.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