mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-05 12:38:09 -07:00
sci-mathematics/coq-serapi: drop old 0.18.1
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST coq-serapi-0.18.1.tar.gz 275040 BLAKE2B 9224505da004ff54c3d21c394e6049b5e15b91c3531cd0d80aae89ee6ce9e92bb626a43fdef8fad58fea4d017b3ed3f13d5d1735e7cfc1ae3bcebed2c70ce332 SHA512 a8eca10734a5b1aa5c6a890998f18d673050ca1e975b5e88643176bfd627b4c0d05cf0be1b75ccfd155b9e74f357ee61bf8225fd144b6a624a3bdd359396428c
|
||||
DIST coq-serapi-0.19.0.tar.gz 180779 BLAKE2B 27083a851139e983158b4cb251d37971d0eec61dd91303a0d09512e690c56a75624dab8c5120eebaed1e7bb168d0b2b889d538854812506c4d0a804f7bee7423 SHA512 e01706beb957315011682f2f74448e66c7a8a077418eeaf7d3fa21414bdf88950b75adbfe2392656e4d6036ce6585d4d53b1dadfd8379249b2943ea389c9c83e
|
||||
|
||||
@@ -1,72 +0,0 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
COQ_MIN_V=8.18.0
|
||||
COQ_MAX_V=8.19.0
|
||||
|
||||
inherit elisp-common dune
|
||||
|
||||
DESCRIPTION="Serialization library and protocol for interaction with the Coq proof assistant"
|
||||
HOMEPAGE="https://github.com/ejgallego/coq-serapi/"
|
||||
|
||||
# The tarball in SRC_URI is comprised of <supported coq>+<package version>
|
||||
SRC_URI="https://github.com/ejgallego/${PN}/archive/${COQ_MIN_V}+${PV}.tar.gz
|
||||
-> ${P}.tar.gz"
|
||||
S="${WORKDIR}/${PN}-${COQ_MIN_V}-${PV}"
|
||||
|
||||
LICENSE="GPL-3+"
|
||||
SLOT="0/${PV}"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="emacs +ocamlopt test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="
|
||||
>=sci-mathematics/coq-${COQ_MIN_V}:= <sci-mathematics/coq-${COQ_MAX_V}:=
|
||||
>=dev-ml/ppx_sexp_conv-0.13.0:=
|
||||
dev-ml/cmdliner:=
|
||||
dev-ml/ppx_compare:=
|
||||
dev-ml/ppx_deriving:=
|
||||
dev-ml/ppx_deriving_yojson:=
|
||||
dev-ml/ppx_hash:=
|
||||
dev-ml/ppx_import:=
|
||||
dev-ml/sexplib:=
|
||||
dev-ml/yojson:=
|
||||
"
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
"
|
||||
BDEPEND="
|
||||
emacs? ( >=app-editors/emacs-23.1:* )
|
||||
test? ( sci-mathematics/coq-mathcomp )
|
||||
"
|
||||
|
||||
SITEFILE="50sertop-gentoo.el"
|
||||
|
||||
PATCHES=( "${FILESDIR}/${PN}-sertop.el-path.patch" )
|
||||
|
||||
src_compile() {
|
||||
dune_src_compile
|
||||
|
||||
use emacs && elisp-compile sertop.el
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dune_src_install
|
||||
|
||||
rm -r "${ED}/usr/share/emacs" || die
|
||||
|
||||
if use emacs ; then
|
||||
elisp-install "${PN}" sertop.el{,c}
|
||||
elisp-site-file-install "${FILESDIR}/${SITEFILE}"
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
use emacs && elisp-site-regen
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
use emacs && elisp-site-regen
|
||||
}
|
||||
@@ -1,12 +0,0 @@
|
||||
index 300a22f..63f7dcc 100644
|
||||
--- a/sertop.el
|
||||
+++ b/sertop.el
|
||||
@@ -37,7 +37,7 @@
|
||||
(buffer-file-name))))
|
||||
|
||||
(defvar sertop-executable-path
|
||||
- (or (expand-file-name "sertop.native" sertop--root)
|
||||
+ (or (executable-find "sertop.native")
|
||||
(executable-find "sertop"))
|
||||
"Path to sertop.")
|
||||
|
||||
Reference in New Issue
Block a user