summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Kahle <tomka@gentoo.org>2012-11-12 03:15:28 +0000
committerThomas Kahle <tomka@gentoo.org>2012-11-12 03:15:28 +0000
commit3ba1d097f8e1c81be3915ac1be1bf6926d2fc215 (patch)
tree4b477cd064c597848843e43b984229730c08f60a /sci-mathematics
parentProper static libs removal (diff)
downloadhistorical-3ba1d097f8e1c81be3915ac1be1bf6926d2fc215.tar.gz
historical-3ba1d097f8e1c81be3915ac1be1bf6926d2fc215.tar.bz2
historical-3ba1d097f8e1c81be3915ac1be1bf6926d2fc215.zip
Bump to 2.8
Package-Manager: portage-2.1.11.31/cvs/Linux x86_64 Manifest-Sign-Key: 0x89DEB219565C32BC
Diffstat (limited to 'sci-mathematics')
-rw-r--r--sci-mathematics/normaliz/ChangeLog11
-rw-r--r--sci-mathematics/normaliz/Manifest29
-rw-r--r--sci-mathematics/normaliz/files/normaliz-2.8-respect-flags.patch67
-rw-r--r--sci-mathematics/normaliz/normaliz-2.8.ebuild56
4 files changed, 147 insertions, 16 deletions
diff --git a/sci-mathematics/normaliz/ChangeLog b/sci-mathematics/normaliz/ChangeLog
index 0cc9988770f7..d1e7ed5322d4 100644
--- a/sci-mathematics/normaliz/ChangeLog
+++ b/sci-mathematics/normaliz/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sci-mathematics/normaliz
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/normaliz/ChangeLog,v 1.8 2011/11/14 11:28:36 flameeyes Exp $
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/normaliz/ChangeLog,v 1.9 2012/11/12 03:15:19 tomka Exp $
+
+*normaliz-2.8 (12 Nov 2012)
+
+ 12 Nov 2012; Thomas Kahle <tomka@gentoo.org>
+ +files/normaliz-2.8-respect-flags.patch, +normaliz-2.8.ebuild:
+ Bump to 2.8
14 Nov 2011; Diego E. Pettenò <flameeyes@gentoo.org> normaliz-2.5-r1.ebuild,
normaliz-2.7.ebuild:
@@ -36,4 +42,3 @@
03 Nov 2010; Thomas Kahle <tomka@gentoo.org> +normaliz-2.5-r1.ebuild,
+files/normaliz-2.5-makefile.patch, +metadata.xml:
Initial import of normaliz from science overlay
-
diff --git a/sci-mathematics/normaliz/Manifest b/sci-mathematics/normaliz/Manifest
index d0b43a1fb68e..1b4bcd7f7fdc 100644
--- a/sci-mathematics/normaliz/Manifest
+++ b/sci-mathematics/normaliz/Manifest
@@ -1,18 +1,21 @@
-----BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
+Hash: SHA256
-AUX normaliz-2.5-respect-flags.patch 1381 RMD160 9b8a180f275ccf024268a16a04338834347661e4 SHA1 2752e11d139cd3cae98431489dbd38933948d51f SHA256 2c216675652ad8c7f41112bd8f97bfdb9c4493088081909ae6042ff4449c1818
-AUX normaliz-2.7-respect-flags.patch 1652 RMD160 53b51b326105394f25af2ef98d8233b6ae77a13e SHA1 4b5b9881eb75d0c08340dbd12a9887c522a5a66b SHA256 3bfbbcf377607f4a7f1a169a9d42b047ea0b0a596b8aa8e8fa27da55c676220a
-DIST Normaliz2.5.zip 4678783 RMD160 28f2c1aa0d88e83ef1e1f26f4a946e64e4871436 SHA1 a0095aa8f591fe485224deb73cce034e247472ab SHA256 31decc5172450ac918b97ff5cefb3b9b9b94e70d69cc4271962ba90f04ecde43
-DIST Normaliz2.7.zip 5877050 RMD160 6dfc28eaf722828f38b111d40d765f3a7d22a883 SHA1 4bf13733eb529a7f09fe31618312888daec9a011 SHA256 cb370014f41e252732bfbd217a3c7871c5d3b1bbd96ada89209edd2a205b282d
-EBUILD normaliz-2.5-r1.ebuild 1563 RMD160 dc37f8550f02252fd3182f00ad6e53c39b7ee27c SHA1 7d022bbf6b0b5c47f3474df4ba947002d686a396 SHA256 3108fe5f4b797ea678797492d4b2ede43479e1d24d1cc86d4372ac648e69aa02
-EBUILD normaliz-2.7.ebuild 1603 RMD160 c7a250ee3aa648bdbd7ea7329e79a1a0e8823b05 SHA1 36f2cd6cc88a34359d0535526e718dd8f6cb2571 SHA256 1d532492daf42798901bc37c46a04809c00ddb26b3480a27842966a08c4a7cb7
-MISC ChangeLog 1404 RMD160 806373ec96d833e367ac55ddb912e3b06e5953d8 SHA1 73147a5990b7eee0cd417e1cf438e1f27e96a65f SHA256 eb17fe6b97ce033ab33dbf2228552764281d36b8a91215c5e7a2dbde0a99a005
-MISC metadata.xml 597 RMD160 453acb06c8de432a488952cb8cab1076d3ccd117 SHA1 455ec0ef6e1b2dc39013670549be3d4633db6b42 SHA256 0614108b9f9964523d351f009eda2c7e3af669a60ffa9265597c1ca040d5c90d
+AUX normaliz-2.5-respect-flags.patch 1381 SHA256 2c216675652ad8c7f41112bd8f97bfdb9c4493088081909ae6042ff4449c1818 SHA512 ae69d581de3cd712a7da07f11b21cafaf9dd684ada6919e9ae28884fefa7ef30f30e02e04be6b9c28be75216a560d89361ae6c07cab24cf3a62c07de15266779 WHIRLPOOL 368e79c97645d6406e4af40d6ba6276a75e81dd9e958b7f3dbb9c2742333f11599f78ed08debf4ca55a2cb67a67f408c316788b3e7d8d60e683b6da81a6febf3
+AUX normaliz-2.7-respect-flags.patch 1652 SHA256 3bfbbcf377607f4a7f1a169a9d42b047ea0b0a596b8aa8e8fa27da55c676220a SHA512 b08c55cb1678f1993f5bd55d0d754f49bc6f021d105b4d0c0dd7b5464b9034056143e7534c148ce3105044ce6b4e7639ef88f5942744da930141f0bae0a71668 WHIRLPOOL 1079ae8ab17b9870ab9eaa0c913527ec7d2dbe92bcbf22f1979edf7056eab7b1dec32cd678525ffc28c07f5be01e77339e3efec97e9a0d1985a5d60ce37bf37a
+AUX normaliz-2.8-respect-flags.patch 3018 SHA256 7ce5d8dc77f62f9cc27ccc8e72c9324b2c28ce9afb0ef7ebb7cd48764e6341c4 SHA512 ea7556160a78c81494483c4c7cea7e91a541bba8a4fd5f51adde156f7a8c80cb6649d4db5057297ce4a3d112c07b292b8daca4f93673e8071f67c760ccd2568c WHIRLPOOL 04f194056c1dd0d93e7744e1ffc755881832b134efe2391f65f37a7a22d65d2ef2cd562304b5944333b6c70cddd4967b1f752b0aad4dde9dce3242461a6a3d54
+DIST Normaliz2.5.zip 4678783 SHA256 31decc5172450ac918b97ff5cefb3b9b9b94e70d69cc4271962ba90f04ecde43 SHA512 38533ea00887429105831ad7272fabed18c9aa4c44ae0aa1265dc235f27120f161f6b760b98cede5aaceb44590397ea3e2c5a7e1d209924820543f494a338953 WHIRLPOOL 235c932df90dcc887ad2017575c711e634ec698ec48ea72bc06fd094e174690de6a6bbcf7da68a5551b0db2d0f15397d58d38336e2039a82b949ae441210cdf0
+DIST Normaliz2.7.zip 5877050 SHA256 cb370014f41e252732bfbd217a3c7871c5d3b1bbd96ada89209edd2a205b282d SHA512 6679dd7c4b940d4da2c8e7480916744e755196e96a839e34bf53a4518a9aab3459dfd841fe0d7ca770f404edbc7084e0f7ffa32c0b75e8588474dc3b5252b6c6 WHIRLPOOL 3dbb5a1923e76b79b8585b8de046043d77b610f7b527fb13fcfd509714069ef838f89092aedc00743c1b6eed3c467cdcbff42577d16b806a6ee60dd22c314de7
+DIST Normaliz2.8.zip 6168152 SHA256 ea1dfe07321027fc7cde6f229b2f047fa833ca39c15e1a5a4f9f4e7145c816b7 SHA512 17c8b9fb4d4fca1c74fb332139cbdd76af3157c28d30ff5f2f9bfbd4af6778ad3ab2c80548bffdce37a13e11d663c54becd9b2623572455f3a1ea75d9b726d25 WHIRLPOOL bbe16e1ad68ab26a841b52e8fd036b3850c612c38898a36bfe92379e95c48a9b91f0ca744c1a195422522bd0af80825e5581d870ea4f0a38439b443e9a03ea70
+EBUILD normaliz-2.5-r1.ebuild 1563 SHA256 3108fe5f4b797ea678797492d4b2ede43479e1d24d1cc86d4372ac648e69aa02 SHA512 2bde771d8c319b7fab9697a974b2a3dfb3f51212d8d2727af08ceed4001ede5cc929609058ee8c90848793e99462d8b144ae9ab427f1927bb87259176d91a944 WHIRLPOOL db9b5781a73fd61e48f5db9dee42365688d8a1a740595fdf448b2833445c3709b6d50f6c6c5277f19894d5d5e8c7234fcf913f3f696639225d5cb4ef5514e110
+EBUILD normaliz-2.7.ebuild 1603 SHA256 1d532492daf42798901bc37c46a04809c00ddb26b3480a27842966a08c4a7cb7 SHA512 f3779f7de32673a8693701666a8a6228f78f09fb07d4bd61a904ad79e091b68718877873ba3cb13556d9c70f792136437be8a83af9eb3ea8b94daa91f4d1fc46 WHIRLPOOL c5173e2a754562130746da94ca34f2c1cf5752a9ef3caa5fcded7760f2f057d5c98157dd52b87e82f230b15d20a2a0018d1fa578c2ddf56d1cbb7992b3f328dc
+EBUILD normaliz-2.8.ebuild 1599 SHA256 102840c2d0cf25a6a2accf8d0cc69e8267e722f32f933ac31b182e223f4d9fcb SHA512 f72c8af45dbae1c7feaf65c2640a1b10e370414da9d91f7714a1b5d58a5fd2bf6970ca3245d334d28dce15694e3f0fec4d9fcb29a62d89e990dc38dc124fe4db WHIRLPOOL ac66cd2f1dd7b9ee84b9f9d9ab617f35a5b89a14c6b67a21c2d0245413aad0a5f511f886e24ba99dc5e4f6415f0e3d9c3e7dd09d92e186897dd51adad7cd0162
+MISC ChangeLog 1555 SHA256 0bc13d0589e93493f4b036a0b7ba23d316c6b72877eaab478dcc127396aad5e9 SHA512 42982e1409e277c62a1fed7f0b386b70a46a59866044b342971d7f1c8e790f09602f86ac6d0164a816322e2a968b0ca8a3e7d59a6258bcb479df4aec96b9af9a WHIRLPOOL cf28e9a8fea7d83806000985498f412433ea1db4a4a24ee9479cdcdd25e6fe83ed17da0fb768e4f0eab21a352ac4eec0bfc5c37223a1e18f6d39887f0e93caa5
+MISC metadata.xml 597 SHA256 0614108b9f9964523d351f009eda2c7e3af669a60ffa9265597c1ca040d5c90d SHA512 f29ea92fa2eef3f4441d69185481da62f496d9c85f8c249fd6b516b767b4f33d86ea991dc0091a519ca04e1d293c4c74b982cbf0456e6fd0d015013f5b09e1a6 WHIRLPOOL 261343c8a5e178e18532c70f8fb5170a69710f3ef6d657c6e19597374fbac00490be2e9aacca31dddf447808e7bb454d311369de6373b61775e1bf53de5b5e89
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.18 (GNU/Linux)
+Version: GnuPG v2.0.19 (GNU/Linux)
-iEYEARECAAYFAk7A+2kACgkQAiZjviIA2Xg4iACfXJdUn8RnX4E3lFnn4OygX4d4
-elgAn021YR88mNjm1+/+M5Ez7J6dfSCl
-=cEcK
+iF4EAREIAAYFAlCgacgACgkQid6yGVZcMrxU+QEAi95huGpiX2EDRXuajcGv2+P0
+3H3vlfZG8UbNdbgPb7gA/RtetpyEIaUcIrDLQiseMktGYwQU3rm8a1eJkwc+vP4k
+=mq7n
-----END PGP SIGNATURE-----
diff --git a/sci-mathematics/normaliz/files/normaliz-2.8-respect-flags.patch b/sci-mathematics/normaliz/files/normaliz-2.8-respect-flags.patch
new file mode 100644
index 000000000000..ebde3a0a35ec
--- /dev/null
+++ b/sci-mathematics/normaliz/files/normaliz-2.8-respect-flags.patch
@@ -0,0 +1,67 @@
+diff -U 3 -dHrN Normaliz2.8.orig/source/libnormaliz/Makefile Normaliz2.8/source/libnormaliz/Makefile
+--- Normaliz2.8.orig/source/libnormaliz/Makefile 2012-11-11 19:05:18.610268519 -0800
++++ Normaliz2.8/source/libnormaliz/Makefile 2012-11-11 19:07:17.040437439 -0800
+@@ -11,16 +11,16 @@
+ all: default
+
+ libnormaliz.o: $(LIBHEADERS) $(LIBSOURCES) libnormaliz-impl.cpp
+- $(CXX) $(CXXFLAGS) $(NORMFLAGS) -c libnormaliz-impl.cpp -o libnormaliz.o
++ $(CXX) $(CXXFLAGS) $(LDFLAGS) $(NORMFLAGS) -c libnormaliz-impl.cpp -o libnormaliz.o
+
+ cone_property.o: cone_property.h cone_property.cpp
+- $(CXX) $(CXXFLAGS) $(NORMFLAGS) -c cone_property.cpp -o $@
++ $(CXX) $(CXXFLAGS) $(LDFLAGS) $(NORMFLAGS) -c cone_property.cpp -o $@
+
+ hilbert_series.o: $(LIBHEADERS) HilbertSeries.cpp
+- $(CXX) $(CXXFLAGS) $(NORMFLAGS) -c HilbertSeries.cpp -o $@
++ $(CXX) $(CXXFLAGS) $(LDFLAGS) $(NORMFLAGS) -c HilbertSeries.cpp -o $@
+
+ libnormaliz-templated.o: $(LIBHEADERS) $(LIBSOURCES) libnormaliz-templated.cpp
+- $(CXX) $(CXXFLAGS) $(NORMFLAGS) -c libnormaliz-templated.cpp -o $@
++ $(CXX) $(CXXFLAGS) $(LDFLAGS) $(NORMFLAGS) -c libnormaliz-templated.cpp -o $@
+
+ libnormaliz.a: cone_property.o hilbert_series.o libnormaliz-templated.o
+ ar -cr $@ $^
+diff -U 3 -dHrN Normaliz2.8.orig/source/Makefile Normaliz2.8/source/Makefile
+--- Normaliz2.8.orig/source/Makefile 2012-11-11 19:05:18.610268519 -0800
++++ Normaliz2.8/source/Makefile 2012-11-11 19:06:14.265817851 -0800
+@@ -17,13 +17,13 @@
+ $(MAKE) normaliz
+
+ normaliz: $(SOURCES) $(HEADERS) libnormaliz/libnormaliz.a
+- $(CXX) $(CXXFLAGS) $(NORMFLAGS) Normaliz.cpp libnormaliz/libnormaliz.a $(GMPFLAGS) -o normaliz
++ $(CXX) $(CXXFLAGS) $(LDFLAGS) $(NORMFLAGS) Normaliz.cpp libnormaliz/libnormaliz.a $(GMPFLAGS) -o normaliz
+
+ normaliz1: $(SOURCES) $(HEADERS) $(LIBHEADERS) $(LIBSOURCES)
+- $(CXX) $(CXXFLAGS) $(NORMFLAGS) Normaliz-impl.cpp $(GMPFLAGS) -o normaliz1
++ $(CXX) $(CXXFLAGS) $(LDFLAGS) $(NORMFLAGS) Normaliz-impl.cpp $(GMPFLAGS) -o normaliz1
+
+ normaliz-pg: $(SOURCES) $(HEADERS) $(LIBHEADERS) $(LIBSOURCES)
+- $(CXX) $(CXXFLAGS) $(NORMFLAGS) -pg Normaliz-impl.cpp $(GMPFLAGS) -o normaliz-pg
++ $(CXX) $(CXXFLAGS) $(LDFLAGS) $(NORMFLAGS) -pg Normaliz-impl.cpp $(GMPFLAGS) -o normaliz-pg
+
+
+ #always go down the directory and let the make there check what has to be done
+diff -U 3 -dHrN Normaliz2.8.orig/source/Makefile.configuration Normaliz2.8/source/Makefile.configuration
+--- Normaliz2.8.orig/source/Makefile.configuration 2012-11-11 19:05:18.613268547 -0800
++++ Normaliz2.8/source/Makefile.configuration 2012-11-11 19:05:37.323453221 -0800
+@@ -1,11 +1,9 @@
+ ##
+ ## Makefile configuration for normaliz
+ ##
+-CXX = g++
+ #CXX = linux32 g++ -m32 -march=i686 #compile it for linux32
+ CXXFLAGS += -Wall
+ CXXFLAGS += -pedantic -Wno-long-long
+-CXXFLAGS += -O3 -funroll-loops
+ #CXXFLAGS += -I /usr/local/boost_1_45_0
+ #CXXFLAGS += -g
+ #CXXFLAGS += -pg
+@@ -19,7 +17,6 @@
+ endif
+
+ ##for mac link libgcc not static
+-NORMFLAGS = -static
+ #NORMFLAGS = -static-libgcc
+
+ GMPFLAGS = -lgmpxx -lgmp
diff --git a/sci-mathematics/normaliz/normaliz-2.8.ebuild b/sci-mathematics/normaliz/normaliz-2.8.ebuild
new file mode 100644
index 000000000000..0fd880cf5915
--- /dev/null
+++ b/sci-mathematics/normaliz/normaliz-2.8.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/normaliz/normaliz-2.8.ebuild,v 1.1 2012/11/12 03:15:19 tomka Exp $
+
+EAPI=4
+
+inherit eutils toolchain-funcs
+
+MYP="Normaliz${PV}"
+
+DESCRIPTION="tool for computations in affine monoids and more"
+HOMEPAGE="http://www.mathematik.uni-osnabrueck.de/normaliz/"
+SRC_URI="http://www.mathematik.uni-osnabrueck.de/${PN}/${MYP}/${MYP}.zip"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="extras openmp"
+
+RDEPEND="dev-libs/gmp[cxx]"
+DEPEND="${RDEPEND}
+ app-arch/unzip
+ dev-libs/boost"
+# Only a boost header is needed -> not RDEPEND
+
+S=${WORKDIR}/${MYP}
+
+src_prepare () {
+ epatch "${FILESDIR}/${P}-respect-flags.patch"
+
+ if use openmp && tc-has-openmp; then
+ export OPENMP=yes
+ else
+ export OPENMP=no
+ fi
+}
+
+src_compile(){
+ emake CXX="$(tc-getCXX)" OPENMP="${OPENMP}" -C source
+}
+
+src_install() {
+ dobin source/normaliz
+ dodoc doc/"${MYP}Documentation.pdf"
+ if use extras; then
+ elog "You have selected to install extras which consist of Macaulay2"
+ elog "and Singular packages. These have been installed into "
+ elog "/usr/share/${PN}, and cannot be used without additional setup. Please refer"
+ elog "to the homepages of the respective projects for additional information."
+ elog "Note however, Gentoo's versions of Singular and Macaulay2 bring their own"
+ elog "copies of these interface packages. Usually you don't need normaliz's versions."
+ insinto "/usr/share/${PN}"
+ doins Singular/normaliz.lib
+ doins Macaulay2/Normaliz.m2
+ fi
+}