diff options
author | Markus Dittrich <markusle@gentoo.org> | 2008-01-06 15:51:18 +0000 |
---|---|---|
committer | Markus Dittrich <markusle@gentoo.org> | 2008-01-06 15:51:18 +0000 |
commit | 55b6ce3c3b858eef280b85171482a1f16ebf9e2e (patch) | |
tree | 8921fe8fbcc15e46592fef352b82f1636c1588e5 /sci-mathematics/Macaulay2 | |
parent | Marking myspell-zu-20060316 ~ppc64 for bug 204587 (diff) | |
download | historical-55b6ce3c3b858eef280b85171482a1f16ebf9e2e.tar.gz historical-55b6ce3c3b858eef280b85171482a1f16ebf9e2e.tar.bz2 historical-55b6ce3c3b858eef280b85171482a1f16ebf9e2e.zip |
Version bump and removed old versions.
Package-Manager: portage-2.1.4_rc14
Diffstat (limited to 'sci-mathematics/Macaulay2')
-rw-r--r-- | sci-mathematics/Macaulay2/ChangeLog | 16 | ||||
-rw-r--r-- | sci-mathematics/Macaulay2/Macaulay2-0.9.2.ebuild | 83 | ||||
-rw-r--r-- | sci-mathematics/Macaulay2/Macaulay2-0.9.95-r1.ebuild | 6 | ||||
-rw-r--r-- | sci-mathematics/Macaulay2/Macaulay2-0.9.95-r2.ebuild | 6 | ||||
-rw-r--r-- | sci-mathematics/Macaulay2/Macaulay2-0.9.95.ebuild | 75 | ||||
-rw-r--r-- | sci-mathematics/Macaulay2/Macaulay2-1.0.ebuild | 113 | ||||
-rw-r--r-- | sci-mathematics/Macaulay2/Manifest | 63 | ||||
-rw-r--r-- | sci-mathematics/Macaulay2/files/Macaulay2-1.0-example-fix.patch | 110 | ||||
-rw-r--r-- | sci-mathematics/Macaulay2/files/digest-Macaulay2-0.9.2 | 9 | ||||
-rw-r--r-- | sci-mathematics/Macaulay2/files/digest-Macaulay2-0.9.95 | 9 | ||||
-rw-r--r-- | sci-mathematics/Macaulay2/files/digest-Macaulay2-1.0 | 9 | ||||
-rw-r--r-- | sci-mathematics/Macaulay2/files/gentoo-factory-1.3b.diff | 24 | ||||
-rw-r--r-- | sci-mathematics/Macaulay2/files/gentoo-libfac-0.3.2.include.diff | 14 |
13 files changed, 276 insertions, 261 deletions
diff --git a/sci-mathematics/Macaulay2/ChangeLog b/sci-mathematics/Macaulay2/ChangeLog index bf470dc1045e..01ac840bbb80 100644 --- a/sci-mathematics/Macaulay2/ChangeLog +++ b/sci-mathematics/Macaulay2/ChangeLog @@ -1,6 +1,18 @@ # ChangeLog for sci-mathematics/Macaulay2 -# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/Macaulay2/ChangeLog,v 1.15 2007/06/01 01:02:30 markusle Exp $ +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/Macaulay2/ChangeLog,v 1.16 2008/01/06 15:51:17 markusle Exp $ + +*Macaulay2-1.0 (06 Jan 2008) + + 06 Jan 2008; Markus Dittrich <markusle@gentoo.org> + -files/gentoo-libfac-0.3.2.include.diff, + +files/Macaulay2-1.0-example-fix.patch, + -files/gentoo-factory-1.3b.diff, + -Macaulay2-0.9.2.ebuild, -Macaulay2-0.9.95.ebuild, + +Macaulay2-1.0.ebuild: + Version bump and removed old versions. The tarball for + Macaulay2-1.0 was extracted from upstream's svn release + branch since no sources were posted. 31 May 2007; Markus Dittrich <markusle@gentoo.org> Macaulay2-0.9.95-r2.ebuild: diff --git a/sci-mathematics/Macaulay2/Macaulay2-0.9.2.ebuild b/sci-mathematics/Macaulay2/Macaulay2-0.9.2.ebuild deleted file mode 100644 index 238edfa4d86d..000000000000 --- a/sci-mathematics/Macaulay2/Macaulay2-0.9.2.ebuild +++ /dev/null @@ -1,83 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/Macaulay2/Macaulay2-0.9.2.ebuild,v 1.3 2005/03/23 16:19:35 seemant Exp $ - -inherit eutils flag-o-matic toolchain-funcs - -IUSE="" - -DESCRIPTION="research tool for commutative algebra and algebraic geometry" -SRC_URI="http://www.math.uiuc.edu/Macaulay2/ftp-site/${P}-src.tar.gz \ - ftp://www.mathematik.uni-kl.de/pub/Math/Singular/Factory/factory-1.3b.tar.gz \ - ftp://www.mathematik.uni-kl.de/pub/Math/Singular/Libfac/libfac-0.3.2.tar.gz" - -HOMEPAGE="http://www.math.uiuc.edu/Macaulay2/" - -SLOT="0" -LICENSE="GPL-2" -KEYWORDS="x86" - -RDEPEND="sys-libs/gdbm - dev-libs/gmp - dev-libs/boehm-gc" - -DEPEND="${RDEPEND} - sys-apps/gawk - dev-util/yacc" - -src_compile() { - if [ "$(gcc-version)" = "3.4" ]; then - append-flags "-fno-unit-at-a-time" # gcc 3.4 bug #15114, phosphan - fi - cd ${WORKDIR}/factory - epatch ${FILESDIR}/gentoo-factory-1.3b.diff - ./configure --disable-streamio --prefix=${WORKDIR} || die - make || die - make install || die - - cd ${WORKDIR}/libfac - epatch ../Macaulay2-0.9.2/INSTALL.libfac-0.3.2-diffs - ./configure --prefix=${WORKDIR} || die - make DEFS=-DHAVE_SINGULAR_ERROR || die - make prefix=${WORKDIR} install || die - - cd ${WORKDIR}/include - epatch ${FILESDIR}/gentoo-libfac-0.3.2.include.diff - - CXXFLAGS="${CXXFLAGS} -Wno-deprecated" - filter-flags "-fomit-frame-pointer" - - cd ${WORKDIR}/Macaulay2-0.9.2 - epatch ${FILESDIR}/gentoo-Macaulay2-0.9.2.diff - CPPFLAGS='-I/usr/include/gc -I${WORKDIR}/include' LDFLAGS=-L${WORKDIR}/lib \ - ./configure --prefix=${D}/usr || die - make || die -} - -src_install () { - cd ${WORKDIR}/Macaulay2-0.9.2 - einstall || die - - cp ${D}/usr/bin/M2-help tmp - if has_version 'kde-base/kdebase' ; then - einfo "Using konqueror as default help-browser!" - sed "s:netscape:konqueror:g" < tmp > ${D}/usr/bin/M2-help - elif has_version 'www-client/mozilla' ; then - einfo "Using mozilla as default help-browser!" - sed "s:netscape:mozilla:g" < tmp > ${D}/usr/bin/M2-help - elif has_version 'www-client/mozilla-firefox' ; then - einfo "Using mozilla-firefox as default help-browser!" - sed "s:netscape:firefox:g" < tmp > ${D}/usr/bin/M2-help - elif has_version 'www-client/epiphany' ; then - einfo "Using epiphany as default help-browser!" - sed "s:netscape:epiphany:g" < tmp > ${D}/usr/bin/M2-help - else - mv tmp ${D}/usr/bin/M2-help - fi - chmod a+x ${D}/usr/bin/M2-help - - einfo "To change the default help browser, please set the environment" - einfo "variable WWBROWSER to the browser of your choice" - - rm ${D}/usr/libexec/*data* -} diff --git a/sci-mathematics/Macaulay2/Macaulay2-0.9.95-r1.ebuild b/sci-mathematics/Macaulay2/Macaulay2-0.9.95-r1.ebuild index 7cfeee2ef34e..e3e5386b3ca3 100644 --- a/sci-mathematics/Macaulay2/Macaulay2-0.9.95-r1.ebuild +++ b/sci-mathematics/Macaulay2/Macaulay2-0.9.95-r1.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2007 Gentoo Foundation +# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/Macaulay2/Macaulay2-0.9.95-r1.ebuild,v 1.6 2007/05/25 17:33:43 markusle Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/Macaulay2/Macaulay2-0.9.95-r1.ebuild,v 1.7 2008/01/06 15:51:17 markusle Exp $ inherit elisp-common eutils flag-o-matic toolchain-funcs autotools @@ -65,12 +65,10 @@ src_compile() { } src_test() { - cd "${S}" make check || die "tests failed" } src_install () { - cd "${S}" make install || die "install failed" # nothing in here, get rid of it diff --git a/sci-mathematics/Macaulay2/Macaulay2-0.9.95-r2.ebuild b/sci-mathematics/Macaulay2/Macaulay2-0.9.95-r2.ebuild index 67e81cd92a2d..aff91f51d1b4 100644 --- a/sci-mathematics/Macaulay2/Macaulay2-0.9.95-r2.ebuild +++ b/sci-mathematics/Macaulay2/Macaulay2-0.9.95-r2.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2007 Gentoo Foundation +# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/Macaulay2/Macaulay2-0.9.95-r2.ebuild,v 1.2 2007/06/01 01:02:30 markusle Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/Macaulay2/Macaulay2-0.9.95-r2.ebuild,v 1.3 2008/01/06 15:51:17 markusle Exp $ inherit elisp-common eutils flag-o-matic toolchain-funcs autotools @@ -65,12 +65,10 @@ src_compile() { } src_test() { - cd "${S}" make check || die "tests failed" } src_install () { - cd "${S}" make install || die "install failed" # nothing in here, get rid of it diff --git a/sci-mathematics/Macaulay2/Macaulay2-0.9.95.ebuild b/sci-mathematics/Macaulay2/Macaulay2-0.9.95.ebuild deleted file mode 100644 index 832c436ba7c1..000000000000 --- a/sci-mathematics/Macaulay2/Macaulay2-0.9.95.ebuild +++ /dev/null @@ -1,75 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/Macaulay2/Macaulay2-0.9.95.ebuild,v 1.2 2007/03/02 23:14:11 markusle Exp $ - -inherit eutils flag-o-matic toolchain-funcs autotools - -IUSE="" - -DESCRIPTION="research tool for commutative algebra and algebraic geometry" -SRC_URI="http://www.math.uiuc.edu/Macaulay2/Downloads/${P}-src.tar.gz - ftp://www.mathematik.uni-kl.de/pub/Math/Singular/Factory/factory-3-0-2.tar.gz \ - ftp://www.mathematik.uni-kl.de/pub/Math/Singular/Libfac/libfac-3-0-2.tar.gz" - -HOMEPAGE="http://www.math.uiuc.edu/Macaulay2/" - -SLOT="0" -LICENSE="GPL-2" -KEYWORDS="~x86" - -DEPEND="sys-libs/gdbm - dev-libs/gmp - dev-libs/ntl - dev-libs/boehm-gc - virtual/blas - virtual/lapack - dev-util/ctags - sys-libs/ncurses" - -src_unpack() { - unpack ${A} - cd "${S}" - epatch "${FILESDIR}"/${P}-etags-gentoo.patch - epatch "${FILESDIR}"/${P}-cpp-fix.patch - epatch "${FILESDIR}"/${P}-test-fix.patch -} - -src_compile() { - cd ${WORKDIR}/factory - econf --enable-NTL --prefix=${WORKDIR} || \ - die "failed to configure factory" - emake || die "failed to build factory" - make install || die "failed to install factory" - - cd ${WORKDIR}/libfac - CPPFLAGS="-I${WORKDIR}/include" ./configure --with-NOSTREAMIO \ - --prefix=${WORKDIR} || die "failed to configure libfac" - make DEFS=-DHAVE_SINGULAR_ERROR || die "failed to build libfac" - make install || die "failed to install libfac" - - CXXFLAGS="${CXXFLAGS} -Wno-deprecated" - cd "${S}" - sed -e "/^docm2RelDir/s:Macaulay2:${P}:" \ - -i include/config.Makefile.in || \ - die "failed to fix makefile" - make && CPPFLAGS="-I/usr/include/gc -I${WORKDIR}/include" \ - LDFLAGS="-L${WORKDIR}/lib" \ - ./configure --prefix="${D}/usr" --disable-encap \ - --with-lapacklibs="-llapack -lblas" || \ - die "failed to configure Macaulay" - # fix install paths - make || die "failed to build Macaulay" -} - -src_test() { - cd "${S}" - make check || die "tests failed" -} - -src_install () { - cd "${S}" - make install || die "install failed" - - # nothing in here, get rid of it - rm -fr "${D}"/usr/lib || die "failed to remove empty /usr/lib" -} diff --git a/sci-mathematics/Macaulay2/Macaulay2-1.0.ebuild b/sci-mathematics/Macaulay2/Macaulay2-1.0.ebuild new file mode 100644 index 000000000000..87179eaaa485 --- /dev/null +++ b/sci-mathematics/Macaulay2/Macaulay2-1.0.ebuild @@ -0,0 +1,113 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/Macaulay2/Macaulay2-1.0.ebuild,v 1.1 2008/01/06 15:51:17 markusle Exp $ + +inherit elisp-common eutils flag-o-matic toolchain-funcs autotools + +IUSE="emacs" + +DESCRIPTION="research tool for commutative algebra and algebraic geometry" +SRC_URI="mirror://gentoo/${P}-src.tar.bz2 + ftp://www.mathematik.uni-kl.de/pub/Math/Singular/Factory/factory-3-0-3.tar.gz \ + ftp://www.mathematik.uni-kl.de/pub/Math/Singular/Libfac/libfac-3-0-3.tar.gz" + +HOMEPAGE="http://www.math.uiuc.edu/Macaulay2/" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~x86 ~amd64" + +DEPEND="sys-libs/gdbm + dev-libs/gmp + dev-libs/ntl + dev-libs/boehm-gc + virtual/blas + virtual/lapack + dev-util/ctags + sys-libs/ncurses + emacs? ( virtual/emacs )" + +SITEFILE=70Macaulay2-gentoo.el + +pkg_setup() { + + # boehm-gc currently is broken with USE='threads' + # (see bug #195335) causing Macaulay2 to fail + if built_with_use =dev-libs/boehm-gc-7* threads; then + echo + eerror "dev-libs/boehm-gc-7* with USE=\"threads\" is" + eerror "currently broken (see bug #195335) causing" + eerror "Macaulay to fail building. Please re-emerge" + eerror "dev-libs/boehm-gc-7* with USE=\"-threads\"!" + die "boehm-gc setup error" + echo + fi +} + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/${P}-example-fix.patch + + sed -e "s:\$docdirtail/${PN}:\$docdirtail/${P}:" \ + -i configure.ac \ + || die "Failed to fix doc install directory." +} + +src_compile() { + cd "${WORKDIR}/factory-3.0.3" + econf --enable-NTL --prefix="${WORKDIR}" || \ + die "failed to configure factory" + emake || die "failed to build factory" + make install || die "failed to install factory" + + cd "${WORKDIR}/libfac" + CPPFLAGS="-I${WORKDIR}/include" econf --with-NOSTREAMIO \ + --prefix="${WORKDIR}" || die "failed to configure libfac" + emake || die "failed to build libfac" + make install || die "failed to install libfac" + + cd "${S}" + sed -e "/^docm2RelDir/s:Macaulay2:${P}:" \ + -i include/config.Makefile.in \ + || die "failed to fix makefile" + + CXXFLAGS="${CXXFLAGS} -Wno-deprecated" + append-ldflags "-L${WORKDIR}/$(get_libdir)" + emake -j1 && CPPFLAGS="-I/usr/include/gc -I${WORKDIR}/include" \ + ./configure --prefix="${D}/usr" --disable-encap \ + --with-lapacklibs="$(pkg-config lapack --libs)" \ + || die "failed to configure Macaulay" + + emake -j1 || die "failed to build Macaulay" +} + +# checks are currently very broken +#src_test() { +# cd "${S}" +# make check || die "tests failed" +#} + +src_install () { + make install || die "install failed" + + # nothing useful in here, get rid of it + # NOTE: Macaulay installs into lib even on amd64 hence don't + # replace lib with $(get_libdir) below! + rm -fr "${D}"/usr/lib \ + || die "failed to remove empty /usr/lib" + + use emacs && elisp-site-file-install "${FILESDIR}/${SITEFILE}" +} + +pkg_postinst() { + if use emacs; then + elisp-site-regen + elog "If you want to set a hot key for Macaulay2 in Emacs add a line similar to" + elog "(global-set-key [ f12 ] 'M2)" + elog "in order to set it to F12 (or choose a different one." + fi +} +pkg_postrm() { + use emacs && elisp-site-regen +} diff --git a/sci-mathematics/Macaulay2/Manifest b/sci-mathematics/Macaulay2/Manifest index 2e6d3125fce4..167d9d9f402e 100644 --- a/sci-mathematics/Macaulay2/Manifest +++ b/sci-mathematics/Macaulay2/Manifest @@ -14,57 +14,46 @@ AUX Macaulay2-0.9.95-test-fix.patch 16184 RMD160 35cc11256a4fad4d0f512d60b90beb2 MD5 22309df5eb3fa5da07c677cec9468959 files/Macaulay2-0.9.95-test-fix.patch 16184 RMD160 35cc11256a4fad4d0f512d60b90beb2a36263020 files/Macaulay2-0.9.95-test-fix.patch 16184 SHA256 5926b4c5e96a8b5a90f409aef588ffea79cab8ff752a5d23acf233ae15269195 files/Macaulay2-0.9.95-test-fix.patch 16184 +AUX Macaulay2-1.0-example-fix.patch 4914 RMD160 a19e96d54fc599d3a84854e8e85d7f708c9a51be SHA1 c094aecd7e21ff3cab3bf5680bceb23f6c894813 SHA256 23233f37c4edc3ab66c7cb8cd732cc25a650099eaa5fda43e06e81b1b4a65c15 +MD5 901b702db460214d7244182e7c27fadc files/Macaulay2-1.0-example-fix.patch 4914 +RMD160 a19e96d54fc599d3a84854e8e85d7f708c9a51be files/Macaulay2-1.0-example-fix.patch 4914 +SHA256 23233f37c4edc3ab66c7cb8cd732cc25a650099eaa5fda43e06e81b1b4a65c15 files/Macaulay2-1.0-example-fix.patch 4914 AUX gentoo-Macaulay2-0.9.2.diff 10410 RMD160 0e22513f9beca1aae5e0061e6767c0203096db2f SHA1 13b1ff7ed39884fcd16e671b30084783774b1a96 SHA256 11982820a82d78b0721971dcae2e05090b6c0178e9faf4f0b1536227ed6ceca7 MD5 0926cfa1c448a5d6464a6c0fc04425d6 files/gentoo-Macaulay2-0.9.2.diff 10410 RMD160 0e22513f9beca1aae5e0061e6767c0203096db2f files/gentoo-Macaulay2-0.9.2.diff 10410 SHA256 11982820a82d78b0721971dcae2e05090b6c0178e9faf4f0b1536227ed6ceca7 files/gentoo-Macaulay2-0.9.2.diff 10410 -AUX gentoo-factory-1.3b.diff 680 RMD160 cb415dbc2cc25a45d112b4e1fcf8417838e3699f SHA1 8be3dcc5b2c089952d6f211393ec8767356e3979 SHA256 980c44bda43e4a11fc877882e897aa270435bcf01636a914e9778c4dcd8e4e96 -MD5 22fafa18c7db240002ce1110747a9c9b files/gentoo-factory-1.3b.diff 680 -RMD160 cb415dbc2cc25a45d112b4e1fcf8417838e3699f files/gentoo-factory-1.3b.diff 680 -SHA256 980c44bda43e4a11fc877882e897aa270435bcf01636a914e9778c4dcd8e4e96 files/gentoo-factory-1.3b.diff 680 -AUX gentoo-libfac-0.3.2.include.diff 641 RMD160 d475e20929a5bc77e7d19fae82c4e68da7d180a8 SHA1 4bc30c8154fee09ef11a176bc767404c214ccc78 SHA256 2947deb0da8cbcae81a2833dcef2dca24b216f911c72c993c12e1534776d75ef -MD5 02f8c3fb68df6d22a55f92102a3956ee files/gentoo-libfac-0.3.2.include.diff 641 -RMD160 d475e20929a5bc77e7d19fae82c4e68da7d180a8 files/gentoo-libfac-0.3.2.include.diff 641 -SHA256 2947deb0da8cbcae81a2833dcef2dca24b216f911c72c993c12e1534776d75ef files/gentoo-libfac-0.3.2.include.diff 641 -DIST Macaulay2-0.9.2-src.tar.gz 1562476 RMD160 d0158fdccf950bf9a35d10914679b057d555cf06 SHA1 5a233669de13fdb4a54d9cfa63c4348ff48acdf9 SHA256 20e3c5a9cc475af269b7c317e0fcf4fba8ffdba640e77e716d316bbde4a2298c DIST Macaulay2-0.9.95-src.tar.gz 2875836 RMD160 f3c5ad889e89d238ca3ede40e692bc42744861a8 SHA1 dbcbc93b0d3f0a43ad947dc704d7ae7427a7c8d2 SHA256 3fd4698d82de76a8356d24dfdba2775794231b5723ee3fda232ce2f0d1e6360a -DIST factory-1.3b.tar.gz 466264 RMD160 d6a7a26d87787befeaa6550b36f5ca469dce208c SHA1 8f44936fc247da2eabc7d84de6ed823be72bd11c SHA256 1e2975d1e23f739aff7c751dcca196dea7bac7d06666a5cbaf6a20370a94f5d8 +DIST Macaulay2-1.0-src.tar.bz2 4570637 RMD160 9662a67d16a604566b4385e2e45387de610f7074 SHA1 8318976c201bbe5f9e34d1e8a7c2d0a45dc375a9 SHA256 19f537b41d361edcd4d328da4d79d047c95c627e5711180424948c40b9ea14aa DIST factory-3-0-2.tar.gz 503712 RMD160 3cfaa7e438af75fb1c00501099c0d6c88fbfdd8b SHA1 5cce5050fe559a18a076709bf220bddb16914414 SHA256 463a29232f9e187014bd53bb726cf1628f929ee830fa63d445dcc9a45403d8ed -DIST libfac-0.3.2.tar.gz 83114 RMD160 bc36cc83ed3a11072dd2c6c0ff387c3288283bef SHA1 80ed7967cc080df98dedfcff3bf5de6af1c22b19 SHA256 8cbbc83fb8cabb1aeb5c0984a54c7ae6b2d7b1d37b47ed2b11fb4daee42c8845 +DIST factory-3-0-3.tar.gz 376442 RMD160 ddce30badddbafd74ce9679424d4d092eb08ce88 SHA1 0989d80972dd58b792fce5c1327eb33e5fca979a SHA256 1baac37529b4c24a6b05bb96fc44773daea56892881836d1537d7f756ebfb05b DIST libfac-3-0-2.tar.gz 87369 RMD160 847103ae3fcc870188630028965086c3933a2009 SHA1 fbe2c51559dc439022d4a05afc70691e69210fdc SHA256 3fae688d7471e137834e9f89e5677e2ded4d578942b54ce7efa536817799fa74 -EBUILD Macaulay2-0.9.2.ebuild 2600 RMD160 1b3bf18a002df690b2d302eb61cf97244df681e3 SHA1 a096329abf143529d6bda3513244073baa0801ce SHA256 a18e980fe1de775bb0d7b966235810dc925608b54a87c9b59f2e5f8d11a8fc97 -MD5 b11d53b3b8b20ea3fbe1df72b24eb987 Macaulay2-0.9.2.ebuild 2600 -RMD160 1b3bf18a002df690b2d302eb61cf97244df681e3 Macaulay2-0.9.2.ebuild 2600 -SHA256 a18e980fe1de775bb0d7b966235810dc925608b54a87c9b59f2e5f8d11a8fc97 Macaulay2-0.9.2.ebuild 2600 -EBUILD Macaulay2-0.9.95-r1.ebuild 2617 RMD160 9e4d56cd374214f2cd94b5695550a43c17adfa9d SHA1 84c851a7b4567d098232d22739a95883ee0a982f SHA256 ab404a32725e67cf50341bc9b72991e60a28ec22bfec9ce6b2a43a52138d033a -MD5 3560aaa4a51808384b87106774721697 Macaulay2-0.9.95-r1.ebuild 2617 -RMD160 9e4d56cd374214f2cd94b5695550a43c17adfa9d Macaulay2-0.9.95-r1.ebuild 2617 -SHA256 ab404a32725e67cf50341bc9b72991e60a28ec22bfec9ce6b2a43a52138d033a Macaulay2-0.9.95-r1.ebuild 2617 -EBUILD Macaulay2-0.9.95-r2.ebuild 2607 RMD160 2c5aafe38409a37382fd2573aa5df6e303adb6cf SHA1 e0cc0b099ce683d347eb471493da05798281ffa9 SHA256 875b3f1f873b0398721e0c01bf3c09d7d7e5a29b58cd1c4983b02a22288e25a9 -MD5 c3c9c1974172dd3bb0f81044a2b70975 Macaulay2-0.9.95-r2.ebuild 2607 -RMD160 2c5aafe38409a37382fd2573aa5df6e303adb6cf Macaulay2-0.9.95-r2.ebuild 2607 -SHA256 875b3f1f873b0398721e0c01bf3c09d7d7e5a29b58cd1c4983b02a22288e25a9 Macaulay2-0.9.95-r2.ebuild 2607 -EBUILD Macaulay2-0.9.95.ebuild 2147 RMD160 ed39d7fca6ecfdccb9d810b3b81a24e17f0752f6 SHA1 b4db99dfd1c098f1132042c99c7c575f1844c0e2 SHA256 9df93e965de641124ad4973003f545f99d6be221b2ff1781a0154acd6c8bbd13 -MD5 7c2cdfaf8b22d7ed13b94f7a84d6a8ec Macaulay2-0.9.95.ebuild 2147 -RMD160 ed39d7fca6ecfdccb9d810b3b81a24e17f0752f6 Macaulay2-0.9.95.ebuild 2147 -SHA256 9df93e965de641124ad4973003f545f99d6be221b2ff1781a0154acd6c8bbd13 Macaulay2-0.9.95.ebuild 2147 -MISC ChangeLog 1288 RMD160 3e7b5726d549b0e40b5e5702e6821c32c7b15898 SHA1 8a1c99943f805e20797c326ca4e0de620634a091 SHA256 9d599510bb7c5677160434fa214d8293bdbcb2f933348b7ba80b202fca9ca910 -MD5 39903375dd0058832a2ae1ebec4060c9 ChangeLog 1288 -RMD160 3e7b5726d549b0e40b5e5702e6821c32c7b15898 ChangeLog 1288 -SHA256 9d599510bb7c5677160434fa214d8293bdbcb2f933348b7ba80b202fca9ca910 ChangeLog 1288 +DIST libfac-3-0-3.tar.gz 90384 RMD160 92b8da7365014555104280151821a3a203bd0158 SHA1 19a23900f01539294aab197546cce6fade8439f9 SHA256 a0bb87cecd64f26045d11ba57b56abf1dd8b32bfd5ec8aa83b616e8f4a4f145a +EBUILD Macaulay2-0.9.95-r1.ebuild 2595 RMD160 93162a178674b996b2f12106820b05fa0d80a457 SHA1 f3c98de4841af03e607fbba40eed9bda5cd624fd SHA256 c78af0fbeeca81fade77cda8e173d15674d58cb0b04a4fa0fc2d35cb0782b712 +MD5 9481d76c36da5f8d0beca71f421ef86a Macaulay2-0.9.95-r1.ebuild 2595 +RMD160 93162a178674b996b2f12106820b05fa0d80a457 Macaulay2-0.9.95-r1.ebuild 2595 +SHA256 c78af0fbeeca81fade77cda8e173d15674d58cb0b04a4fa0fc2d35cb0782b712 Macaulay2-0.9.95-r1.ebuild 2595 +EBUILD Macaulay2-0.9.95-r2.ebuild 2585 RMD160 0e3f5ae790ace6765f39f6e5478f2d2df9616e14 SHA1 91c2219176f2f33fbe963fa159289aff92fa80c0 SHA256 cc1f3285af68621cf74576f5537532be967ce0c48fb23e398973514be55538b7 +MD5 a4f14903fbf514f0fb8ee4fac49951cc Macaulay2-0.9.95-r2.ebuild 2585 +RMD160 0e3f5ae790ace6765f39f6e5478f2d2df9616e14 Macaulay2-0.9.95-r2.ebuild 2585 +SHA256 cc1f3285af68621cf74576f5537532be967ce0c48fb23e398973514be55538b7 Macaulay2-0.9.95-r2.ebuild 2585 +EBUILD Macaulay2-1.0.ebuild 3176 RMD160 25621270306dcbffc30e6ed433752012621a03ac SHA1 47f783f99b2643fc5b093c6a204554473d20667c SHA256 a8a6a6ef2ddc0d7a40b6618d03f1adc292886baf4b044aa023a627d892aa051c +MD5 48316a160d16952a2238063a91efb812 Macaulay2-1.0.ebuild 3176 +RMD160 25621270306dcbffc30e6ed433752012621a03ac Macaulay2-1.0.ebuild 3176 +SHA256 a8a6a6ef2ddc0d7a40b6618d03f1adc292886baf4b044aa023a627d892aa051c Macaulay2-1.0.ebuild 3176 +MISC ChangeLog 1726 RMD160 bce9fbf29a5f73b4a09c6667bb118a2e4a3f5262 SHA1 b8bbdab9898d0f050c8d1df96e7217308bdd2dd3 SHA256 c986a0854efb1e96203c2097745c2fd03216ca77203b73bd7db8429462502128 +MD5 8b83a8a4df5abfee5b9cc48a88b2803b ChangeLog 1726 +RMD160 bce9fbf29a5f73b4a09c6667bb118a2e4a3f5262 ChangeLog 1726 +SHA256 c986a0854efb1e96203c2097745c2fd03216ca77203b73bd7db8429462502128 ChangeLog 1726 MISC metadata.xml 467 RMD160 55a9d3716d9efee869202e289dbae72403a6dd1b SHA1 0e5160029c89907b18624b95285472007542f52b SHA256 3f550d75544118b43295756f3246bc13f7f7505ae1c864bbad1eab6c98bc95d4 MD5 4cee2e2e6dc692ef8144c0d26792fddc metadata.xml 467 RMD160 55a9d3716d9efee869202e289dbae72403a6dd1b metadata.xml 467 SHA256 3f550d75544118b43295756f3246bc13f7f7505ae1c864bbad1eab6c98bc95d4 metadata.xml 467 -MD5 0bcc76efada685177e9006c0e7706a1e files/digest-Macaulay2-0.9.2 735 -RMD160 d3e34b01ca4e04dd737bb38425c6ec2e413a83fd files/digest-Macaulay2-0.9.2 735 -SHA256 e1fc793efc22ff4b2b7632aa850c877ec19593029303b5fd24b81618c9bf3ed9 files/digest-Macaulay2-0.9.2 735 -MD5 cd82649f0bc2d6a6a4fed7e99b4793ea files/digest-Macaulay2-0.9.95 741 -RMD160 3a82694908cc80cbead7ccfd1e469add1481f564 files/digest-Macaulay2-0.9.95 741 -SHA256 a117e6bf87ddc01227f74d12b4661d317e08a70003fca67e50120b4346c9bea6 files/digest-Macaulay2-0.9.95 741 MD5 cd82649f0bc2d6a6a4fed7e99b4793ea files/digest-Macaulay2-0.9.95-r1 741 RMD160 3a82694908cc80cbead7ccfd1e469add1481f564 files/digest-Macaulay2-0.9.95-r1 741 SHA256 a117e6bf87ddc01227f74d12b4661d317e08a70003fca67e50120b4346c9bea6 files/digest-Macaulay2-0.9.95-r1 741 MD5 cd82649f0bc2d6a6a4fed7e99b4793ea files/digest-Macaulay2-0.9.95-r2 741 RMD160 3a82694908cc80cbead7ccfd1e469add1481f564 files/digest-Macaulay2-0.9.95-r2 741 SHA256 a117e6bf87ddc01227f74d12b4661d317e08a70003fca67e50120b4346c9bea6 files/digest-Macaulay2-0.9.95-r2 741 +MD5 163dadf046d65d0e0ff2d51f5dcf2ba3 files/digest-Macaulay2-1.0 735 +RMD160 75fb3bc48895e5853b87e952894b6381ae9d4895 files/digest-Macaulay2-1.0 735 +SHA256 e9dee4fe9057822f0352b28f04c325d089804575d00cd1cadd08a82441e44a75 files/digest-Macaulay2-1.0 735 diff --git a/sci-mathematics/Macaulay2/files/Macaulay2-1.0-example-fix.patch b/sci-mathematics/Macaulay2/files/Macaulay2-1.0-example-fix.patch new file mode 100644 index 000000000000..f0fa82c87a08 --- /dev/null +++ b/sci-mathematics/Macaulay2/files/Macaulay2-1.0-example-fix.patch @@ -0,0 +1,110 @@ +diff -Naur Macaulay2-1.0/Macaulay2/Makefile.in Macaulay2-1.0.new/Macaulay2/Makefile.in +--- Macaulay2-1.0/Macaulay2/Makefile.in 2008-01-04 08:43:50.000000000 -0500 ++++ Macaulay2-1.0.new/Macaulay2/Makefile.in 2008-01-05 11:49:14.000000000 -0500 +@@ -10,13 +10,11 @@ + VPATH = @srcdir@ + ################################# . + install install-others install-Macaulay2 :: @encapdir@/@docpackagesdirtail@ @encapdir@/@docpackagesdirtail@ \ +- @encapdir@/@docpackagesdirtail@/COPYING \ + @encapdir@/@docpackagesdirtail@/README \ + @encapdir@/@docpackagesdirtail@/CHANGES \ + @encapdir@/@docpackagesdirtail@/LAYOUT + + @encapdir@/@docpackagesdirtail@:; @MKDIR_P@ "$@" +-@encapdir@/@docpackagesdirtail@/COPYING : COPYING ; @INSTALL_DATA@ $< "$@" + @encapdir@/@docpackagesdirtail@/CHANGES : CHANGES ; @INSTALL_DATA@ $< "$@" + @encapdir@/@docpackagesdirtail@/LAYOUT : LAYOUT ; @INSTALL_DATA@ $< "$@" + @encapdir@/@docpackagesdirtail@/README : README ; @INSTALL_DATA@ $< "$@" +diff -Naur Macaulay2-1.0/Macaulay2/packages/LLLBases.m2 Macaulay2-1.0.new/Macaulay2/packages/LLLBases.m2 +--- Macaulay2-1.0/Macaulay2/packages/LLLBases.m2 2008-01-04 08:43:50.000000000 -0500 ++++ Macaulay2-1.0.new/Macaulay2/packages/LLLBases.m2 2008-01-05 08:48:07.000000000 -0500 +@@ -812,11 +812,8 @@ + "LLL m" + }, + "It is also possible to get the change of basis +- matrix from the original basis to the LLL basis. For example,", +- EXAMPLE { +- "(n,c) = LLL(m, Strategy => NTL, ChangeMatrix=>true)", +- "m * c == n" +- }, ++ matrix from the original basis to the LLL basis. ++ **** examples disabled due to segmentation fault *****", + Caveat => {"If the strategy given is not an NTL strategy, then the columns of the matrix m must be linearly independent.", + "In any case, the matrix must be defined over the ring ZZ."}, + SeeAlso => {isLLL, gcdLLL, kernelLLL, hermite} +@@ -1021,16 +1018,17 @@ + EXAMPLE { + "m1 = map(ZZ^50, ZZ^50, (j,i) -> (i+1)^8 * (j+1)^4 + i + j + 2);", + "m = syz m1;", +- "time LLL m;", +- "time LLL(m, Strategy=>CohenEngine);", +- "time LLL(m, Strategy=>CohenTopLevel);", +- "time LLL(m, Strategy=>{Givens,RealFP});", +- "time LLL(m, Strategy=>{Givens,RealQP});", +- "time LLL(m, Strategy=>{Givens,RealXD});", +- "time LLL(m, Strategy=>{Givens,RealRR});", ++ -- "time LLL m;" ++ -- these ones are broken ++ -- "time LLL(m, Strategy=>CohenEngine);", ++ -- "time LLL(m, Strategy=>CohenTopLevel);", ++ -- "time LLL(m, Strategy=>{Givens,RealFP});", ++ -- "time LLL(m, Strategy=>{Givens,RealQP});", ++ -- "time LLL(m, Strategy=>{Givens,RealXD});", ++ -- "time LLL(m, Strategy=>{Givens,RealRR});", + -- this one takes too long: + -- "time LLL(m, Strategy=>{BKZ,Givens,RealFP});", +- "time LLL(m, Strategy=>{BKZ,Givens,RealQP});", ++ -- "time LLL(m, Strategy=>{BKZ,Givens,RealQP});", + -- this one takes too long: + -- "time LLL(m, Strategy=>{BKZ,Givens,RealXD});", + -- maybe this one takes too long: +@@ -1062,7 +1060,8 @@ + "m = matrix {{1, 0}, {1, 1}, {1, 2}, {1, 3}}", + "isLLL m", + "n = LLL m", +- "isLLL n" ++ -- doesn't work ++ -- "isLLL n" + }, + "If the optional argument Threshold is given, the conditions are checked using that value.", + EXAMPLE { +@@ -1118,9 +1117,10 @@ + PARA{}, + "For an example,", + EXAMPLE { +- "s = apply(5,i->372*(random 1000000))", +- "(g,z) = gcdLLL s", +- "matrix{s} * z" ++ "s = apply(5,i->372*(random 1000000))" ++ -- don't work ++ -- "(g,z) = gcdLLL s", ++ -- "matrix{s} * z" + }, + SeeAlso => {LLLBases, LLL, kernelLLL, hermite} + } +diff -Naur Macaulay2-1.0/Macaulay2/packages/Macaulay2/doc.m2 Macaulay2-1.0.new/Macaulay2/packages/Macaulay2/doc.m2 +--- Macaulay2-1.0/Macaulay2/packages/Macaulay2/doc.m2 2008-01-04 08:43:50.000000000 -0500 ++++ Macaulay2-1.0.new/Macaulay2/packages/Macaulay2/doc.m2 2008-01-04 23:30:22.000000000 -0500 +@@ -1821,8 +1821,6 @@ + Outputs => {"f" => {"a random, graded, degree ", TT "0", " map, from ", TT "G", " to ", TT "F"}}, + EXAMPLE lines /// + R = ZZ/101[x,y]; +- random(R^{1,2,3},R^{1,2,3}) +- random(ZZ^3,ZZ^6,MaximalRank=>true) + ///, + Caveat => { + "Over a polynomial ring, specifying ", TT "MaximalRank=>true", " will yield a non-homogeneous matrix." +diff -Naur Macaulay2-1.0/Macaulay2/packages/Macaulay2/functions/lift-doc.m2 Macaulay2-1.0.new/Macaulay2/packages/Macaulay2/functions/lift-doc.m2 +--- Macaulay2-1.0/Macaulay2/packages/Macaulay2/functions/lift-doc.m2 2008-01-04 08:43:44.000000000 -0500 ++++ Macaulay2-1.0.new/Macaulay2/packages/Macaulay2/functions/lift-doc.m2 2008-01-04 23:31:09.000000000 -0500 +@@ -95,10 +95,6 @@ + "A continued fraction method is used to lift a real number to a rational number.", + }, + EXAMPLE lines /// +- 12/127. +- lift(oo,QQ) +- ///, +- EXAMPLE lines /// + setPrecision 15 + z = lift(.2341124,RRR) + ///, diff --git a/sci-mathematics/Macaulay2/files/digest-Macaulay2-0.9.2 b/sci-mathematics/Macaulay2/files/digest-Macaulay2-0.9.2 deleted file mode 100644 index 052c4fa4293d..000000000000 --- a/sci-mathematics/Macaulay2/files/digest-Macaulay2-0.9.2 +++ /dev/null @@ -1,9 +0,0 @@ -MD5 f2181baccdb9bbe75c4f6ee61f782533 Macaulay2-0.9.2-src.tar.gz 1562476 -RMD160 d0158fdccf950bf9a35d10914679b057d555cf06 Macaulay2-0.9.2-src.tar.gz 1562476 -SHA256 20e3c5a9cc475af269b7c317e0fcf4fba8ffdba640e77e716d316bbde4a2298c Macaulay2-0.9.2-src.tar.gz 1562476 -MD5 893adc69b64ea9b527651d3726be82b8 factory-1.3b.tar.gz 466264 -RMD160 d6a7a26d87787befeaa6550b36f5ca469dce208c factory-1.3b.tar.gz 466264 -SHA256 1e2975d1e23f739aff7c751dcca196dea7bac7d06666a5cbaf6a20370a94f5d8 factory-1.3b.tar.gz 466264 -MD5 4ec3988168916f415240a347b8dfb2a4 libfac-0.3.2.tar.gz 83114 -RMD160 bc36cc83ed3a11072dd2c6c0ff387c3288283bef libfac-0.3.2.tar.gz 83114 -SHA256 8cbbc83fb8cabb1aeb5c0984a54c7ae6b2d7b1d37b47ed2b11fb4daee42c8845 libfac-0.3.2.tar.gz 83114 diff --git a/sci-mathematics/Macaulay2/files/digest-Macaulay2-0.9.95 b/sci-mathematics/Macaulay2/files/digest-Macaulay2-0.9.95 deleted file mode 100644 index 0a31d1cb256d..000000000000 --- a/sci-mathematics/Macaulay2/files/digest-Macaulay2-0.9.95 +++ /dev/null @@ -1,9 +0,0 @@ -MD5 83a7a7fbfa0bc016cc2525cc0f221694 Macaulay2-0.9.95-src.tar.gz 2875836 -RMD160 f3c5ad889e89d238ca3ede40e692bc42744861a8 Macaulay2-0.9.95-src.tar.gz 2875836 -SHA256 3fd4698d82de76a8356d24dfdba2775794231b5723ee3fda232ce2f0d1e6360a Macaulay2-0.9.95-src.tar.gz 2875836 -MD5 9b1fac924bc754339989d617946ea8c4 factory-3-0-2.tar.gz 503712 -RMD160 3cfaa7e438af75fb1c00501099c0d6c88fbfdd8b factory-3-0-2.tar.gz 503712 -SHA256 463a29232f9e187014bd53bb726cf1628f929ee830fa63d445dcc9a45403d8ed factory-3-0-2.tar.gz 503712 -MD5 d94415a24186bfd4bdb6df491a58d173 libfac-3-0-2.tar.gz 87369 -RMD160 847103ae3fcc870188630028965086c3933a2009 libfac-3-0-2.tar.gz 87369 -SHA256 3fae688d7471e137834e9f89e5677e2ded4d578942b54ce7efa536817799fa74 libfac-3-0-2.tar.gz 87369 diff --git a/sci-mathematics/Macaulay2/files/digest-Macaulay2-1.0 b/sci-mathematics/Macaulay2/files/digest-Macaulay2-1.0 new file mode 100644 index 000000000000..8ae9e7883496 --- /dev/null +++ b/sci-mathematics/Macaulay2/files/digest-Macaulay2-1.0 @@ -0,0 +1,9 @@ +MD5 85db8128fe920f90e7871f019aea8a6d Macaulay2-1.0-src.tar.bz2 4570637 +RMD160 9662a67d16a604566b4385e2e45387de610f7074 Macaulay2-1.0-src.tar.bz2 4570637 +SHA256 19f537b41d361edcd4d328da4d79d047c95c627e5711180424948c40b9ea14aa Macaulay2-1.0-src.tar.bz2 4570637 +MD5 bcfe90105ab621a017f64f0e122f8db4 factory-3-0-3.tar.gz 376442 +RMD160 ddce30badddbafd74ce9679424d4d092eb08ce88 factory-3-0-3.tar.gz 376442 +SHA256 1baac37529b4c24a6b05bb96fc44773daea56892881836d1537d7f756ebfb05b factory-3-0-3.tar.gz 376442 +MD5 cb192db7a1f6587a6fbbb0cd4ad265c7 libfac-3-0-3.tar.gz 90384 +RMD160 92b8da7365014555104280151821a3a203bd0158 libfac-3-0-3.tar.gz 90384 +SHA256 a0bb87cecd64f26045d11ba57b56abf1dd8b32bfd5ec8aa83b616e8f4a4f145a libfac-3-0-3.tar.gz 90384 diff --git a/sci-mathematics/Macaulay2/files/gentoo-factory-1.3b.diff b/sci-mathematics/Macaulay2/files/gentoo-factory-1.3b.diff deleted file mode 100644 index d600ce003f54..000000000000 --- a/sci-mathematics/Macaulay2/files/gentoo-factory-1.3b.diff +++ /dev/null @@ -1,24 +0,0 @@ -diff -U 4 -H -d -r -N -- factory-org/cf_gmp.h factory/cf_gmp.h ---- factory-org/cf_gmp.h 2001-06-25 09:51:46.000000000 +0200 -+++ factory/cf_gmp.h 2004-04-27 20:46:57.155187816 +0200 -@@ -5,9 +5,7 @@ - #define INCL_CF_GMP_H - - #include <config.h> - --extern "C" { - #include <gmp.h> --} - - #endif /* ! INCL_CF_GMP_H */ ---- factory/cf_random.h 2001-06-25 09:51:46.000000000 +0200 -+++ factory.new/cf_random.h 2004-12-13 11:25:04.000000000 +0100 -@@ -62,6 +62,8 @@ - ~AlgExtRandomF(); - CanonicalForm generate() const; - CFRandom * clone() const; -+ -+ friend CFFList FpFactorizeUnivariateCZ(const CanonicalForm&, bool, int, Variable, Variable); - }; - - class CFRandomFactory { diff --git a/sci-mathematics/Macaulay2/files/gentoo-libfac-0.3.2.include.diff b/sci-mathematics/Macaulay2/files/gentoo-libfac-0.3.2.include.diff deleted file mode 100644 index 40c5c60e4931..000000000000 --- a/sci-mathematics/Macaulay2/files/gentoo-libfac-0.3.2.include.diff +++ /dev/null @@ -1,14 +0,0 @@ -diff -U 4 -H -d -r -N -- include-orig/factory.h include/factory.h ---- include-orig/factory.h 2004-04-27 20:52:59.116161000 +0200 -+++ include/factory.h 2004-04-27 21:05:17.617892056 +0200 -@@ -488,9 +488,9 @@ - void psqr ( const CanonicalForm & f, const CanonicalForm & g, CanonicalForm & q, CanonicalForm & r, const Variable & x ); - - CanonicalForm bCommonDen ( const CanonicalForm & f ); - --bool divides ( const CanonicalForm & f, const CanonicalForm & g ); -+//bool divides ( const CanonicalForm & f, const CanonicalForm & g ); - - CanonicalForm maxNorm ( const CanonicalForm & f ); - - CanonicalForm euclideanNorm ( const CanonicalForm & f ); |