diff options
author | Maciej Barć <xgqt@gentoo.org> | 2023-10-23 22:17:28 +0200 |
---|---|---|
committer | Maciej Barć <xgqt@gentoo.org> | 2023-10-23 22:38:57 +0200 |
commit | 3f7751adfbf87dc0d59ba8d60dd0ce604c0a3a17 (patch) | |
tree | 0d471487a92aff4dde9ec92c4ccd3b4c5751b0fa /sci-mathematics | |
parent | app-text/pandoc-bin: drop old 3.1.7 (diff) | |
download | gentoo-3f7751adfbf87dc0d59ba8d60dd0ce604c0a3a17.tar.gz gentoo-3f7751adfbf87dc0d59ba8d60dd0ce604c0a3a17.tar.bz2 gentoo-3f7751adfbf87dc0d59ba8d60dd0ce604c0a3a17.zip |
sci-mathematics/coq-serapi: bump to 0.18.1
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'sci-mathematics')
-rw-r--r-- | sci-mathematics/coq-serapi/Manifest | 1 | ||||
-rw-r--r-- | sci-mathematics/coq-serapi/coq-serapi-0.18.1.ebuild | 72 |
2 files changed, 73 insertions, 0 deletions
diff --git a/sci-mathematics/coq-serapi/Manifest b/sci-mathematics/coq-serapi/Manifest index c332540725bc..880c01bd85ec 100644 --- a/sci-mathematics/coq-serapi/Manifest +++ b/sci-mathematics/coq-serapi/Manifest @@ -1 +1,2 @@ DIST coq-serapi-0.17.0.tar.gz 273903 BLAKE2B 155d865650f773d71e0ddd10869852916de5e539b3b3f4d03d58259790482be45d668035975d5be768776f7ef5947f0d7227f0f6624bc7f64cefd009e9a83ecb SHA512 d9085b4215c233c47f78386d8771348768c9cbbf0716dfa4da3ff8c8c96d2e78b203098314175ef2bb9959096f8b0ec03a9fb5d696d0451eeee0713bd48afa2b +DIST coq-serapi-0.18.1.tar.gz 275040 BLAKE2B 9224505da004ff54c3d21c394e6049b5e15b91c3531cd0d80aae89ee6ce9e92bb626a43fdef8fad58fea4d017b3ed3f13d5d1735e7cfc1ae3bcebed2c70ce332 SHA512 a8eca10734a5b1aa5c6a890998f18d673050ca1e975b5e88643176bfd627b4c0d05cf0be1b75ccfd155b9e74f357ee61bf8225fd144b6a624a3bdd359396428c diff --git a/sci-mathematics/coq-serapi/coq-serapi-0.18.1.ebuild b/sci-mathematics/coq-serapi/coq-serapi-0.18.1.ebuild new file mode 100644 index 000000000000..c98dfba0d296 --- /dev/null +++ b/sci-mathematics/coq-serapi/coq-serapi-0.18.1.ebuild @@ -0,0 +1,72 @@ +# 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 +} |