* [gentoo-commits] repo/gentoo:master commit in: sci-mathematics/eprover/
@ 2023-01-04 3:42 Maciej Barć
0 siblings, 0 replies; 3+ messages in thread
From: Maciej Barć @ 2023-01-04 3:42 UTC (permalink / raw
To: gentoo-commits
commit: c6b0035d9cbec03b58b2af5f433e77a87b709822
Author: Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Wed Jan 4 03:32:15 2023 +0000
Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Wed Jan 4 03:42:38 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c6b0035d
sci-mathematics/eprover: new package; add 3.0_pre008
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>
sci-mathematics/eprover/Manifest | 1 +
sci-mathematics/eprover/eprover-3.0_pre008.ebuild | 62 +++++++++++++++++++++++
sci-mathematics/eprover/metadata.xml | 31 ++++++++++++
3 files changed, 94 insertions(+)
diff --git a/sci-mathematics/eprover/Manifest b/sci-mathematics/eprover/Manifest
new file mode 100644
index 000000000000..900895cc225b
--- /dev/null
+++ b/sci-mathematics/eprover/Manifest
@@ -0,0 +1 @@
+DIST eprover-3.0_pre008.tar.gz 1512310 BLAKE2B 88533bd05b823155639df49d631f4fb339019f624ea6cb1c3c7c46f1db331183dac4285c70a7efa372cbf3f0e839ec41b7589b93e4599a6ed94f42734f361985 SHA512 81f1a1dfd77b685805c80f95b683489d8759acbb5b45ebaf123f1b0f7cb82f9e2d58731975e5286afa9a8bf9d2874cc5362edc0c0da92aea39830ac4b8b1c4ec
diff --git a/sci-mathematics/eprover/eprover-3.0_pre008.ebuild b/sci-mathematics/eprover/eprover-3.0_pre008.ebuild
new file mode 100644
index 000000000000..0a693b56b539
--- /dev/null
+++ b/sci-mathematics/eprover/eprover-3.0_pre008.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit toolchain-funcs
+
+DESCRIPTION="Automated theorem prover for full first-order logic with equality"
+HOMEPAGE="https://www.eprover.org/
+ https://github.com/eprover/eprover/"
+SRC_URI="https://github.com/eprover/${PN}/archive/E-${PV/_/}.tar.gz
+ -> ${P}.tar.gz"
+S="${WORKDIR}"/${PN}-E-${PV/_/}
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="+ho"
+
+BDEPEND="sys-apps/help2man"
+
+src_prepare() {
+ default
+
+ sed -e "/^OPTFLAGS/s|= .*|= ${CFLAGS}|" \
+ -e "/^LD/s|= .*|= $(tc-getCC) ${LDFLAGS}|" \
+ -e "/^ AR/s|ar|$(tc-getAR)|" \
+ -e "/^ CC/s|gcc|$(tc-getCC)|" \
+ -i "${S}"/Makefile.vars || die
+}
+
+src_configure() {
+ local -a myconf=(
+ $(usex ho '--enable-ho' '')
+ --bindir=/usr/bin
+ --exec-prefix=/usr
+ --man-prefix=/usr/share/man/man1
+ )
+ sh ./configure ${myconf[@]} || die
+}
+
+src_compile() {
+ default
+
+ if use ho ; then
+ ln -s "${S}"/PROVER/${PN}-ho "${S}"/PROVER/${PN} || die
+ fi
+
+ emake man
+}
+
+src_install() {
+ # Picosat (CONTRIB package) is available as separate package.
+ rm -r "${S}"/CONTRIB || die
+
+ emake EXECPATH="${ED}"/usr/bin MANPATH="${ED}"/usr/share/man/man1 install
+ dodoc -r DOC EXAMPLE_PROBLEMS
+
+ if use ho ; then
+ dosym -r /usr/bin/${PN}-ho /usr/bin/${PN}
+ fi
+}
diff --git a/sci-mathematics/eprover/metadata.xml b/sci-mathematics/eprover/metadata.xml
new file mode 100644
index 000000000000..9a9970613884
--- /dev/null
+++ b/sci-mathematics/eprover/metadata.xml
@@ -0,0 +1,31 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+
+<pkgmetadata>
+ <maintainer type="project">
+ <email>sci-mathematics@gentoo.org</email>
+ <name>Gentoo Mathematics Project</name>
+ </maintainer>
+ <longdescription>
+ E is a theorem prover for full first-order logic with equality. It accepts
+ a problem specification, typically consisting of a number of first-order
+ clauses or formulas, and a conjecture, again either in clausal or full
+ first-order form. The system will then try to find a formal proof for the
+ conjecture, assuming the axioms. If a proof is found, the system can
+ provide a detailed list of proof steps that can be individually verified.
+ If the conjecture is existential (i.e. it is of the form "there exists an X
+ with property P"), more recent versions can also provide possible answers
+ (values for X). Development of E started as part of the E-SETHEO project at
+ TUM. The first public release was in in 1998, and the system has been
+ continuously improved ever since. I believe that E now is one of the most
+ powerful and friendly reasoning systems for first-order logic. The prover
+ has successfully participated in many competitions.
+ </longdescription>
+ <use>
+ <flag name="ho">enable support for higher-order logic</flag>
+ </use>
+ <upstream>
+ <bugs-to>https://github.com/eprover/eprover/issues/</bugs-to>
+ <remote-id type="github">eprover/eprover</remote-id>
+ </upstream>
+</pkgmetadata>
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-mathematics/eprover/
@ 2023-01-04 17:27 Maciej Barć
0 siblings, 0 replies; 3+ messages in thread
From: Maciej Barć @ 2023-01-04 17:27 UTC (permalink / raw
To: gentoo-commits
commit: e7417b60bbe948ef95486c7f3f139bc48351f2ff
Author: Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Wed Jan 4 17:18:29 2023 +0000
Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Wed Jan 4 17:27:23 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e7417b60
sci-mathematics/eprover: do not call ar/ranlib directly
Closes: https://bugs.gentoo.org/889646
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>
sci-mathematics/eprover/eprover-3.0_pre008.ebuild | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/sci-mathematics/eprover/eprover-3.0_pre008.ebuild b/sci-mathematics/eprover/eprover-3.0_pre008.ebuild
index 0a693b56b539..9a1b1dfb3628 100644
--- a/sci-mathematics/eprover/eprover-3.0_pre008.ebuild
+++ b/sci-mathematics/eprover/eprover-3.0_pre008.ebuild
@@ -27,6 +27,10 @@ src_prepare() {
-e "/^ AR/s|ar|$(tc-getAR)|" \
-e "/^ CC/s|gcc|$(tc-getCC)|" \
-i "${S}"/Makefile.vars || die
+
+ sed -e "s|ar rc|$(tc-getAR) rc|g" \
+ -e "s|ranlib|$(tc-getRANLIB)|g" \
+ -i "${S}"/CONTRIB/picosat-965/makefile.in || die
}
src_configure() {
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-mathematics/eprover/
@ 2024-01-15 21:20 Maciej Barć
0 siblings, 0 replies; 3+ messages in thread
From: Maciej Barć @ 2024-01-15 21:20 UTC (permalink / raw
To: gentoo-commits
commit: 49552e9fcd8f04cd3dde80b7935490ac3022d434
Author: Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Mon Jan 15 20:19:45 2024 +0000
Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Mon Jan 15 21:20:41 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=49552e9f
sci-mathematics/eprover: bump to 3.0.03
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>
sci-mathematics/eprover/Manifest | 1 +
sci-mathematics/eprover/eprover-3.0.03.ebuild | 76 +++++++++++++++++++++++++++
2 files changed, 77 insertions(+)
diff --git a/sci-mathematics/eprover/Manifest b/sci-mathematics/eprover/Manifest
index 900895cc225b..bc8c790512c4 100644
--- a/sci-mathematics/eprover/Manifest
+++ b/sci-mathematics/eprover/Manifest
@@ -1 +1,2 @@
+DIST eprover-3.0.03.tar.gz 1523036 BLAKE2B fc58b4f99b4fcd8ef4b0704c6fb65e7ef235582d8e2cdef17fd178ec51b7655459dbbf9d0d20ef00edf15f893aefdd4dd07c7fe402e42a5378b4bf241af6c806 SHA512 3adce986eb0d6d6b8373b10d8104ca2a68c72c92cd5c8cb7416044b1ae67daa0b8da82c13e85129d0699217b26a98df15768a5b0dca927ab26920a26dbba9662
DIST eprover-3.0_pre008.tar.gz 1512310 BLAKE2B 88533bd05b823155639df49d631f4fb339019f624ea6cb1c3c7c46f1db331183dac4285c70a7efa372cbf3f0e839ec41b7589b93e4599a6ed94f42734f361985 SHA512 81f1a1dfd77b685805c80f95b683489d8759acbb5b45ebaf123f1b0f7cb82f9e2d58731975e5286afa9a8bf9d2874cc5362edc0c0da92aea39830ac4b8b1c4ec
diff --git a/sci-mathematics/eprover/eprover-3.0.03.ebuild b/sci-mathematics/eprover/eprover-3.0.03.ebuild
new file mode 100644
index 000000000000..ef6b9196aa7d
--- /dev/null
+++ b/sci-mathematics/eprover/eprover-3.0.03.ebuild
@@ -0,0 +1,76 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit toolchain-funcs
+
+DESCRIPTION="Automated theorem prover for full first-order logic with equality"
+HOMEPAGE="https://www.eprover.org/
+ https://github.com/eprover/eprover/"
+
+if [[ "${PV}" == *9999* ]] ; then
+ inherit git-r3
+
+ EGIT_REPO_URI="https://github.com/eprover/${PN}.git"
+else
+ SRC_URI="https://github.com/eprover/${PN}/archive/E-${PV/_/}.tar.gz
+ -> ${P}.tar.gz"
+ S="${WORKDIR}/${PN}-E-${PV/_/}"
+
+ KEYWORDS="~amd64 ~x86"
+fi
+
+LICENSE="GPL-2+"
+SLOT="0"
+IUSE="+ho"
+
+BDEPEND="
+ sys-apps/help2man
+"
+
+src_prepare() {
+ default
+
+ sed -e "/^OPTFLAGS/s|= .*|= ${CFLAGS}|" \
+ -e "/^LD/s|= .*|= $(tc-getCC) ${LDFLAGS}|" \
+ -e "/^ AR/s|ar|$(tc-getAR)|" \
+ -e "/^ CC/s|gcc|$(tc-getCC)|" \
+ -i "${S}/Makefile.vars" || die
+
+ sed -e "s|ar rc|$(tc-getAR) rc|g" \
+ -e "s|ranlib|$(tc-getRANLIB)|g" \
+ -i "${S}/CONTRIB/picosat-965/makefile.in" || die
+}
+
+src_configure() {
+ local -a myconf=(
+ $(usex ho '--enable-ho' '')
+ --bindir=/usr/bin
+ --exec-prefix=/usr
+ --man-prefix=/usr/share/man/man1
+ )
+ sh ./configure "${myconf[@]}" || die
+}
+
+src_compile() {
+ default
+
+ if use ho ; then
+ ln -s "${S}/PROVER/${PN}-ho" "${S}/PROVER/${PN}" || die
+ fi
+
+ emake man
+}
+
+src_install() {
+ # Picosat (CONTRIB package) is available as separate package.
+ rm -r "${S}/CONTRIB" || die
+
+ emake EXECPATH="${ED}/usr/bin" MANPATH="${ED}/usr/share/man/man1" install
+ dodoc -r DOC EXAMPLE_PROBLEMS
+
+ if use ho ; then
+ dosym -r "/usr/bin/${PN}-ho" "/usr/bin/${PN}"
+ fi
+}
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2024-01-15 21:20 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-01-04 3:42 [gentoo-commits] repo/gentoo:master commit in: sci-mathematics/eprover/ Maciej Barć
-- strict thread matches above, loose matches on Subject: below --
2023-01-04 17:27 Maciej Barć
2024-01-15 21:20 Maciej Barć
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox