mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-24 18:58:08 -07:00
sci-mathematics/acl2: drop old 8.5-r2
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST acl2-8.5.tar.gz 222696244 BLAKE2B e5aa8360d9f94ed398d11c4e0873818f8f49ed0e072192c7d62dde99b4a7f98b4240b352818e7691ebc98f85ab3c10981c36bb1e35317e50a111c9c7f3f57b33 SHA512 5a2e004713350ae41ced830aa8620c27963eb108baa499f7e52a1c60961b220ef7a026efdfef6cea1063f731b50f3cccbe1583a9957c9cf269b0a958ec83fe48
|
||||
DIST acl2-8.5_p20240307.tar.gz 228577404 BLAKE2B af7b4f9995b568ba733a1071fa8069798091ea66b91acc9fb839a6f9ba7843762d7130f4d6b653054de4adea91569904ee4c3dcd035350616418c13fa762bc10 SHA512 b5484a49702fa6c657ebf9551dcec2b6a9c0632e137db1480f93ef9aec83fc9bdb9ca95c46ed324b4ff6ab1a428c8ca50bd1750e1bfd6c024d46a4d27728a24e
|
||||
|
||||
@@ -1,92 +0,0 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
# NOTICE: Only SBCL (dev-lisp/sbcl) is tested for now, but probably
|
||||
# more CL implementations can be added as alternative dependencies.
|
||||
# With ClozureCL (dev-lisp/clozurecl) ACL2 fails to build,
|
||||
# this might need in-depth investigation...
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit elisp-common
|
||||
|
||||
DESCRIPTION="Industrial strength theorem prover, logic and programming language"
|
||||
HOMEPAGE="https://www.cs.utexas.edu/users/moore/acl2/
|
||||
https://github.com/acl2/acl2/"
|
||||
SRC_URI="https://github.com/acl2/acl2/archive/${PV}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="doc emacs"
|
||||
REQUIRED_USE="emacs? ( doc )"
|
||||
|
||||
RDEPEND="
|
||||
<=dev-lisp/sbcl-2.4.1:=
|
||||
emacs? ( >=app-editors/emacs-25:* )
|
||||
"
|
||||
BDEPEND="
|
||||
${RDEPEND}
|
||||
doc? ( dev-lang/perl )
|
||||
"
|
||||
|
||||
DOCS=( books/README.md )
|
||||
SITEFILE="50${PN}-gentoo.el"
|
||||
|
||||
src_prepare() {
|
||||
find . -type f -name "*.bak" -delete || die
|
||||
find . -type f -name "*.orig" -delete || die
|
||||
rm books/workshops/2003/schmaltz-al-sammane-et-al/support/acl2link || die
|
||||
|
||||
default
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake LISP="sbcl --no-sysinit --no-userinit --disable-debugger"
|
||||
|
||||
use doc && emake ACL2="${S}"/saved_acl2 basic DOC
|
||||
|
||||
if use emacs ; then
|
||||
local elisp_dir
|
||||
for elisp_dir in books/emacs books/interface/emacs ; do
|
||||
BYTECOMPFLAGS="-L ${S}/${elisp_dir}" \
|
||||
elisp-compile "${S}"/${elisp_dir}/*.el
|
||||
done
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local saved_name=saved_acl2
|
||||
|
||||
sed "s|${S}|/usr/share/acl2|g" -i ${saved_name} || die
|
||||
sed "5iexport ACL2_SYSTEM_BOOKS=/usr/share/acl2/books/" \
|
||||
-i ${saved_name} || die
|
||||
|
||||
exeinto /usr/share/acl2
|
||||
doexe ${saved_name}
|
||||
insinto /usr/share/acl2
|
||||
doins ${saved_name}.core
|
||||
dosym -r /usr/share/acl2/${saved_name} /usr/bin/acl2
|
||||
|
||||
if use doc ; then
|
||||
doins -r books
|
||||
|
||||
HTML_DOCS=( doc/HTML/. )
|
||||
einstalldocs
|
||||
fi
|
||||
if use emacs ; then
|
||||
doins TAGS
|
||||
elisp-install ${PN} \
|
||||
books/emacs/*.el{,c} \
|
||||
books/interface/emacs/*.el{,c}
|
||||
elisp-site-file-install "${FILESDIR}/${SITEFILE}"
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
use emacs && elisp-site-regen
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
use emacs && elisp-site-regen
|
||||
}
|
||||
Reference in New Issue
Block a user