diff options
author | Thomas Kahle <tomka@gentoo.org> | 2015-03-13 15:10:44 +0000 |
---|---|---|
committer | Thomas Kahle <tomka@gentoo.org> | 2015-03-13 15:10:44 +0000 |
commit | 08929ecc6cc92a179198bb3e2d7eb0ab33d98d67 (patch) | |
tree | c0dd0e08b6ebed2266213fe3da23799790be318f /sci-mathematics | |
parent | Version Bump, bug #539578; fix SLOT operators loosen USE constraints for USE=... (diff) | |
download | historical-08929ecc6cc92a179198bb3e2d7eb0ab33d98d67.tar.gz historical-08929ecc6cc92a179198bb3e2d7eb0ab33d98d67.tar.bz2 historical-08929ecc6cc92a179198bb3e2d7eb0ab33d98d67.zip |
Various improvements, thanks Benjamin Lorenz.
Package-Manager: portage-2.2.14/cvs/Linux x86_64
Manifest-Sign-Key: 0x565C32BC
Diffstat (limited to 'sci-mathematics')
-rw-r--r-- | sci-mathematics/polymake/ChangeLog | 8 | ||||
-rw-r--r-- | sci-mathematics/polymake/Manifest | 12 | ||||
-rw-r--r-- | sci-mathematics/polymake/metadata.xml | 8 | ||||
-rw-r--r-- | sci-mathematics/polymake/polymake-2.14-r1.ebuild | 90 |
4 files changed, 112 insertions, 6 deletions
diff --git a/sci-mathematics/polymake/ChangeLog b/sci-mathematics/polymake/ChangeLog index 109b7ebcef8a..73c27defd79a 100644 --- a/sci-mathematics/polymake/ChangeLog +++ b/sci-mathematics/polymake/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for sci-mathematics/polymake # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/polymake/ChangeLog,v 1.15 2015/03/05 15:09:25 tomka Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/polymake/ChangeLog,v 1.16 2015/03/13 15:10:36 tomka Exp $ + +*polymake-2.14-r1 (13 Mar 2015) + + 13 Mar 2015; Thomas Kahle <tomka@gentoo.org> +polymake-2.14-r1.ebuild, + metadata.xml: + Various improvements, thanks Benjamin Lorenz. *polymake-2.14 (05 Mar 2015) diff --git a/sci-mathematics/polymake/Manifest b/sci-mathematics/polymake/Manifest index 338f30f30895..66c0b0644b61 100644 --- a/sci-mathematics/polymake/Manifest +++ b/sci-mathematics/polymake/Manifest @@ -3,15 +3,17 @@ Hash: SHA256 AUX polymake_gcc49.patch 2497 SHA256 cef2a15991205a07078c06113dab9fb39c825d850099322cea28a415040da0f3 SHA512 0e0d65badb3031593378af6eff71381f90378c59641448d662571955a20fd744f68e643967539839355d6071c4082f467fcefee4f7c1c67b45b638250e13674a WHIRLPOOL 1ff6cda15e12c8cf463323e298d809d0c881f747e6f3c24f203c40714a90b4be47dc88b4f2535b1ba4dca0e3bf131d4c2484b2631f2d9088e19135e9e8b12997 DIST polymake-2.13-1.tar.bz2 16539798 SHA256 d010edc206b22356333493e90bd24f807c7341730232276d47dbf1b62eb53aba SHA512 90fd0c7eacbb673734e08860a753f75dae06347ce8affcb5d50c55a51975b85260db841393979c0143be5a71a26b6737f9513509d75a5950b40654c54d0be3ea WHIRLPOOL cef5c95930c7633acb0652e6ce3cd6c85b469af912ad1adb695e58a018e4cedbdac9f63caaeb12f3da0a8f7fb2b71e853b782f308a1594cfc89d2c9697e6c170 +DIST polymake-2.14-minimal.tar.bz2 1996581 SHA256 c43b525c6f329ae2d8eb6d0e2af63f7846c4e5d408627665a28d0f421bbbcf9b SHA512 8989a8d2eb42c03e46569eca24334083154ff5107d7cd7d9dc481790b1553acd38025bd48ca016407e5c08b4b08f8062e19a1d4828ef535f83292510bdf5cd07 WHIRLPOOL 3f1521c60eafcff60b8ab2a443ff051835ee1c667eefcd59b33227e7a84293ccaefad4bc05eea4b8c541dea513b85b4e8538b6b572d762f2e1167b733029ec54 DIST polymake-2.14.tar.bz2 38747874 SHA256 c181277b5cd45ac00f5667647e4eb5fa13c20547623fd6e63ce2522c058883c2 SHA512 f66eac2e821060719a16a6979fa0cc20edf9598d425ba2fff5bddfc053fd582b05a5579e1c2521fd382733a4808955aa49cb946234a183aba3ef75eed8c02b22 WHIRLPOOL 26b21d28d6b9a76b7a3164b6d5e45a00ed8a604b3f973a22db1472dce714dec5f8ad5d2ee7133321e2cd0f48d6380343b8e6d93db9e79b6726ef1e9954c04405 EBUILD polymake-2.13.ebuild 1697 SHA256 ff27a8f2ac3d1c9d27873ca9cc6e05e4e88622d9907b01e5ee8016013fc3c93e SHA512 77dba09e73473e2bbe317fa631ce55505c4965de07f0ba44e7a3114737561ce75cec5ef2ae15ae170be3fc3d74869dbe0d91735103f46d733c3916974504c072 WHIRLPOOL 77d436fcf57b8d2552bab3caea1982abdb9757c983ba5456f5e51e92de2c4e2cfdbb4f6b9a5be9cb62b3e3d3b9cee47b29e87440bdca71b2c77f686898e57985 +EBUILD polymake-2.14-r1.ebuild 2846 SHA256 409113c220644c93611c1bdbdf2f40ee843af9d77512ab4ff1d5af092dfc0e2c SHA512 3a3c89c1c6e3fdff5a6ea506ea0f82f541b9116aa8612f7f532d77a112b0925d14b304d5b20e4af3db2906a9a87609e6d56dab0de0fa55a96a2679c1325ecbb4 WHIRLPOOL e7bb1368af25ffe77db3399f36416f01eabbdc619659978768678e125d57aa8ccb88198dc0e7de6082b796866d30905071bffd0115559ecb0fbe23d26db73324 EBUILD polymake-2.14.ebuild 1601 SHA256 0d13e967dfceceeefc999dcbdbe40a36969570e7e494fed38b846bfdadea7b8f SHA512 60fcdf8f81215e66a96e9cba1c94d6a6230387163be8e619eea9cf756471f3b118f9a3a710ab7adc9e3b6a15af6d506ca70ee6ffa1cc1c4a9c860ad782ec8614 WHIRLPOOL bfce2fbadef57a9acd4615c0f1a6c926d395f6ad3dc85cf91d42ad458519133333767f30f010a52ce94b58af84a4abb188255a08061ac28e37bc75e46b9c0e91 -MISC ChangeLog 2709 SHA256 4cf5d3e5581dd13cef9f522a2cb8bd0f6d626c905d86e574f908999f0fb2a355 SHA512 d6cf7960c27441f43b45fc588cfbea6fbec7c560ea11f0c9456e09bb7fd87496a47c62b04dd1cda85e12fd940859f3397f1d6f8b9e279b76100d48871a175679 WHIRLPOOL 2081e54777a1193d537a85dd78b16ac1d0894b03c999f32716a362fe0e120dee10ee30d16b2f7b870c4b619bc909ef1200bf6a0b18a89dff0879d0c1ddb43488 -MISC metadata.xml 615 SHA256 05a17f47de10b29c32a8edd01ed12ad2584e6f2762c931605af0e1845bed6895 SHA512 c6a38afbcee33c06ad25920bfdebbfd19d295a1e584dbcb2847bdcbeb38c61553e34b26634ae4599edf072b5193a823cc55ced08a3e6f3d6ecf98a430e5e5a7f WHIRLPOOL bde24a2798501f1a89562902641d01f0c059ab8e91642e7e1a852290c5f9b9a4c7c3a3a21df5a1e841ba65801ecd326cc2109da598791723deb92e35a26a5c66 +MISC ChangeLog 2880 SHA256 3227519f7d2cec5213953d6c0c21a8c207017377e945098ae6e22cb82aff493a SHA512 fa58e78a678d0b809a3d18ef230d93bd4bc147562eccedd547d11dd9fe8834a0b8b6a22e32359b08e1ba8835b1e3f60198435b5c5b956f9d8b505f75a2e1563b WHIRLPOOL 43ce1677b024f2580b870009d821a1e31eb4e664bfc9cace46f9a2d64ccaddbe7b2eabdc40d7f7294eb0624be89b6c4ff8414781fdf4e77184be73e6ffc1e4fb +MISC metadata.xml 1330 SHA256 3fb594b2691c70ea96957ba874372848908ee1ad8e2686c01b57185db7e32a35 SHA512 8e35faf482b94ef70028e78a5a13f66ef4382c9ee5cf22e0f2b347cb88c6ed68fa08abee6084cc198d18396e108d859f48897b6eabe8554531a1b3b8a5f8067f WHIRLPOOL 20e445c991a13ab8fd47fd5c3d4d886cd474a7d2119bb4ac2130a52cc6a99a36ee793b221d48bfd617a2b4539ac33705affcf18d4e4055e821be5d5d7efc6908 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 -iF4EAREIAAYFAlT4choACgkQid6yGVZcMrwWdQD/ZU67LFnLJ2QPkp8Pe+bYRajy -B9WeCUx8ZiLXUwdGUFcBALfzVfu9i0m8Z6Sv3cXB0M39FU0oTckYrCok3ASpwnHK -=apru +iF4EAREIAAYFAlUC/lcACgkQid6yGVZcMrzOLwD/bDAt1yDvwvqq/yR5Vb75aphD +guIWUZ8/7ePWmM02cuQBAI/xseTJF0Nt9wXk15aYLMZ1Q+xGD6w4+CuzIF9puQL0 +=sMsR -----END PGP SIGNATURE----- diff --git a/sci-mathematics/polymake/metadata.xml b/sci-mathematics/polymake/metadata.xml index b4c2856553f3..2e7b4a5deb47 100644 --- a/sci-mathematics/polymake/metadata.xml +++ b/sci-mathematics/polymake/metadata.xml @@ -7,6 +7,14 @@ </maintainer> <herd>sci-mathematics</herd> <use> + <flag name="cdd">Enable sci-libs/cddlib interface for convex hull + computations (Should be kept enabled).</flag> + <flag name="lrs">Enable sci-libs/lrslib interface for convex hull computations.</flag> + <flag name="ppl">Enable dev-libs/ppl interface for convex hull computations.</flag> + <flag name="bliss">Enable sci-libs/bliss interface for graph and face lattice isomorphism computations.</flag> + <flag name="group">Build extension for dealing with permutation groups and symmetric objects.</flag> + <flag name="libnormaliz">Build the bundled extension for lattice related computations.</flag> + <flag name="singular">Enable the interface to sci-mathematics/singular for ideal related computations.</flag> <flag name="libpolymake">Build the polymake library to build applications using the C++ interface.</flag> </use> <longdescription lang="en"> diff --git a/sci-mathematics/polymake/polymake-2.14-r1.ebuild b/sci-mathematics/polymake/polymake-2.14-r1.ebuild new file mode 100644 index 000000000000..f4086b06e586 --- /dev/null +++ b/sci-mathematics/polymake/polymake-2.14-r1.ebuild @@ -0,0 +1,90 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/polymake/polymake-2.14-r1.ebuild,v 1.1 2015/03/13 15:10:36 tomka Exp $ + +EAPI=5 + +inherit eutils flag-o-matic + +DESCRIPTION="research tool for polyhedral geometry and combinatorics" +SRC_URI="http://polymake.org/lib/exe/fetch.php/download/${P}-minimal.tar.bz2" +HOMEPAGE="http://polymake.org" + +IUSE="+cdd lrs ppl bliss group +libnormaliz singular libpolymake" + +REQUIRED_USE="group? ( cdd lrs )" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" + +# do not allow new perl versions because our testbuilds segfault +DEPEND="<dev-lang/perl-5.21 + dev-libs/gmp + dev-libs/mpfr + dev-libs/libxml2:2 + dev-libs/libxslt + ppl? ( dev-libs/ppl ) + cdd? ( sci-libs/cddlib ) + lrs? ( >=sci-libs/lrslib-051[gmp] ) + bliss? ( sci-libs/bliss[gmp] ) + group? ( dev-libs/boost ) + libnormaliz? ( dev-libs/boost ) + singular? ( >=sci-mathematics/singular-4.0.1 )" +RDEPEND="${DEPEND} + dev-perl/XML-LibXML + dev-perl/XML-LibXSLT + dev-perl/XML-Writer + dev-perl/Term-ReadLine-Gnu" + +src_prepare() { + 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) + + # We need to define BLISS_USE_GMP if bliss was built with gmp support. + # Therefore we require gmp support on bliss, so that the package + # manager can prevent rebuilds with changed gmp flag. + if use bliss ; then + append-cxxflags -DBLISS_USE_GMP + fi + + # Configure does not accept --host, therefore econf cannot be used + + # Some of the options do not support using just '--with-option' + local myconf="" + use !group && myconf="$myconf --without-group" + use !libnormaliz && myconf="$myconf --without-libnormaliz" + use !libpolymake && myconf="$myconf --without-callable" + + # And many other --with-arguments expect a path: --with-option=/path + ./configure --prefix="${EPREFIX}/usr" \ + --libdir="${EPREFIX}/usr/$(get_libdir)" \ + --libexecdir="${EPREFIX}/usr/$(get_libdir)/polymake" \ + --without-prereq \ + --without-java \ + $(use_with cdd cdd "${EPREFIX}/usr") \ + $(use_with lrs lrs "${EPREFIX}/usr") \ + $(use_with ppl ppl "${EPREFIX}/usr") \ + $(use_with bliss bliss "${EPREFIX}/usr") \ + $(use_with singular singular "${EPREFIX}/usr") \ + ${myconf} || die +} + +src_install(){ + emake -j1 DESTDIR="${D}" install +} + +pkg_postinst(){ + elog "Docs can be found on http://www.polymake.org/doku.php/documentation" + elog " " + elog "Support for jreality is missing, sorry (see bug #346073)." + elog " " + elog "Additional features for polymake are available through external" + elog "software such as sci-mathmatics/4ti2 and sci-mathematics/topcom." + elog "After installing new external software run 'polymake --reconfigure'." +} |