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 7FA841581C1 for ; Sat, 13 Jul 2024 11:38:02 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B301D2BC112; Sat, 13 Jul 2024 11:38:01 +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)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 63A492BC112 for ; Sat, 13 Jul 2024 11:38:01 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 67DB7342FFB for ; Sat, 13 Jul 2024 11:38:00 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A6C721869 for ; Sat, 13 Jul 2024 11:37:58 +0000 (UTC) From: "Alfredo Tupone" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Alfredo Tupone" Message-ID: <1720870656.0d2589fdfd4b93c0ba2f2c01b1f62ed3ffa23325.tupone@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ml/utop/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ml/utop/Manifest dev-ml/utop/utop-2.14.0.ebuild X-VCS-Directories: dev-ml/utop/ X-VCS-Committer: tupone X-VCS-Committer-Name: Alfredo Tupone X-VCS-Revision: 0d2589fdfd4b93c0ba2f2c01b1f62ed3ffa23325 X-VCS-Branch: master Date: Sat, 13 Jul 2024 11:37:58 +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: caf2b25e-33f6-40ad-8fca-e6ff58853d8c X-Archives-Hash: 2cc11d601be3d482a91ec3a23e40a378 commit: 0d2589fdfd4b93c0ba2f2c01b1f62ed3ffa23325 Author: Alfredo Tupone gentoo org> AuthorDate: Sat Jul 13 11:37:36 2024 +0000 Commit: Alfredo Tupone gentoo org> CommitDate: Sat Jul 13 11:37:36 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0d2589fd dev-ml/utop: add 2.14.0 Signed-off-by: Alfredo Tupone gentoo.org> dev-ml/utop/Manifest | 1 + dev-ml/utop/utop-2.14.0.ebuild | 66 ++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 67 insertions(+) diff --git a/dev-ml/utop/Manifest b/dev-ml/utop/Manifest index 87f363967d57..5e5e78be39f5 100644 --- a/dev-ml/utop/Manifest +++ b/dev-ml/utop/Manifest @@ -1 +1,2 @@ DIST utop-2.12.1.tar.gz 416596 BLAKE2B a8a31c91fd4f989e3d89bc736caa7b611ba0ccc2de905adcd1cf59fff87770d5a00c2d7a43462940269ae8be2f5980fa5b8d2ec7ba547b937cc1e6a579621f2f SHA512 cc52bdb2a58141e6f7b678c93f69b0aa5ca4c628cb6841e02e6a783191a917bd838c06682d55f4f455a01a7004e43b5193d8574968b8400050b0f7b5a102ca3a +DIST utop-2.14.0.tar.gz 418609 BLAKE2B 726ff00d6ce13f6bb81b6e1ad82749094f25a6394f6552f2a976f270d182a7b600a9a17a1c692e56fa807332b25638a8cf0c2082c12ef93262ef5409633fba27 SHA512 16c724c0d54cd14d2126060f00e8b86fe3b886cffd7ff306a825d7f9e045b74ffc5830f659ccb151dfaa36c41c2966c26bc2c2e7567f9e1d725b33e9f677d19e diff --git a/dev-ml/utop/utop-2.14.0.ebuild b/dev-ml/utop/utop-2.14.0.ebuild new file mode 100644 index 000000000000..788125604fb3 --- /dev/null +++ b/dev-ml/utop/utop-2.14.0.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit dune elisp-common + +DESCRIPTION="Universal toplevel for OCaml" +HOMEPAGE="https://github.com/ocaml-community/utop" +SRC_URI="https://github.com/ocaml-community/utop/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~x86" +IUSE="emacs +ocamlopt" + +ELISP_DEPEND=" + emacs? ( + >=app-editors/emacs-24:* + >=app-emacs/tuareg-mode-2.2.0 + ) +" +DEPEND=" + >=dev-lang/ocaml-4.11 + dev-ml/lambda-term:=[ocamlopt?] + dev-ml/logs:=[ocamlopt?] + dev-ml/lwt:=[ocamlopt?] + dev-ml/react:= + dev-ml/xdg:=[ocamlopt?] + dev-ml/zed:=[ocamlopt?] +" +RDEPEND=" + ${DEPEND} + ${ELISP_DEPEND} +" +BDEPEND=" + dev-ml/cppo + dev-ml/findlib + ${ELISP_DEPEND} +" + +SITEFILE="50${PN}-gentoo.el" + +src_compile() { + dune_src_compile + + use emacs && + BYTECOMPFLAGS="-L src/top" elisp-compile src/top/*.el +} + +src_install() { + dune_src_install + + if use emacs ; then + elisp-install ${PN} src/top/*.el{,c} + elisp-site-file-install "${FILESDIR}/${SITEFILE}" + fi +} + +pkg_postinst() { + use emacs && elisp-site-regen +} + +pkg_postrm() { + use emacs && elisp-site-regen +}