* [gentoo-commits] repo/gentoo:master commit in: sci-mathematics/e/
@ 2017-01-02 23:11 Mark Wright
0 siblings, 0 replies; 2+ messages in thread
From: Mark Wright @ 2017-01-02 23:11 UTC (permalink / raw
To: gentoo-commits
commit: 07cb9d5a2173726fda886d5a046a14f3e568d4f9
Author: Mark Wright <gienah <AT> gentoo <DOT> org>
AuthorDate: Mon Jan 2 23:11:02 2017 +0000
Commit: Mark Wright <gienah <AT> gentoo <DOT> org>
CommitDate: Mon Jan 2 23:11:02 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=07cb9d5a
sci-mathematics/e: Update to EAPI="6"
Package-Manager: portage-2.3.3
sci-mathematics/e/e-1.8-r1.ebuild | 119 ++++++++++++++++++++++++++++++++++++++
1 file changed, 119 insertions(+)
diff --git a/sci-mathematics/e/e-1.8-r1.ebuild b/sci-mathematics/e/e-1.8-r1.ebuild
new file mode 100644
index 00000000..7a798ab
--- /dev/null
+++ b/sci-mathematics/e/e-1.8-r1.ebuild
@@ -0,0 +1,119 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="6"
+
+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() {
+ dobin "${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"
+
+ doman "${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"
+
+ 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
+ dohtml estyle.sty
+ popd
+ fi
+
+ if use examples; then
+ 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"
+ 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
+}
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-mathematics/e/
@ 2018-04-09 0:15 Aaron Bauman
0 siblings, 0 replies; 2+ messages in thread
From: Aaron Bauman @ 2018-04-09 0:15 UTC (permalink / raw
To: gentoo-commits
commit: fa15a6dc0c7aafeca612d208ddec08beae04ac95
Author: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail <DOT> com>
AuthorDate: Sun Apr 8 16:57:25 2018 +0000
Commit: Aaron Bauman <bman <AT> gentoo <DOT> org>
CommitDate: Mon Apr 9 00:09:19 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fa15a6dc
sci-mathematics/e: remove old
sci-mathematics/e/e-1.8.ebuild | 118 -----------------------------------------
1 file changed, 118 deletions(-)
diff --git a/sci-mathematics/e/e-1.8.ebuild b/sci-mathematics/e/e-1.8.ebuild
deleted file mode 100644
index c6173fc90ec..00000000000
--- a/sci-mathematics/e/e-1.8.ebuild
+++ /dev/null
@@ -1,118 +0,0 @@
-# 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() {
- dobin "${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"
-
- doman "${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"
-
- 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
- dohtml estyle.sty
- popd
- fi
-
- if use examples; then
- 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"
- 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
-}
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-04-09 0:16 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-01-02 23:11 [gentoo-commits] repo/gentoo:master commit in: sci-mathematics/e/ Mark Wright
-- strict thread matches above, loose matches on Subject: below --
2018-04-09 0:15 Aaron Bauman
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox