public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Alfredo Tupone" <tupone@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ml/dune/
Date: Tue, 11 Jul 2023 17:01:13 +0000 (UTC)	[thread overview]
Message-ID: <1689094133.d10337ca4d45a4d621ed56acbd59199f425bc102.tupone@gentoo> (raw)

commit:     d10337ca4d45a4d621ed56acbd59199f425bc102
Author:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Tue Jul 11 16:48:53 2023 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Tue Jul 11 16:48:53 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d10337ca

dev-ml/dune: add 3.9.1

Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>

 dev-ml/dune/Manifest          |  1 +
 dev-ml/dune/dune-3.9.1.ebuild | 68 +++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 69 insertions(+)

diff --git a/dev-ml/dune/Manifest b/dev-ml/dune/Manifest
index 0e6e7f713673..6b9ec1ec4336 100644
--- a/dev-ml/dune/Manifest
+++ b/dev-ml/dune/Manifest
@@ -11,3 +11,4 @@ DIST dune-3.7.0.tar.gz 2010139 BLAKE2B 045fc6ee033325b074aac869c32b55f243bc561b7
 DIST dune-3.7.1.tar.gz 2011275 BLAKE2B dd0f473a720fc65ac550a2aab64930ff472a9bd306d603f088d813817df56148f676abe2a56ff3458bb1ed887784e565154eee08988bf984585b35bc9333d929 SHA512 d741b2a92e970f9747240d4356045f46447238f7c8d8c47ba0b1cad96b8194461a47fa315d86a1eef2033a4d38001c999e6033c31b0c75a311367fb78ea12b6b
 DIST dune-3.8.0.tar.gz 2564537 BLAKE2B 773a2643b187f37dd2e21df41f18818753e249e66c2d98a4cfee3d9997f528827b2cf3c60d2992ffdc51397c393ac1a0fcc5339bdec2d87f82252114394d2355 SHA512 bba32fb508265329a2a46c9bd2e8b7e5f3d6d84390e842382ff4790f0d3414c9ff1d005c1af88988daaca29749729f1ced7b388f2d96432f01f2f4ea4714be98
 DIST dune-3.9.0.tar.gz 2609923 BLAKE2B f9fe8fb3c2e002e1eec141f487709d592df969ab44d41012ebaa436f17b6ee679e2e763d479106ae722b8b61be03fceb701b314c40c001d5895db99e5fbbe4a6 SHA512 86cd66222553f8cd7c1d1fb9e4e55169f9cd6d92e0bde1c56846b5e0fb6ae8494ac15ebb68d9e8761240f46dcc9b480747e48b21b74cff86e52cc45d3d222070
+DIST dune-3.9.1.tar.gz 2610113 BLAKE2B 0b97f6a951bd013a156a1417f6b65df17324adf13d48ad3b8bf45a4133cc77195e2118ae95f0cb9da488c26378b58ce677db8eb4b3cb028a73c779be57b2d611 SHA512 c997ec2205fa5391acbca9e196387cec1af69d3aed4cebe21d82edbe66bd91fda0c742e7ff2e3ffb8df88e2e379bbff68028574664cf375d04f4d3f3f2102f3b

diff --git a/dev-ml/dune/dune-3.9.1.ebuild b/dev-ml/dune/dune-3.9.1.ebuild
new file mode 100644
index 000000000000..4055f5de2e82
--- /dev/null
+++ b/dev-ml/dune/dune-3.9.1.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit multiprocessing elisp-common
+
+DESCRIPTION="A composable build system for OCaml"
+HOMEPAGE="https://github.com/ocaml/dune"
+SRC_URI="https://github.com/ocaml/dune/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86"
+IUSE="emacs"
+RESTRICT="strip test"
+
+RDEPEND="
+	>=dev-lang/ocaml-4.08:=
+	emacs? ( >=app-editors/emacs-23.1:* )
+"
+DEPEND="${RDEPEND}"
+
+QA_FLAGS_IGNORED="usr/bin/dune"
+
+BYTECOMPFLAGS="-L ${S}/editor-integration/emacs"
+SITEFILE="50${PN}-gentoo.el"
+
+src_prepare() {
+	default
+
+	# This allows `dune --version` to output the correct version
+	# instead of "n/a"
+	sed -i "/^(name dune)/a (version ${PV})" dune-project || die
+}
+
+src_configure() {
+	./configure \
+		--libdir="$(ocamlc -where)" \
+		--mandir=/usr/share/man \
+		--docdir=/usr/doc \
+		--etcdir=/etc \
+		--datadir=/usr/share \
+		--sbindir=/usr/sbin \
+		--bindir=/usr/bin \
+		|| die
+}
+
+src_compile() {
+	ocaml boot/bootstrap.ml -j $(makeopts_jobs) --verbose || die
+	./_boot/dune.exe build @install -p "${PN}" --profile dune-bootstrap \
+		-j $(makeopts_jobs) --display short || die
+
+	use emacs && elisp-compile editor-integration/emacs/*.el
+}
+
+src_install() {
+	default
+
+	dodir /usr/share/doc
+	mv "${ED}"/usr/doc/dune "${ED}"/usr/share/doc/${PF} || die
+	rmdir "${ED}"/usr/doc || die
+
+	if use emacs ; then
+		elisp-install ${PN} editor-integration/emacs/*.el{,c}
+		elisp-site-file-install "${FILESDIR}/${SITEFILE}"
+	fi
+}


             reply	other threads:[~2023-07-11 17:01 UTC|newest]

Thread overview: 92+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-07-11 17:01 Alfredo Tupone [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-07-19 12:02 [gentoo-commits] repo/gentoo:master commit in: dev-ml/dune/ Alfredo Tupone
2025-06-07 12:09 Alfredo Tupone
2025-06-07 12:05 Alfredo Tupone
2025-04-20  9:27 Alfredo Tupone
2025-03-14  7:21 Alfredo Tupone
2025-03-08 12:15 Arthur Zamarin
2024-12-29 10:54 Sam James
2024-12-29 10:54 Sam James
2024-11-02 15:51 Alfredo Tupone
2024-09-06 20:28 Alfredo Tupone
2024-08-16 13:58 Sam James
2024-08-14  9:50 Sam James
2024-08-14  9:49 Sam James
2024-08-13 20:01 Arthur Zamarin
2024-08-13 19:32 Arthur Zamarin
2024-07-03 16:02 Alfredo Tupone
2024-07-02  7:18 Alfredo Tupone
2024-06-08 15:39 Arthur Zamarin
2024-06-08 15:32 Sam James
2024-06-08 14:21 Arthur Zamarin
2024-06-08 14:21 Arthur Zamarin
2024-06-08 14:21 Arthur Zamarin
2024-06-08 11:01 Alfredo Tupone
2024-06-06  6:19 Alfredo Tupone
2024-06-01 21:30 Alfredo Tupone
2024-05-30 20:11 Alfredo Tupone
2023-08-16 13:29 Arthur Zamarin
2023-08-02 19:53 Alfredo Tupone
2023-07-03 19:02 Alfredo Tupone
2023-05-23 19:37 Alfredo Tupone
2023-05-20 16:47 Alfredo Tupone
2023-04-16  8:41 Alfredo Tupone
2023-03-17 11:27 Arthur Zamarin
2023-03-17 10:30 Arthur Zamarin
2023-03-17  3:33 Sam James
2023-03-17  2:38 Sam James
2023-03-15 20:26 Arthur Zamarin
2023-03-01 18:17 Alfredo Tupone
2023-02-24 16:14 Arthur Zamarin
2023-02-23 23:38 Sam James
2023-01-30 20:52 Alfredo Tupone
2022-12-17 21:52 Alfredo Tupone
2022-12-16 12:32 Alfredo Tupone
2022-11-22  7:40 Alfredo Tupone
2022-11-21 13:17 Alfredo Tupone
2022-11-20 17:08 Alfredo Tupone
2022-11-19 22:48 Alfredo Tupone
2022-11-19 18:31 Alfredo Tupone
2022-11-18 17:47 Arthur Zamarin
2022-10-22 16:53 Alfredo Tupone
2022-07-23 23:52 Sam James
2022-04-20 11:53 Maciej Barć
2022-01-29 18:28 Alfredo Tupone
2022-01-08 12:48 Alfredo Tupone
2021-12-10 17:15 Jakov Smolić
2021-12-10 11:15 Jakov Smolić
2021-12-08 19:09 Arthur Zamarin
2021-12-07 20:25 Arthur Zamarin
2021-10-02  5:23 Sam James
2021-07-21 20:08 Alfredo Tupone
2021-04-26 19:22 Sam James
2021-04-25 15:52 Sam James
2021-04-22 23:33 Sam James
2021-04-22 23:33 Sam James
2021-04-22 20:19 Sam James
2021-04-18  6:47 Sam James
2021-03-13 14:05 Sam James
2021-03-13 14:03 Sam James
2021-03-04 14:28 Agostino Sarubbo
2021-02-25 17:54 Sam James
2021-02-25 13:15 Sam James
2021-02-25 13:09 Sam James
2021-02-18 17:39 Alfredo Tupone
2021-02-16 12:34 Sam James
2021-02-12 22:20 Sam James
2021-02-01 21:14 Alfredo Tupone
2021-01-30 16:26 Alfredo Tupone
2021-01-26 17:52 Alfredo Tupone
2021-01-24 16:06 Sam James
2021-01-17 17:38 Sam James
2020-12-17 12:08 Sam James
2020-12-13 12:03 Sergei Trofimovich
2020-12-03  2:01 Thomas Deutschmann
2020-03-31 17:51 Mart Raudsepp
2020-02-24 12:50 Agostino Sarubbo
2020-02-24 10:07 Agostino Sarubbo
2020-02-21 18:08 Alfredo Tupone
2020-02-21 15:57 Agostino Sarubbo
2020-01-17 22:08 Alfredo Tupone
2019-10-21 18:31 Alfredo Tupone
2019-07-25 18:43 Alfredo Tupone

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1689094133.d10337ca4d45a4d621ed56acbd59199f425bc102.tupone@gentoo \
    --to=tupone@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox