From eba9df5b84c2fffc30cc3f300880000a60e38042 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Thu, 1 Jun 2023 21:27:08 +0100 Subject: gentoo auto-resync : 01:06:2023 - 21:27:08 --- sci-mathematics/maxima/Manifest | 3 +- sci-mathematics/maxima/maxima-5.46.0.ebuild | 228 ---------------------------- sci-mathematics/maxima/maxima-5.47.0.ebuild | 228 ++++++++++++++++++++++++++++ 3 files changed, 230 insertions(+), 229 deletions(-) delete mode 100644 sci-mathematics/maxima/maxima-5.46.0.ebuild create mode 100644 sci-mathematics/maxima/maxima-5.47.0.ebuild (limited to 'sci-mathematics/maxima') diff --git a/sci-mathematics/maxima/Manifest b/sci-mathematics/maxima/Manifest index d212f5706f53..8c90e482137d 100644 --- a/sci-mathematics/maxima/Manifest +++ b/sci-mathematics/maxima/Manifest @@ -9,6 +9,7 @@ AUX sbcl-2.patch 1072 BLAKE2B 3e16339b7b9acbbfcd424780432be4a4267b994c3a7a8774c9 AUX wish-2.patch 662 BLAKE2B ccc3879c7445fd916c921857ea9642fb54cc6b8eb647cb23c3f93b949a05de9226d19d7898daf998cbedc61a77556c923f3f6f8e57508b73f3cae117f62d214d SHA512 110db85899241e1f9ea8427ffb397737aefe0bb6286d037c2c04cfad9726838521ef6403242aeb1e4246d06f13cf83af84bba38567a99b00ed6a081f17b38ead AUX xdg-utils-1.patch 1313 BLAKE2B 35d6f88c505c5b1bb5ecf5691e17522b427a3f035f64de095ba088fa9c6a6076e4c0f7f57794804b588798c2289d36397a95101bde890c363aee9675bf8401e7 SHA512 5e5ab3196cf012ee768d108cc47da25c5afbaffca6f9a1aed9338a7154d377e6baf791d2c7bbe9191b823e056056379f190d8bf7b8ce689f44db892f5e375116 DIST maxima-5.46.0.tar.gz 47492457 BLAKE2B 3d709c1647357477ef8c92ce1f3b0789664fcd86ebe16cf68a89b84c019cb30bc4896409fbe5236bb4dbb25cf972c17cf612c602e57c4c6100b2d86737715f48 SHA512 6c76292ac270b9d8e91d13035733d12038a69ef3510e70a28793b6116208eccd7bf6387e246e9e8c0a22a2e793b948f1233a56fc863ad8712a35e5b1b92fbeef +DIST maxima-5.47.0.tar.gz 47939891 BLAKE2B 46f97c81ff8fd227d04759103ac683c034820e29b7ecd78ad76e3a43a8911d29d1a20007fe4ccb37da88eaa3888d71c8b98a55bc4e692cf72b154391e91a4533 SHA512 953b98336eb086069edaa917981372450ce165dedd7a7b39b181d3f2d8b089551eea943e0084148eaa3ded395dcba9135509d3d11d9132ab7a3ad8bb800d3a11 EBUILD maxima-5.46.0-r1.ebuild 5969 BLAKE2B a7ce5eb8d067bbfc50e32bd141c83c04dd6072b6f3b5b84d9fbf08329efa54a2800a7d6909ad511eb1ba4e029663078ca10c1b3ebf22c3690cefcc8a57e7dc6c SHA512 6ee870eed18dac583cd68efcbcbf710764a3bc28bc3a84e62733416092bf495fa564fa766a3bd087cd97b50c7d72d71ac8362b956d574672f710adf62006ffa9 -EBUILD maxima-5.46.0.ebuild 5969 BLAKE2B 9a4bee7cb52eff0e41e2456418efb318601ec4a613c4e8daf23141903577f73b893fe77e46a52d350b9ea3fdf6848d80c54e3c05dcd806670449c064de6606e9 SHA512 dea407c64fc8d4b1287e7c728ffc7c8680ec6aa08d0b5850a2c0d2000afeab77539d31f4a250076e56a41540bbe301d21cb2ac2d9fa4716f11e7a590c86161fd +EBUILD maxima-5.47.0.ebuild 5971 BLAKE2B 13ea5cbd3a61c839208a35604c8179666e51e4fb9378dbdbf8a7a1748ff2632e9ec6fb1fd3a68401871ab10989da086f68f2b0facb48e44cb6a963930ea4f0cc SHA512 df5d0612e10d197ccd9155d28be9c36babdbc356672fb766e081faf240119cfc00c3cc4d56564d45aacc5ce65ebc231be8f74f3aa99979ad1a34180da2f3fe27 MISC metadata.xml 1843 BLAKE2B bdb4437e3ecc08ffeb9a42d816c03866e0ced9ba3b7ca44b6777d57b36e89603a5ed44eda015ddefdc8a87fcbc0c5bb9447cf424d60aee2651a4ae9cebd7edef SHA512 bed22b9442289ef93c17de1529071d1e1a1c6b925ab306c4b3a5aadcfb26f2f3fb792e8d563e726c8d28b3cc8708b692fc9a6e60fe38c280eda37796544acf14 diff --git a/sci-mathematics/maxima/maxima-5.46.0.ebuild b/sci-mathematics/maxima/maxima-5.46.0.ebuild deleted file mode 100644 index fd4032a3ba0b..000000000000 --- a/sci-mathematics/maxima/maxima-5.46.0.ebuild +++ /dev/null @@ -1,228 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{9..10} ) - -inherit autotools elisp-common flag-o-matic python-single-r1 xdg-utils - -DESCRIPTION="Free computer algebra environment based on Macsyma" -HOMEPAGE="http://maxima.sourceforge.net/" -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" - -LICENSE="GPL-2 GPL-2+" -SLOT="0" -KEYWORDS="amd64 ~ppc x86 ~amd64-linux ~x86-linux" - -IUSE="clisp clozurecl clozurecl64 cmucl ecls emacs gcl gui nls +sbcl vtk X test" -RESTRICT="test" # bug 838202 - -# Languages -LANGS="de es pt pt_BR" -for lang in ${LANGS}; do - IUSE="${IUSE} l10n_${lang/_/-}" -done - -LISP_DEPEND=" - clisp? ( dev-lisp/clisp:= ) - clozurecl? ( dev-lisp/clozurecl app-misc/rlwrap ) - clozurecl64? ( dev-lisp/clozurecl app-misc/rlwrap ) - cmucl? ( dev-lisp/cmucl app-misc/rlwrap ) - ecls? ( dev-lisp/ecls:= app-misc/rlwrap ) - gcl? ( /dev/null - elisp-compile *.el - popd > /dev/null - pushd interfaces/emacs/imaxima > /dev/null - BYTECOMPFLAGS="-L . -L ../emaxima" - elisp-compile *.el - popd > /dev/null - fi -} - -src_install() { - docompress -x /usr/share/info - emake DESTDIR="${D}" emacsdir="${EPREFIX}/${SITELISP}/${PN}" install - - # do not use dodoc because interfaces can't read compressed files - # read COPYING before attempt to remove it from dodoc - insinto /usr/share/${PN}/${PV}/doc - doins AUTHORS COPYING README README-lisps.md - dodir /usr/share/doc - dosym ../${PN}/${PV}/doc /usr/share/doc/${PF} - - if use emacs; then - elisp-install ${PN} interfaces/emacs/{emaxima,imaxima}/*.{el,elc,lisp} - elisp-site-file-install "${FILESDIR}"/50maxima-gentoo-1.el - - rm "${ED}"/${SITELISP}/${PN}/emaxima.sty || die - insinto ${TEXMF}/tex/latex/emaxima - doins interfaces/emacs/emaxima/emaxima.sty - - insinto /usr/share/${PN}/${PV}/doc/imaxima - doins interfaces/emacs/imaxima/README - doins -r interfaces/emacs/imaxima/imath-example - - if ! use gcl; then - # This emacs package is used to run gcl, maxima, gdb, etc. - # all at once and possibly in the same buffer. As such, it's - # no use without gcl (more to the point: it requires gcl.el). - find "${ED}" -name 'dbl.el' -type f -delete || die - fi - fi - - if use ecls; then - # Use ECL to find the path where it expects to load packages from. - ECLLIB=$(ecl -eval "(princ (SI:GET-LIBRARY-PATHNAME))" -eval "(quit)") - insinto "${ECLLIB#${EPREFIX}}" - doins src/binary-ecl/maxima.fas - fi -} - -pkg_postinst() { - xdg_mimeinfo_database_update - if use emacs; then - elisp-site-regen - mktexlsr - fi -} - -pkg_postrm() { - xdg_mimeinfo_database_update - if use emacs; then - elisp-site-regen - mktexlsr - fi -} diff --git a/sci-mathematics/maxima/maxima-5.47.0.ebuild b/sci-mathematics/maxima/maxima-5.47.0.ebuild new file mode 100644 index 000000000000..22da4534cb1e --- /dev/null +++ b/sci-mathematics/maxima/maxima-5.47.0.ebuild @@ -0,0 +1,228 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{9..11} ) + +inherit autotools elisp-common flag-o-matic python-single-r1 xdg-utils + +DESCRIPTION="Free computer algebra environment based on Macsyma" +HOMEPAGE="http://maxima.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="GPL-2 GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux" + +IUSE="clisp clozurecl clozurecl64 cmucl ecls emacs gcl gui nls +sbcl vtk X test" +RESTRICT="test" # bug 838202 + +# Languages +LANGS="de es pt pt_BR" +for lang in ${LANGS}; do + IUSE="${IUSE} l10n_${lang/_/-}" +done + +LISP_DEPEND=" + clisp? ( dev-lisp/clisp:= ) + clozurecl? ( dev-lisp/clozurecl app-misc/rlwrap ) + clozurecl64? ( dev-lisp/clozurecl app-misc/rlwrap ) + cmucl? ( dev-lisp/cmucl app-misc/rlwrap ) + ecls? ( dev-lisp/ecls:= app-misc/rlwrap ) + gcl? ( /dev/null + elisp-compile *.el + popd > /dev/null + pushd interfaces/emacs/imaxima > /dev/null + BYTECOMPFLAGS="-L . -L ../emaxima" + elisp-compile *.el + popd > /dev/null + fi +} + +src_install() { + docompress -x /usr/share/info + emake DESTDIR="${D}" emacsdir="${EPREFIX}/${SITELISP}/${PN}" install + + # do not use dodoc because interfaces can't read compressed files + # read COPYING before attempt to remove it from dodoc + insinto /usr/share/${PN}/${PV}/doc + doins AUTHORS COPYING README README-lisps.md + dodir /usr/share/doc + dosym ../${PN}/${PV}/doc /usr/share/doc/${PF} + + if use emacs; then + elisp-install ${PN} interfaces/emacs/{emaxima,imaxima}/*.{el,elc,lisp} + elisp-site-file-install "${FILESDIR}"/50maxima-gentoo-1.el + + rm "${ED}"/${SITELISP}/${PN}/emaxima.sty || die + insinto ${TEXMF}/tex/latex/emaxima + doins interfaces/emacs/emaxima/emaxima.sty + + insinto /usr/share/${PN}/${PV}/doc/imaxima + doins interfaces/emacs/imaxima/README + doins -r interfaces/emacs/imaxima/imath-example + + if ! use gcl; then + # This emacs package is used to run gcl, maxima, gdb, etc. + # all at once and possibly in the same buffer. As such, it's + # no use without gcl (more to the point: it requires gcl.el). + find "${ED}" -name 'dbl.el' -type f -delete || die + fi + fi + + if use ecls; then + # Use ECL to find the path where it expects to load packages from. + ECLLIB=$(ecl -eval "(princ (SI:GET-LIBRARY-PATHNAME))" -eval "(quit)") + insinto "${ECLLIB#${EPREFIX}}" + doins src/binary-ecl/maxima.fas + fi +} + +pkg_postinst() { + xdg_mimeinfo_database_update + if use emacs; then + elisp-site-regen + mktexlsr + fi +} + +pkg_postrm() { + xdg_mimeinfo_database_update + if use emacs; then + elisp-site-regen + mktexlsr + fi +} -- cgit v1.2.3