commit:     185fe2f36d6aa2df299937218aed7b40ca05fcd5
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Wed Jan 11 23:59:39 2023 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Thu Jan 12 01:23:40 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=185fe2f3

sci-mathematics/coq-serapi: bump to 0.16.2

Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>

 sci-mathematics/coq-serapi/Manifest                |  1 +
 .../coq-serapi/coq-serapi-0.16.2.ebuild            | 66 ++++++++++++++++++++++
 2 files changed, 67 insertions(+)

diff --git a/sci-mathematics/coq-serapi/Manifest 
b/sci-mathematics/coq-serapi/Manifest
index 61f749d71918..24094f6656d1 100644
--- a/sci-mathematics/coq-serapi/Manifest
+++ b/sci-mathematics/coq-serapi/Manifest
@@ -1,3 +1,4 @@
 DIST coq-serapi-0.15.0.tar.gz 268083 BLAKE2B 
aeea2cb8ed0f648f307715c464f2da90585718aa8afedf69b4e1c282265a12a3937044397787404e43286cebaaf1f48efde93d845cd71c1c97cc1b2e9a2a8835
 SHA512 
3ba1b63002d36a4c0e64f86170d31c4131dc02e8cb8573b39f03ed44d1e5f29c064c472bebad367b875b02e36ced6bfe8c5fb2023bd798b3b79f74a5a2f54189
 DIST coq-serapi-0.16.0.tar.gz 270647 BLAKE2B 
8189e70bfa4208a613ec7a89d6fc72c15a9c1c29ed49cd53a561b72b4b9e55196bcb92d5e962309d8843036c30ec177588e2db7dd091443947b02e78f2df1880
 SHA512 
56cc74e9d2b1e13c7ffb94b32e206671ac904f6d7e633c830175eed6f7cb75a2b212be916316784dc7d697c6e5779e27ed402d5e7edbee8b7d84d2c533dc38c3
 DIST coq-serapi-0.16.1.tar.gz 271068 BLAKE2B 
5e832f4b2d2627938f2399b3eff111a15987d7733e30ba6f6328dc0110631a1c42a212c5ed464037f8c521c11c46bf8bb8665bfdd93b5969949cdec584a42e18
 SHA512 
348a984897f99dd4f08a409251eaf50f792aa1fe96d71d5f895f3153c05131b2d6b15f10a18cf704e978676562547d0869a310e8d6969ffe69d5bdf1c212b756
+DIST coq-serapi-0.16.2.tar.gz 272807 BLAKE2B 
20a04ae8b18fba7c6d8346515d4f610750e32e6a521dc65afd7a624ae07ddea75b4f8aed237ba95ed16667f3867b35dd914b35eab966187f6f41f547f3bac8d6
 SHA512 
f7aba7009f14302246eabe595af7cb72103b8904e45c647783326f46d51b1331b30dd515364c4b909f02c42c5bf7bd367dc0fe64eb9c88b062cd79113b53306b

diff --git a/sci-mathematics/coq-serapi/coq-serapi-0.16.2.ebuild 
b/sci-mathematics/coq-serapi/coq-serapi-0.16.2.ebuild
new file mode 100644
index 000000000000..3c68fbf69d0d
--- /dev/null
+++ b/sci-mathematics/coq-serapi/coq-serapi-0.16.2.ebuild
@@ -0,0 +1,66 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+COQV=8.16.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/${COQV}+${PV}.tar.gz
+               -> ${P}.tar.gz"
+S="${WORKDIR}"/${PN}-${COQV}-${PV}
+
+LICENSE="GPL-3+"
+SLOT="0/${PV}"
+KEYWORDS="~amd64"
+IUSE="emacs +ocamlopt test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+       >=sci-mathematics/coq-${COQV}:= <sci-mathematics/coq-8.17:=
+       >=dev-ml/ppx_sexp_conv-0.13.0:= <dev-ml/ppx_sexp_conv-0.15.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 )
+"
+
+PATCHES=( "${FILESDIR}"/${PN}-sertop.el-path.patch )
+SITEFILE="50sertop-gentoo.el"
+
+src_compile() {
+       dune_src_compile
+
+       use emacs && elisp-compile sertop.el
+}
+
+src_install() {
+       dune_src_install
+
+       rm -r "${D}"/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
+}

Reply via email to