* [gentoo-commits] repo/gentoo:master commit in: dev-ml/cstruct/
@ 2021-03-04 20:02 Alfredo Tupone
0 siblings, 0 replies; 3+ messages in thread
From: Alfredo Tupone @ 2021-03-04 20:02 UTC (permalink / raw
To: gentoo-commits
commit: f5c355a2c8a08be56c16c0f8b30ce2446c83c3e2
Author: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Thu Mar 4 20:01:39 2021 +0000
Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Thu Mar 4 20:02:33 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f5c355a2
dev-ml/cstruct: add dev-ml/cstruct
Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>
dev-ml/cstruct/Manifest | 1 +
dev-ml/cstruct/cstruct-5.2.0.ebuild | 24 ++++++++++++++++++++++++
dev-ml/cstruct/metadata.xml | 11 +++++++++++
3 files changed, 36 insertions(+)
diff --git a/dev-ml/cstruct/Manifest b/dev-ml/cstruct/Manifest
new file mode 100644
index 00000000000..0fe7a4ca890
--- /dev/null
+++ b/dev-ml/cstruct/Manifest
@@ -0,0 +1 @@
+DIST cstruct-v5.2.0.tbz 227195 BLAKE2B 21eb94d0bbfb6f633f37ed7d6db716f7011765219f98f437d1c4ba4778e5d71fce37db1523d5f940d784779dfae1cccda7c521c5b3a2f46048d136a069d1099e SHA512 4e8cb53801980dacb9c9153bada89557ffcd9afaac262592fe6243bec3e76d5d1cfe3babe133a9a32e35ed00d98a4b54d55403e8505cca6a1328be50fadb5f37
diff --git a/dev-ml/cstruct/cstruct-5.2.0.ebuild b/dev-ml/cstruct/cstruct-5.2.0.ebuild
new file mode 100644
index 00000000000..f2b874f5dce
--- /dev/null
+++ b/dev-ml/cstruct/cstruct-5.2.0.ebuild
@@ -0,0 +1,24 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit dune
+
+MYP=${PN}-v${PV}
+
+DESCRIPTION="Map OCaml arrays onto C-like structs"
+HOMEPAGE="https://github.com/mirage/ocaml-cstruct https://mirage.io"
+SRC_URI="https://github.com/mirage/ocaml-${PN}/releases/download/v${PV}/${MYP}.tbz"
+
+LICENSE="ISC"
+SLOT="0/${PV}"
+KEYWORDS="~amd64"
+IUSE="+ocamlopt"
+
+RDEPEND="dev-ml/async_unix:=
+ dev-ml/bigarray-compat:=
+ >=dev-ml/ppx_tools_versioned-5.4.0:="
+DEPEND="${RDEPEND}"
+
+S="${WORKDIR}"/${MYP}
diff --git a/dev-ml/cstruct/metadata.xml b/dev-ml/cstruct/metadata.xml
new file mode 100644
index 00000000000..3f974fc39b8
--- /dev/null
+++ b/dev-ml/cstruct/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>ml@gentoo.org</email>
+ <name>ML</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">mirage/ocaml-cstruct</remote-id>
+ </upstream>
+</pkgmetadata>
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-ml/cstruct/
@ 2024-06-15 15:56 Alfredo Tupone
0 siblings, 0 replies; 3+ messages in thread
From: Alfredo Tupone @ 2024-06-15 15:56 UTC (permalink / raw
To: gentoo-commits
commit: c568d4b1867085f81e4673123ae2f690124a978f
Author: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Sat Jun 15 15:09:10 2024 +0000
Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Sat Jun 15 15:55:42 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c568d4b1
dev-ml/cstruct: new package, add 6.2.0
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>
dev-ml/cstruct/Manifest | 1 +
dev-ml/cstruct/cstruct-6.2.0.ebuild | 19 +++++++++++++++++++
dev-ml/cstruct/metadata.xml | 11 +++++++++++
3 files changed, 31 insertions(+)
diff --git a/dev-ml/cstruct/Manifest b/dev-ml/cstruct/Manifest
new file mode 100644
index 000000000000..d7d4adfc959d
--- /dev/null
+++ b/dev-ml/cstruct/Manifest
@@ -0,0 +1 @@
+DIST cstruct-6.2.0.tbz 241841 BLAKE2B 9a662bf1208e80afda486dd46169b281e838e49666aca01a9ad57b9516fa055af315ea12d5e5bb8994df67eb2f6edabe544a89a2a2a370249e5b72e109f01b1a SHA512 8d33fe6b3707a3994d0225cd33cadde0bb2ca834ef01096e3df33a08e4a8c6d02ebccddf558a73988b8a5595b65fdc10de61efbf872c6c9e55c719c7e19c463d
diff --git a/dev-ml/cstruct/cstruct-6.2.0.ebuild b/dev-ml/cstruct/cstruct-6.2.0.ebuild
new file mode 100644
index 000000000000..6d78859ac5fc
--- /dev/null
+++ b/dev-ml/cstruct/cstruct-6.2.0.ebuild
@@ -0,0 +1,19 @@
+# Copyright 2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit dune
+
+DESCRIPTION="Access C-like structures directly from OCaml"
+HOMEPAGE="https://github.com/mirage/ocaml-cstruct"
+SRC_URI="https://github.com/mirage/ocaml-cstruct/releases/download/v${PV}/${P}.tbz"
+
+LICENSE="ISC"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64"
+IUSE="+ocamlopt"
+
+src_compile() {
+ dune-compile ${PN}
+}
diff --git a/dev-ml/cstruct/metadata.xml b/dev-ml/cstruct/metadata.xml
new file mode 100644
index 000000000000..ed977f2b227a
--- /dev/null
+++ b/dev-ml/cstruct/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>ml@gentoo.org</email>
+ <name>ML</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">mirage/ocaml-cstruct</remote-id>
+ </upstream>
+</pkgmetadata>
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-ml/cstruct/
@ 2024-06-17 16:33 Alfredo Tupone
0 siblings, 0 replies; 3+ messages in thread
From: Alfredo Tupone @ 2024-06-17 16:33 UTC (permalink / raw
To: gentoo-commits
commit: b9f665088d77b29d62aec6054cf9bd168b9c9201
Author: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Mon Jun 17 16:32:36 2024 +0000
Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Mon Jun 17 16:33:01 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b9f66508
dev-ml/cstruct: add test deps
Closes: https://bugs.gentoo.org/934406
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>
.../{cstruct-6.2.0.ebuild => cstruct-6.2.0-r1.ebuild} | 13 ++++++++++++-
1 file changed, 12 insertions(+), 1 deletion(-)
diff --git a/dev-ml/cstruct/cstruct-6.2.0.ebuild b/dev-ml/cstruct/cstruct-6.2.0-r1.ebuild
similarity index 68%
rename from dev-ml/cstruct/cstruct-6.2.0.ebuild
rename to dev-ml/cstruct/cstruct-6.2.0-r1.ebuild
index 6d78859ac5fc..b397c637c091 100644
--- a/dev-ml/cstruct/cstruct-6.2.0.ebuild
+++ b/dev-ml/cstruct/cstruct-6.2.0-r1.ebuild
@@ -12,7 +12,18 @@ SRC_URI="https://github.com/mirage/ocaml-cstruct/releases/download/v${PV}/${P}.t
LICENSE="ISC"
SLOT="0/${PV}"
KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64"
-IUSE="+ocamlopt"
+IUSE="+ocamlopt test"
+RESTRICT="!test? ( test )"
+
+BDEPEND="test? (
+ dev-ml/alcotest
+ dev-ml/cppo
+ dev-ml/ocaml-migrate-parsetree
+ dev-ml/ppx_sexp_conv
+ dev-ml/ppxlib
+ dev-ml/sexplib
+ )
+"
src_compile() {
dune-compile ${PN}
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2024-06-17 16:33 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-17 16:33 [gentoo-commits] repo/gentoo:master commit in: dev-ml/cstruct/ Alfredo Tupone
-- strict thread matches above, loose matches on Subject: below --
2024-06-15 15:56 Alfredo Tupone
2021-03-04 20:02 Alfredo Tupone
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox