From c5ee568457ac776b65b71fa444e0dd47535bc44a Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 27 Jan 2023 20:49:18 +0000 Subject: gentoo auto-resync : 27:01:2023 - 20:49:18 --- sci-mathematics/coq-serapi/Manifest | 2 +- .../coq-serapi/coq-serapi-0.16.2-r1.ebuild | 67 ++++++++++++++++++++++ .../coq-serapi/coq-serapi-0.16.2.ebuild | 66 --------------------- 3 files changed, 68 insertions(+), 67 deletions(-) create mode 100644 sci-mathematics/coq-serapi/coq-serapi-0.16.2-r1.ebuild delete mode 100644 sci-mathematics/coq-serapi/coq-serapi-0.16.2.ebuild (limited to 'sci-mathematics/coq-serapi') diff --git a/sci-mathematics/coq-serapi/Manifest b/sci-mathematics/coq-serapi/Manifest index a4af74e9269a..9ac457a410fc 100644 --- a/sci-mathematics/coq-serapi/Manifest +++ b/sci-mathematics/coq-serapi/Manifest @@ -5,5 +5,5 @@ DIST coq-serapi-0.16.1.tar.gz 271068 BLAKE2B 5e832f4b2d2627938f2399b3eff111a1598 DIST coq-serapi-0.16.2.tar.gz 272807 BLAKE2B 20a04ae8b18fba7c6d8346515d4f610750e32e6a521dc65afd7a624ae07ddea75b4f8aed237ba95ed16667f3867b35dd914b35eab966187f6f41f547f3bac8d6 SHA512 f7aba7009f14302246eabe595af7cb72103b8904e45c647783326f46d51b1331b30dd515364c4b909f02c42c5bf7bd367dc0fe64eb9c88b062cd79113b53306b EBUILD coq-serapi-0.16.0-r1.ebuild 1472 BLAKE2B 5c0465c49866d234a30137572b01d55a43e9284f20487922e20341821095dcd144b377f7ec06f4d51395c23bd15f6d86bc022581fff14dabf0fdc20be136be95 SHA512 438a5770a640de6ae277f780ee5794509c031eacc637a5461d8cdf95d9403d47ecaaccc20aa6e09dc0a2b55f3163eb8445a3189235de0e09f04bfd7b27e10242 EBUILD coq-serapi-0.16.1.ebuild 1472 BLAKE2B 5c0465c49866d234a30137572b01d55a43e9284f20487922e20341821095dcd144b377f7ec06f4d51395c23bd15f6d86bc022581fff14dabf0fdc20be136be95 SHA512 438a5770a640de6ae277f780ee5794509c031eacc637a5461d8cdf95d9403d47ecaaccc20aa6e09dc0a2b55f3163eb8445a3189235de0e09f04bfd7b27e10242 -EBUILD coq-serapi-0.16.2.ebuild 1472 BLAKE2B 77dea962e7749bf235cab68409e7f6add49a9abb110682801aef156c7ea258e5488fe12ac4e8d36bc8a68c8fee897b8ab71bfb1295e90cd130554092edbdfd49 SHA512 65d7960e49048016de9133ea36e26263a5b02c1dfb36e931b39ff02b66a934cd657cd5c621547cb164e72b717558edc457393e50aed4bfd18adfd3a721ebd9bb +EBUILD coq-serapi-0.16.2-r1.ebuild 1442 BLAKE2B 04cc83c611cd63bbee704cf575a8a8ba3713902c7182ebeee5b638ff50c14b51f2ec95939a9920eae353ec93656dcfb8c45c5e8808c489e15fff0fc47d91cc17 SHA512 4d4549fcf593184102ff3162a228c123f74bd13163d2c2831bbec094e5850e23b6be0d01d28ff19c84368bb98dc5ef16fd07e3061a14122ba970700ba1ebbc75 MISC metadata.xml 935 BLAKE2B e1444df414ce499df466597f5e0949e8ebf2d6da23d77028546324109659f58c5f0284a315ea062410a2f2e4631aac8d3564664719e89d76ad6ded9bb8ba7a5f SHA512 172fedbb2aa42e2be9aff426d64fcd69d2dfa206bb0e6072c6ecdc14a1923a2f0676303d8d8aebfe9a3e96e0a1e89185d2d4952bdb9ba1fff44b3891f26d6bf7 diff --git a/sci-mathematics/coq-serapi/coq-serapi-0.16.2-r1.ebuild b/sci-mathematics/coq-serapi/coq-serapi-0.16.2-r1.ebuild new file mode 100644 index 000000000000..44a2d0a9b186 --- /dev/null +++ b/sci-mathematics/coq-serapi/coq-serapi-0.16.2-r1.ebuild @@ -0,0 +1,67 @@ +# 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 + +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}:= =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}-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 +} diff --git a/sci-mathematics/coq-serapi/coq-serapi-0.16.2.ebuild b/sci-mathematics/coq-serapi/coq-serapi-0.16.2.ebuild deleted file mode 100644 index 3c68fbf69d0d..000000000000 --- a/sci-mathematics/coq-serapi/coq-serapi-0.16.2.ebuild +++ /dev/null @@ -1,66 +0,0 @@ -# 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 + -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}:= =dev-ml/ppx_sexp_conv-0.13.0:=