Gentoo Archives: gentoo-commits

From: Aisha Tammy <gentoo@×××××.cc>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/sci:master commit in: sci-mathematics/acl2/
Date: Fri, 02 Oct 2020 15:55:44
Message-Id: 1601654122.1da2c5c0b390c9c7b71fd5e948a2243cfbf0c1b3.epsilon-0@gentoo
1 commit: 1da2c5c0b390c9c7b71fd5e948a2243cfbf0c1b3
2 Author: Aisha Tammy <gentoo <AT> aisha <DOT> cc>
3 AuthorDate: Fri Oct 2 15:55:22 2020 +0000
4 Commit: Aisha Tammy <gentoo <AT> aisha <DOT> cc>
5 CommitDate: Fri Oct 2 15:55:22 2020 +0000
6 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=1da2c5c0
7
8 sci-mathematics/acl2: version bump
9
10 Package-Manager: Portage-3.0.8, Repoman-3.0.1
11 Signed-off-by: Aisha Tammy <gentoo <AT> aisha.cc>
12
13 sci-mathematics/acl2/acl2-8.3.ebuild | 51 ++++++++++++++++++++++++++++++++++++
14 sci-mathematics/acl2/metadata.xml | 14 +++++-----
15 2 files changed, 57 insertions(+), 8 deletions(-)
16
17 diff --git a/sci-mathematics/acl2/acl2-8.3.ebuild b/sci-mathematics/acl2/acl2-8.3.ebuild
18 new file mode 100644
19 index 000000000..a360cd404
20 --- /dev/null
21 +++ b/sci-mathematics/acl2/acl2-8.3.ebuild
22 @@ -0,0 +1,51 @@
23 +# Copyright 1999-2020 Gentoo Authors
24 +# Distributed under the terms of the GNU General Public License v2
25 +
26 +EAPI=7
27 +
28 +inherit eutils
29 +
30 +DESCRIPTION="Industrial strength theorem prover"
31 +HOMEPAGE="http://www.cs.utexas.edu/users/moore/acl2/"
32 +MY_PN=${PN}-devel
33 +SRC_URI="https://github.com/${MY_PN}/${MY_PN}/releases/download/${PV}/${P}.tar.gz"
34 +
35 +SLOT="0"
36 +LICENSE="BSD"
37 +KEYWORDS="~amd64 ~x86"
38 +IUSE="books"
39 +
40 +BDEPEND="dev-lisp/sbcl"
41 +DEPEND="
42 + dev-lisp/sbcl:=
43 + books? ( dev-lang/perl )
44 +"
45 +RDEPEND="${DEPEND}"
46 +
47 +src_compile() {
48 + emake LISP="sbcl --noinform --noprint \
49 + --no-sysinit --no-userinit --disable-debugger"
50 +
51 + if use books; then
52 + echo
53 + einfo "Building certificates ..."
54 + einfo "(this may take hours to finish)"
55 + emake certify-books
56 + fi
57 +}
58 +
59 +src_install() {
60 + SAVED_NAME=saved_acl2
61 + sed -e "s:${S}:/usr/share/acl2:g" -i ${SAVED_NAME} || die
62 + if use books; then
63 + sed -e "/5/a export ACL2_SYSTEM_BOOKS=/usr/share/acl2/books/" \
64 + -i ${SAVED_NAME} || die
65 + fi
66 + dobin ${SAVED_NAME}
67 +
68 + insinto /usr/share/acl2
69 + doins TAGS ${SAVED_NAME}.core
70 + if use books; then
71 + doins -r books
72 + fi
73 +}
74
75 diff --git a/sci-mathematics/acl2/metadata.xml b/sci-mathematics/acl2/metadata.xml
76 index b77817aa3..6035ff684 100644
77 --- a/sci-mathematics/acl2/metadata.xml
78 +++ b/sci-mathematics/acl2/metadata.xml
79 @@ -11,15 +11,13 @@
80 <name>Gentoo Mathematics Project</name>
81 </maintainer>
82 <longdescription>
83 -ACL2 is both a programming language in which you can model computer systems and
84 -a tool to help you prove properties of those models. ACL2 is part of the
85 -Boyer-Moore family of provers, for which its authors have received the 2005 ACM
86 -Software System Award.
87 -</longdescription>
88 + ACL2 is both a programming language in which you can model computer systems and
89 + a tool to help you prove properties of those models. ACL2 is part of the
90 + Boyer-Moore family of provers, for which its authors have received the 2005 ACM
91 + Software System Award.
92 + </longdescription>
93 <use>
94 - <flag name="books">
95 -build community books, the canonical collection of open-source libraries
96 -</flag>
97 + <flag name="books">build community books, the canonical collection of open-source libraries</flag>
98 </use>
99 <upstream>
100 <remote-id type="github">acl2-devel/acl2-devel</remote-id>