diff options
Diffstat (limited to 'sci-mathematics/e')
-rw-r--r-- | sci-mathematics/e/Manifest | 7 | ||||
-rw-r--r-- | sci-mathematics/e/e-1.5.ebuild | 127 | ||||
-rw-r--r-- | sci-mathematics/e/e-1.6.ebuild | 127 | ||||
-rw-r--r-- | sci-mathematics/e/e-2.3.ebuild | 75 | ||||
-rw-r--r-- | sci-mathematics/e/files/e-2.3-build-system.patch | 8 |
5 files changed, 258 insertions, 86 deletions
diff --git a/sci-mathematics/e/Manifest b/sci-mathematics/e/Manifest index af90697a4bc0..1444fdcb9d47 100644 --- a/sci-mathematics/e/Manifest +++ b/sci-mathematics/e/Manifest @@ -1,6 +1,7 @@ -AUX e-2.3-build-system.patch 212 BLAKE2B bd42870773da66d9b466e98c70a0f7fcad56e630645879a9e4438c4e418cace391e978385c3a1390e014360b42cd24eb08c9bf5ac9fbbd3c81c13933c5f7d167 SHA512 4e0362620ce014588841b18ca74555d16cac940a5619c46a46d3672570afac477e99067c7af701b14d0b58633422b37c0f5714ad910349852d1c8b7ae99b7706 +DIST E-1.5.tgz 1689077 BLAKE2B cff108cae0924d288227e106e9798d204ce5334b7cc9be67763980b26389c4dae735592f06d5f4a9f29bf1e6cf7e281a3d3cd4de9f7222596ad714ff163c3230 SHA512 a2534c9e278741fed2f0005f5fa2b4ea60d71babd4e38c207a48f496df6916bf9ff4bf0ba41ae899eaeeeec7235ff1d759629dbcb627dd8766168f9bc98a4894 +DIST E-1.6.tgz 1627003 BLAKE2B 3c2ee24d716968802dff81f749a0b8425bbb836823aaf6609804866af417b06ce0042bceb5d2d9399a7eb26c155832d51658af5a1deccd49bcec8ae6380fdc9b SHA512 769aa4d04595181285be49c1f21d7e8a47936fab78b5d6f2975910a64d4928cd2be97d781c4092dadab48d213a6bc788b8247a2310cf71042b1339129fe0cdf2 DIST E-1.8.tgz 1832975 BLAKE2B ebac17f157f591874107009d1ad45d03449c8d440f3ad6dabda308193775cd69d01f6ffb159ef8acbc73fbd41e5b38f2eb61a1c734d638d4a045e068cc63fc90 SHA512 1b4358c636e8ea564ca942e1221e78234a9f0f793991f637bd7ec4d92eb9aa4a408a14c707405271fc017a9d63884d70bdfb0ed1b878383a1a44cfa57a7bdd51 -DIST E-2.3.tgz 2176351 BLAKE2B cb234d5d6ed9d098b9f1b3def44de570c2014dd017e2e39de58bfe8ea47f539008e30213eab78c61e042d04529cfdbc647706ae71707e306cf51f5189c5dad30 SHA512 9e0f22a174f9f0fae401d8556d0b825c17d06e48e40d027003a89ff8cc637e3a14e14af70e6a65ecf2a11a52d59388c6c36b129a123511b958c152f58fd06a16 +EBUILD e-1.5.ebuild 3351 BLAKE2B 1e5ccec6ef815a1d102333da7afecd4a252b8b47e234b81d296e391e9bf002796448983902615118cb0a92e8dc8c02135d22717752086d19d32696dac822232d SHA512 076d4b17661ed30e3321dd9312fcb4a7904a98d69a61bbf6cf9718ba55422048a861e54e1780513b7fb4384a3ea6a3a05d8f6c79c43ff051f06e7a301612573e +EBUILD e-1.6.ebuild 3351 BLAKE2B a92fde5209ec23fd45574c3f82527549aa18e5dac9ae2247a1d68d17ae7e96c0a19e8a54c5c685c505cfc07dfe977b64a634454ee7cf1f16072c08c7cb52aee5 SHA512 07ae850f91c1406369fbd89ed5a12205da41bccb762af521b88bec2557a30c87d8ce332353e5f9f124ecfb9bde23343665d90464ce41d211c341c205454779ed EBUILD e-1.8-r1.ebuild 3172 BLAKE2B b7e844811d5e81724af7b6b6c14d0cab271cda71a66d60086d639ebd31ac216ac55e67a2d34245e67499eb0f40644cecd5295636fe1bdd22c83fde0c7ac8b6ba SHA512 ca65245640594ff13a36e6350b91229835e21fe8a9a1841d3168007899fcf4e9db25c36901008d4fba1250e948635001322e2a9b3408b79fae1d126913a4733a -EBUILD e-2.3.ebuild 1533 BLAKE2B a00f7ab909309d0f22a5f6f88c8d9a696e4f3e632c8e95af8263592345e0e3af9dc2bf8762f7fcdfd386f18b2b8b2aa5b3366b2917248e0cf50fbd0e2f91941d SHA512 67cc912a601c7ff9f10d31d99039350a022d8253891f115b844b527badf9a4522d2d97095396aebe8a6a5b1e3708e8f7065e3aafbd2c77de03cbac9b63451ab2 MISC metadata.xml 1462 BLAKE2B 3b2783ef3103c8a0f8606b0553e89b5265867b2b3272dd28530f5a8e8a745240726c937db655a31cc6ba923b579da8ba33a180c6f745a45e238b28b7a688a173 SHA512 635575800430295b5110104d38cbab61277b8d32acd23b883053a3092df0ea6531bac0fbae8a402cc9af0e11d7095959f44bee989050e4123ea7400c4c671e23 diff --git a/sci-mathematics/e/e-1.5.ebuild b/sci-mathematics/e/e-1.5.ebuild new file mode 100644 index 000000000000..82fd6f490d9a --- /dev/null +++ b/sci-mathematics/e/e-1.5.ebuild @@ -0,0 +1,127 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="5" + +MY_PN="E" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="E is a theorem prover for full first-order logic with equality" +HOMEPAGE="http://www4.informatik.tu-muenchen.de/~schulz/E/E.html" +SRC_URI="http://www4.in.tum.de/~schulz/WORK/E_DOWNLOAD/V_${PV}/${MY_PN}.tgz -> ${MY_P}.tgz" + +LICENSE="GPL-2" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~x86" +IUSE="doc examples isabelle" + +RDEPEND="isabelle? ( + >=sci-mathematics/isabelle-2011.1-r1:= + )" +DEPEND="${RDEPEND}" + +S="${WORKDIR}"/${MY_PN} + +src_configure() { + ./configure --prefix="${ROOT}usr" \ + --man-prefix="${ROOT}share/man" \ + || die "E configure failed" + + sed -e "s@CFLAGS = @CFLAGS = ${CFLAGS} @" \ + -e "s@LD = \$(CC) @LD = \$(CC) ${LDFLAGS} @" \ + -i "${S}/Makefile.vars" \ + || die "Could not add our flags to Makefile.vars" +} + +src_install() { + for i in "${S}/PROVER/eprover" \ + "${S}/PROVER/epclextract" \ + "${S}/PROVER/eproof" \ + "${S}/PROVER/eproof_ram" \ + "${S}/PROVER/eground" \ + "${S}/PROVER/e_ltb_runner" \ + "${S}/PROVER/e_axfilter" \ + "${S}/PROVER/checkproof" \ + "${S}/PROVER/ekb_create" \ + "${S}/PROVER/ekb_delete" \ + "${S}/PROVER/ekb_ginsert" \ + "${S}/PROVER/ekb_insert" + do + dobin "${i}" + done + + for i in "${S}/DOC/man/eprover.1" \ + "${S}/DOC/man/epclextract.1" \ + "${S}/DOC/man/eproof.1" \ + "${S}/DOC/man/eproof_ram.1" \ + "${S}/DOC/man/eground.1" \ + "${S}/DOC/man/e_ltb_runner.1" \ + "${S}/DOC/man/e_axfilter.1" \ + "${S}/DOC/man/checkproof.1" \ + "${S}/DOC/man/ekb_create.1" \ + "${S}/DOC/man/ekb_delete.1" \ + "${S}/DOC/man/ekb_ginsert.1" \ + "${S}/DOC/man/ekb_insert.1" + do + doman "${i}" + done + + if use doc; then + pushd "${S}"/DOC || die "Could not cd to DOC" + dodoc ANNOUNCE CREDITS DONE E-REMARKS E-REMARKS.english E-USERS \ + HISTORY NEWS PORTING ReadMe THINKME TODO TPTP_SUBMISSION \ + WISHLIST eprover.pdf + dohtml *.html + insinto /usr/share/doc/${PF}/html + doins estyle.sty + popd + fi + + if use examples; then + dodir /usr/share/${MY_PN}/examples + insinto /usr/share/${MY_PN}/examples + doins -r EXAMPLE_PROBLEMS + doins -r SIMPLE_APPS + fi + + if use isabelle; then + ISABELLE_HOME="$(isabelle getenv ISABELLE_HOME | cut -d'=' -f 2)" \ + || die "isabelle getenv ISABELLE_HOME failed" + [[ -n "${ISABELLE_HOME}" ]] || die "ISABELLE_HOME empty" + dodir "${ISABELLE_HOME}/contrib/${PN}-${PV}/etc" + cat <<- EOF >> "${S}/settings" + E_HOME="${ROOT}usr/bin" + E_VERSION="${PV}" + EOF + insinto "${ISABELLE_HOME}/contrib/${PN}-${PV}/etc" + doins "${S}/settings" + fi +} + +pkg_postinst() { + if use isabelle; then + if [ -f "${ROOT}etc/isabelle/components" ]; then + if egrep "contrib/${PN}-[0-9.]*" "${ROOT}etc/isabelle/components"; then + sed -e "/contrib\/${PN}-[0-9.]*/d" \ + -i "${ROOT}etc/isabelle/components" + fi + cat <<- EOF >> "${ROOT}etc/isabelle/components" + contrib/${PN}-${PV} + EOF + fi + fi +} + +pkg_postrm() { + if use isabelle; then + if [ ! -f "${ROOT}usr/bin/eproof" ]; then + if [ -f "${ROOT}etc/isabelle/components" ]; then + # Note: this sed should only match the version of this ebuild + # Which is what we want as we do not want to remove the line + # of a new E being installed during an upgrade. + sed -e "/contrib\/${PN}-${PV}/d" \ + -i "${ROOT}etc/isabelle/components" + fi + fi + fi +} diff --git a/sci-mathematics/e/e-1.6.ebuild b/sci-mathematics/e/e-1.6.ebuild new file mode 100644 index 000000000000..39cde267248b --- /dev/null +++ b/sci-mathematics/e/e-1.6.ebuild @@ -0,0 +1,127 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="5" + +MY_PN="E" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="E is a theorem prover for full first-order logic with equality" +HOMEPAGE="http://www4.informatik.tu-muenchen.de/~schulz/E/E.html" +SRC_URI="http://www4.in.tum.de/~schulz/WORK/E_DOWNLOAD/V_${PV}/${MY_PN}.tgz -> ${MY_P}.tgz" + +LICENSE="GPL-2" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~x86" +IUSE="doc examples isabelle" + +RDEPEND="isabelle? ( + >=sci-mathematics/isabelle-2011.1-r1:= + )" +DEPEND="${RDEPEND}" + +S="${WORKDIR}"/${MY_PN} + +src_configure() { + ./configure --prefix="${ROOT}usr" \ + --man-prefix="${ROOT}share/man" \ + || die "E configure failed" + + sed -e "s@CFLAGS = @CFLAGS = ${CFLAGS} @" \ + -e "s@LD = \$(CC) @LD = \$(CC) ${LDFLAGS} @" \ + -i "${S}/Makefile.vars" \ + || die "Could not add our flags to Makefile.vars" +} + +src_install() { + for i in "${S}/PROVER/eprover" \ + "${S}/PROVER/epclextract" \ + "${S}/PROVER/eproof" \ + "${S}/PROVER/eproof_ram" \ + "${S}/PROVER/eground" \ + "${S}/PROVER/e_ltb_runner" \ + "${S}/PROVER/e_axfilter" \ + "${S}/PROVER/checkproof" \ + "${S}/PROVER/ekb_create" \ + "${S}/PROVER/ekb_delete" \ + "${S}/PROVER/ekb_ginsert" \ + "${S}/PROVER/ekb_insert" + do + dobin "${i}" + done + + for i in "${S}/DOC/man/eprover.1" \ + "${S}/DOC/man/epclextract.1" \ + "${S}/DOC/man/eproof.1" \ + "${S}/DOC/man/eproof_ram.1" \ + "${S}/DOC/man/eground.1" \ + "${S}/DOC/man/e_ltb_runner.1" \ + "${S}/DOC/man/e_axfilter.1" \ + "${S}/DOC/man/checkproof.1" \ + "${S}/DOC/man/ekb_create.1" \ + "${S}/DOC/man/ekb_delete.1" \ + "${S}/DOC/man/ekb_ginsert.1" \ + "${S}/DOC/man/ekb_insert.1" + do + doman "${i}" + done + + if use doc; then + pushd "${S}"/DOC || die "Could not cd to DOC" + dodoc ANNOUNCE CREDITS DONE E-REMARKS E-REMARKS.english E-USERS \ + HISTORY NEWS PORTING ReadMe THINKME TODO TPTP_SUBMISSION \ + WISHLIST eprover.pdf + dohtml *.html + insinto /usr/share/doc/${PF}/html + doins estyle.sty + popd + fi + + if use examples; then + dodir /usr/share/${MY_PN}/examples + insinto /usr/share/${MY_PN}/examples + doins -r EXAMPLE_PROBLEMS + doins -r SIMPLE_APPS + fi + + if use isabelle; then + ISABELLE_HOME="$(isabelle getenv ISABELLE_HOME | cut -d'=' -f 2)" \ + || die "isabelle getenv ISABELLE_HOME failed" + [[ -n "${ISABELLE_HOME}" ]] || die "ISABELLE_HOME empty" + dodir "${ISABELLE_HOME}/contrib/${PN}-${PV}/etc" + cat <<- EOF >> "${S}/settings" + E_HOME="${ROOT}usr/bin" + E_VERSION="${PV}" + EOF + insinto "${ISABELLE_HOME}/contrib/${PN}-${PV}/etc" + doins "${S}/settings" + fi +} + +pkg_postinst() { + if use isabelle; then + if [ -f "${ROOT}etc/isabelle/components" ]; then + if egrep "contrib/${PN}-[0-9.]*" "${ROOT}etc/isabelle/components"; then + sed -e "/contrib\/${PN}-[0-9.]*/d" \ + -i "${ROOT}etc/isabelle/components" + fi + cat <<- EOF >> "${ROOT}etc/isabelle/components" + contrib/${PN}-${PV} + EOF + fi + fi +} + +pkg_postrm() { + if use isabelle; then + if [ ! -f "${ROOT}usr/bin/eproof" ]; then + if [ -f "${ROOT}etc/isabelle/components" ]; then + # Note: this sed should only match the version of this ebuild + # Which is what we want as we do not want to remove the line + # of a new E being installed during an upgrade. + sed -e "/contrib\/${PN}-${PV}/d" \ + -i "${ROOT}etc/isabelle/components" + fi + fi + fi +} diff --git a/sci-mathematics/e/e-2.3.ebuild b/sci-mathematics/e/e-2.3.ebuild deleted file mode 100644 index 2b9f7875941d..000000000000 --- a/sci-mathematics/e/e-2.3.ebuild +++ /dev/null @@ -1,75 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="7" - -MY_PN="E" -MY_P="${MY_PN}-${PV}" - -DESCRIPTION="E is a theorem prover for full first-order logic with equality" -HOMEPAGE="https://wwwlehre.dhbw-stuttgart.de/~sschulz/E/E.html" -SRC_URI="http://wwwlehre.dhbw-stuttgart.de/~sschulz/WORK/E_DOWNLOAD/V_${PV}/${MY_PN}.tgz -> ${MY_P}.tgz" -LICENSE="GPL-2" -SLOT="0/${PV}" -KEYWORDS="~amd64 ~x86" -IUSE="doc examples" - -RDEPEND="" -DEPEND="${RDEPEND} - doc? ( dev-texlive/texlive-latex )" - -S="${WORKDIR}"/${MY_PN} - -PATCHES=( "${FILESDIR}"/${PN}-2.3-build-system.patch ) - -src_prepare() { - default - rm -f DOC/eprover.pdf -} - -src_configure() { - ./configure --prefix="${ED}/usr" \ - --man-prefix="${ED}/usr/share/man" \ - || die "E configure failed" - - sed -e "s@CFLAGS = @CFLAGS = ${CFLAGS} @" \ - -e "s@LD = \$(CC) @LD = \$(CC) ${LDFLAGS} @" \ - -i "${S}/Makefile.vars" \ - || die "Could not add our flags to Makefile.vars" -} - -src_compile() { - default - use doc && emake documentation -} - -src_install() { - default - - local DOCS=( - "README.md" - "DOC/ANNOUNCE" - "DOC/CONTRIBUTORS" - "DOC/DONE" - "DOC/E-REMARKS" - "DOC/E-REMARKS.english" - "DOC/E-USERS" - "DOC/HISTORY" - "DOC/NEWS" - "DOC/PORTING" - "DOC/ReadMe" - "DOC/THINKME" - "DOC/TODO" - "DOC/TPTP_SUBMISSION" - "DOC/WISHLIST" - "DOC/eprover.pdf" - ) - local HTML_DOCS=( "DOC" ) - einstalldocs - - if use examples; then - insinto /usr/share/${MY_PN}/examples - doins -r EXAMPLE_PROBLEMS - doins -r SIMPLE_APPS - fi -} diff --git a/sci-mathematics/e/files/e-2.3-build-system.patch b/sci-mathematics/e/files/e-2.3-build-system.patch deleted file mode 100644 index 8031c20e026e..000000000000 --- a/sci-mathematics/e/files/e-2.3-build-system.patch +++ /dev/null @@ -1,8 +0,0 @@ ---- E-orig/development_tools/e_install 2019-03-13 04:55:13.000000000 +1100 -+++ E/development_tools/e_install 2019-09-11 21:11:37.628045114 +1000 -@@ -13,4 +13,4 @@ - fi - } - --testinstall $1 $2 -+install $1 $2 |