From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id DBEAC15815E for ; Mon, 5 Feb 2024 11:28:41 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6B73AE2A32; Mon, 5 Feb 2024 11:28:40 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 4CB9EE2A32 for ; Mon, 5 Feb 2024 11:28:40 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 49ACA3430F1 for ; Mon, 5 Feb 2024 11:28:39 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 7085F14C7 for ; Mon, 5 Feb 2024 11:28:37 +0000 (UTC) From: "Maciej Barć" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Maciej Barć" Message-ID: <1707132511.f341ccb06a0a80151bb81e544986d4c7e42e3625.xgqt@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sci-mathematics/coq-serapi/files/, sci-mathematics/coq-serapi/ X-VCS-Repository: repo/gentoo X-VCS-Files: sci-mathematics/coq-serapi/Manifest sci-mathematics/coq-serapi/coq-serapi-0.19.0.ebuild sci-mathematics/coq-serapi/files/coq-serapi-0.19.0-sertop-el.patch X-VCS-Directories: sci-mathematics/coq-serapi/files/ sci-mathematics/coq-serapi/ X-VCS-Committer: xgqt X-VCS-Committer-Name: Maciej Barć X-VCS-Revision: f341ccb06a0a80151bb81e544986d4c7e42e3625 X-VCS-Branch: master Date: Mon, 5 Feb 2024 11:28:37 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 3c7f5547-f1c9-41ea-98cf-56572db5b910 X-Archives-Hash: 536f0b8cfb7b4afc8d8980883664e5f7 commit: f341ccb06a0a80151bb81e544986d4c7e42e3625 Author: Maciej Barć gentoo org> AuthorDate: Sun Feb 4 19:29:32 2024 +0000 Commit: Maciej Barć gentoo org> CommitDate: Mon Feb 5 11:28:31 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f341ccb0 sci-mathematics/coq-serapi: bump to 0.19.0 Signed-off-by: Maciej Barć gentoo.org> sci-mathematics/coq-serapi/Manifest | 1 + .../coq-serapi/coq-serapi-0.19.0.ebuild | 76 ++++++++++++++++++++++ .../files/coq-serapi-0.19.0-sertop-el.patch | 11 ++++ 3 files changed, 88 insertions(+) diff --git a/sci-mathematics/coq-serapi/Manifest b/sci-mathematics/coq-serapi/Manifest index 31b560b4f01e..9329b3bb17ba 100644 --- a/sci-mathematics/coq-serapi/Manifest +++ b/sci-mathematics/coq-serapi/Manifest @@ -1 +1,2 @@ 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 diff --git a/sci-mathematics/coq-serapi/coq-serapi-0.19.0.ebuild b/sci-mathematics/coq-serapi/coq-serapi-0.19.0.ebuild new file mode 100644 index 000000000000..ed213e2d76e6 --- /dev/null +++ b/sci-mathematics/coq-serapi/coq-serapi-0.19.0.ebuild @@ -0,0 +1,76 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +COQ_MIN_V=8.19.0 +COQ_MAX_V=8.20.0 + +inherit dune elisp-common + +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 + +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}:= =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 + ) +" + +PATCHES=( "${FILESDIR}/${PN}-0.19.0-sertop-el.patch" ) + +SITEFILE="50sertop-gentoo.el" + +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 +} diff --git a/sci-mathematics/coq-serapi/files/coq-serapi-0.19.0-sertop-el.patch b/sci-mathematics/coq-serapi/files/coq-serapi-0.19.0-sertop-el.patch new file mode 100644 index 000000000000..b6aa6c1784ca --- /dev/null +++ b/sci-mathematics/coq-serapi/files/coq-serapi-0.19.0-sertop-el.patch @@ -0,0 +1,11 @@ +--- a/sertop/sertop.el ++++ b/sertop/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.") +