public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in sci-mathematics/polymake: polymake-2.12.ebuild ChangeLog
@ 2012-04-20 13:32 Thomas Kahle (tomka)
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Kahle (tomka) @ 2012-04-20 13:32 UTC (permalink / raw
  To: gentoo-commits

tomka       12/04/20 13:32:19

  Modified:             ChangeLog
  Added:                polymake-2.12.ebuild
  Log:
  Bump to 2.12
  
  (Portage version: 2.1.10.56/cvs/Linux x86_64)

Revision  Changes    Path
1.9                  sci-mathematics/polymake/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/polymake/ChangeLog?rev=1.9&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/polymake/ChangeLog?rev=1.9&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/polymake/ChangeLog?r1=1.8&r2=1.9

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sci-mathematics/polymake/ChangeLog,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- ChangeLog	26 Dec 2011 08:32:49 -0000	1.8
+++ ChangeLog	20 Apr 2012 13:32:19 -0000	1.9
@@ -1,6 +1,12 @@
 # ChangeLog for sci-mathematics/polymake
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/polymake/ChangeLog,v 1.8 2011/12/26 08:32:49 tomka Exp $
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/polymake/ChangeLog,v 1.9 2012/04/20 13:32:19 tomka Exp $
+
+*polymake-2.12 (20 Apr 2012)
+
+  20 Apr 2012; Thomas Kahle <tomka@gentoo.org>
+  +files/polymake-2.12-soname.patch, +polymake-2.12.ebuild:
+  Bump to 2.12
 
   26 Dec 2011; Thomas Kahle <tomka@gentoo.org> polymake-2.11.ebuild,
   files/polymake-2.11-drop-jreality.patch:



1.1                  sci-mathematics/polymake/polymake-2.12.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/polymake/polymake-2.12.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/polymake/polymake-2.12.ebuild?rev=1.1&content-type=text/plain

Index: polymake-2.12.ebuild
===================================================================
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/polymake/polymake-2.12.ebuild,v 1.1 2012/04/20 13:32:19 tomka Exp $

EAPI=2

inherit eutils flag-o-matic

MY_PV=${PV}-rc3

DESCRIPTION="research tool for polyhedral geometry and combinatorics"
SRC_URI="http://polymake.org/lib/exe/fetch.php/download/${PN}-${MY_PV}.tar.bz2"
HOMEPAGE="http://polymake.org"

IUSE="libpolymake"

SLOT="0"
LICENSE="GPL-2"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"

DEPEND="dev-libs/gmp
	dev-libs/boost
	dev-libs/libxml2:2
	dev-perl/XML-LibXML
	dev-libs/libxslt
	dev-perl/XML-LibXSLT
	dev-perl/XML-Writer
	dev-perl/Term-ReadLine-Gnu"
RDEPEND="${DEPEND}"

src_prepare() {
	# embedded jreality is a precompiled desaster (bug #346073)
	epatch "${FILESDIR}/${PN}"-2.11-drop-jreality.patch
	# Assign a soname
	epatch "${FILESDIR}/${P}"-soname.patch
	rm -rf java_build/jreality

	# Don't strip
	sed -i '/system "strip $to"/d' support/install.pl || die

	einfo "During compile this package uses up to"
	einfo "750MB of RAM per process. Use MAKEOPTS=\"-j1\" if"
	einfo "you run into trouble."
}

src_configure () {
	export CXXOPT=$(get-flag -O)
	local myconf
	if use libpolymake ; then
		# WTF: If we leave myconf as the empty string here
		# then configure will fail.
		myconf="--without-prereq"
	else
		# --with-callable is not supported :(
		myconf="--without-callable"
	fi
	echo ${myconf}
	# Configure does not accept --host, therefore econf cannot be used
	./configure --prefix="${EPREFIX}/usr" \
		--without-java \
		--without-prereq \
		--libdir="${EPREFIX}/usr/$(get_libdir)" \
		--libexecdir="${EPREFIX}/usr/$(get_libdir)/polymake" \
		"${myconf}" || die
}

src_install(){
	emake -j1 DESTDIR="${D}" install || die "install failed"
}

pkg_postinst(){
	elog "Polymake uses Perl Modules compiled during install."
	elog "You have to reinstall polymake after an upgrade of Perl."
	elog " "
	elog "This version of polymake does not ship docs. Sorry."
	elog "Help can be found on http://www.opt.tu-darmstadt.de/polymake_doku/ "
	elog " "
	elog "Visualization in polymake is via jreality which ships pre-compiled"
	elog "binary libraries.  Until this situation is resolved, support for"
	elog "jreality has been dropped.  Please contribute to Bug #346073 to "
	elog "make jreality available in Gentoo."
}






^ permalink raw reply	[flat|nested] 2+ messages in thread

* [gentoo-commits] gentoo-x86 commit in sci-mathematics/polymake: polymake-2.12.ebuild ChangeLog
@ 2012-06-03 14:54 Thomas Kahle (tomka)
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Kahle (tomka) @ 2012-06-03 14:54 UTC (permalink / raw
  To: gentoo-commits

tomka       12/06/03 14:54:00

  Modified:             polymake-2.12.ebuild ChangeLog
  Log:
  Fix libpolymake.so.0 symlink
  
  (Portage version: 2.1.10.64/cvs/Linux x86_64)

Revision  Changes    Path
1.2                  sci-mathematics/polymake/polymake-2.12.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/polymake/polymake-2.12.ebuild?rev=1.2&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/polymake/polymake-2.12.ebuild?rev=1.2&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/polymake/polymake-2.12.ebuild?r1=1.1&r2=1.2

Index: polymake-2.12.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sci-mathematics/polymake/polymake-2.12.ebuild,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- polymake-2.12.ebuild	20 Apr 2012 13:32:19 -0000	1.1
+++ polymake-2.12.ebuild	3 Jun 2012 14:54:00 -0000	1.2
@@ -1,6 +1,6 @@
 # Copyright 1999-2012 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/polymake/polymake-2.12.ebuild,v 1.1 2012/04/20 13:32:19 tomka Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/polymake/polymake-2.12.ebuild,v 1.2 2012/06/03 14:54:00 tomka Exp $
 
 EAPI=2
 
@@ -66,6 +66,7 @@
 
 src_install(){
 	emake -j1 DESTDIR="${D}" install || die "install failed"
+	dosym libpolymake.so "${EPREFIX}/usr/$(get_libdir)/libpolymake.so.0" || die
 }
 
 pkg_postinst(){



1.10                 sci-mathematics/polymake/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/polymake/ChangeLog?rev=1.10&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/polymake/ChangeLog?rev=1.10&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/polymake/ChangeLog?r1=1.9&r2=1.10

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sci-mathematics/polymake/ChangeLog,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- ChangeLog	20 Apr 2012 13:32:19 -0000	1.9
+++ ChangeLog	3 Jun 2012 14:54:00 -0000	1.10
@@ -1,6 +1,9 @@
 # ChangeLog for sci-mathematics/polymake
 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/polymake/ChangeLog,v 1.9 2012/04/20 13:32:19 tomka Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/polymake/ChangeLog,v 1.10 2012/06/03 14:54:00 tomka Exp $
+
+  03 Jun 2012; Thomas Kahle <tomka@gentoo.org> polymake-2.12.ebuild:
+  Fix libpolymake.so.0 symlink
 
 *polymake-2.12 (20 Apr 2012)
 






^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-06-03 14:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-04-20 13:32 [gentoo-commits] gentoo-x86 commit in sci-mathematics/polymake: polymake-2.12.ebuild ChangeLog Thomas Kahle (tomka)
  -- strict thread matches above, loose matches on Subject: below --
2012-06-03 14:54 Thomas Kahle (tomka)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox