diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2026-04-16 19:13:42 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2026-04-16 19:13:42 +0000 |
| commit | afae01ffd370a829cb4c628a4dd7e8f87e35b2e3 (patch) | |
| tree | 69bcc5cef0274fe8fe1bc322842bae6c1739f1ab /dev-ml | |
| parent | 6377d9ae9eeb85de4ce4fec4e8544101640035e9 (diff) | |
| download | baldeagleos-repo-afae01ffd370a829cb4c628a4dd7e8f87e35b2e3.tar.gz baldeagleos-repo-afae01ffd370a829cb4c628a4dd7e8f87e35b2e3.tar.xz baldeagleos-repo-afae01ffd370a829cb4c628a4dd7e8f87e35b2e3.zip | |
Adding metadata
Diffstat (limited to 'dev-ml')
| -rw-r--r-- | dev-ml/opam-common/Manifest | 1 | ||||
| -rw-r--r-- | dev-ml/opam-common/files/fix-dotinstall-escape.patch | 22 | ||||
| -rw-r--r-- | dev-ml/opam-common/opam-common-2.3.0-r1.ebuild | 46 | ||||
| -rw-r--r-- | dev-ml/opam-installer/Manifest | 1 | ||||
| -rw-r--r-- | dev-ml/opam-installer/opam-installer-2.3.0.ebuild | 47 | ||||
| -rw-r--r-- | dev-ml/opam/Manifest | 1 | ||||
| -rw-r--r-- | dev-ml/opam/opam-2.3.0.ebuild | 55 |
7 files changed, 173 insertions, 0 deletions
diff --git a/dev-ml/opam-common/Manifest b/dev-ml/opam-common/Manifest index 3a42235d1748..f8f812f54d88 100644 --- a/dev-ml/opam-common/Manifest +++ b/dev-ml/opam-common/Manifest @@ -1 +1,2 @@ DIST opam-2.2.1.tar.gz 1089671 BLAKE2B cd6a97c8c19d7866205b49f95bf4215d986b3ad8b5d1fe5c5fd52db9b8b9e0cff8559d478e18d99d89816bbf830910f182e4c1e80719ac29a3cd5c8299450a21 SHA512 17d7d83b9de118332c121b9d3aa2e48f62a6270ea23e730a536b0f4ff060df85238c7c4ab53a89bcc3b3193d52d14358831bd9bed30a4ac699e44e4c3003b8b0 +DIST opam-2.3.0.tar.gz 1128521 BLAKE2B 1567dbf9f2a944f2399820a1007a0d0943c54e158a5c371421ede0b59a84dfbcef4a5b8e259d74e053e6ae094a89bf6e4ec8686a076c9216f1c7a9136e3958ed SHA512 596d7b28f0cf9613dc7637aaeac45cc45f411a13286fea1cc81aeb0630c4f8a6dc2095d50db73229a255a3da3d9a08fe0993355a7fc64d3b16fd712789ff5f6e diff --git a/dev-ml/opam-common/files/fix-dotinstall-escape.patch b/dev-ml/opam-common/files/fix-dotinstall-escape.patch new file mode 100644 index 000000000000..1481bddf18a0 --- /dev/null +++ b/dev-ml/opam-common/files/fix-dotinstall-escape.patch @@ -0,0 +1,22 @@ +diff --git a/src/format/opamFile.ml b/src/format/opamFile.ml +index c1c0a3f1dff..dd85ff45bc0 100644 +--- a/src/format/opamFile.ml ++++ b/src/format/opamFile.ml +@@ -3728,8 +3728,15 @@ module Dot_installSyntax = struct + Pp.V.map_list ~depth:1 @@ Pp.V.map_option + (Pp.V.string -| pp_optional) + (Pp.opt @@ +- Pp.singleton -| Pp.V.string -| +- Pp.of_module "rel-filename" (module OpamFilename.Base)) ++ Pp.singleton -| Pp.V.string -| Pp.pp ~name:"rel-filename" ++ (fun ~pos s -> ++ if OpamFilename.might_escape ~sep:`Unspecified s then ++ Pp.bad_format ~pos "%s references its parent directory." s ++ else if Filename.is_relative s then ++ OpamFilename.Base.of_string s ++ else ++ Pp.bad_format ~pos "%s is an absolute filename." s) ++ OpamFilename.Base.to_string) + in + let pp_misc = + Pp.V.map_list ~depth:1 @@ Pp.V.map_option diff --git a/dev-ml/opam-common/opam-common-2.3.0-r1.ebuild b/dev-ml/opam-common/opam-common-2.3.0-r1.ebuild new file mode 100644 index 000000000000..c13e6af14549 --- /dev/null +++ b/dev-ml/opam-common/opam-common-2.3.0-r1.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit dune + +DESCRIPTION="Core libraries for opam" +HOMEPAGE="https://opam.ocaml.org/ https://github.com/ocaml/opam" +SRC_URI="https://github.com/ocaml/opam/archive/${PV/_/-}.tar.gz -> opam-${PV}.tar.gz" +S="${WORKDIR}/opam-${PV}" + +LICENSE="LGPL-2.1" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86" +IUSE="+ocamlopt" +RESTRICT="test" #sandbox not working + +RDEPEND=" + dev-ml/jsonm:=[ocamlopt?] + dev-ml/ocamlgraph:=[ocamlopt?] + dev-ml/ocaml-sha:=[ocamlopt?] + >=dev-ml/opam-file-format-2.1.4:=[ocamlopt?] + dev-ml/re:=[ocamlopt?] + dev-ml/stdlib-shims:=[ocamlopt?] + dev-ml/swhid_core:=[ocamlopt?] + dev-ml/uchar:=[ocamlopt?] + dev-ml/uutf:=[ocamlopt?] + !<dev-ml/opam-2.2 +" +DEPEND="${RDEPEND}" +BDEPEND="dev-ml/findlib" + +PATCHES=( "${FILESDIR}"/fix-dotinstall-escape.patch ) + +src_configure() { + : +} + +src_compile() { + dune-compile opam-core opam-format +} + +src_install() { + dune-install opam-core opam-format +} diff --git a/dev-ml/opam-installer/Manifest b/dev-ml/opam-installer/Manifest index 3b6747126096..1678112bf554 100644 --- a/dev-ml/opam-installer/Manifest +++ b/dev-ml/opam-installer/Manifest @@ -1,2 +1,3 @@ DIST opam-2.2.1.tar.gz 1089671 BLAKE2B cd6a97c8c19d7866205b49f95bf4215d986b3ad8b5d1fe5c5fd52db9b8b9e0cff8559d478e18d99d89816bbf830910f182e4c1e80719ac29a3cd5c8299450a21 SHA512 17d7d83b9de118332c121b9d3aa2e48f62a6270ea23e730a536b0f4ff060df85238c7c4ab53a89bcc3b3193d52d14358831bd9bed30a4ac699e44e4c3003b8b0 +DIST opam-2.3.0.tar.gz 1128521 BLAKE2B 1567dbf9f2a944f2399820a1007a0d0943c54e158a5c371421ede0b59a84dfbcef4a5b8e259d74e053e6ae094a89bf6e4ec8686a076c9216f1c7a9136e3958ed SHA512 596d7b28f0cf9613dc7637aaeac45cc45f411a13286fea1cc81aeb0630c4f8a6dc2095d50db73229a255a3da3d9a08fe0993355a7fc64d3b16fd712789ff5f6e DIST opam-full-2.1.6.tar.gz 11704198 BLAKE2B 20e74551760cadf1d911e72c34502e1e7e62003f8ebc83f3b9cb46c712e13fb5f85f41421cc74b051c2e348e0c0a17f4ea34bf655f7ec48cfcdab1e0d8a57a11 SHA512 2bb24db05dc39d6e8294c10b5a6bb2dd8f675a4d56e1dc9a2e9bc576f54d14a1709005219c25586df9382897ab7ba5ea0636765410f01c06958ec59be9f14b4c diff --git a/dev-ml/opam-installer/opam-installer-2.3.0.ebuild b/dev-ml/opam-installer/opam-installer-2.3.0.ebuild new file mode 100644 index 000000000000..b3c525343bd8 --- /dev/null +++ b/dev-ml/opam-installer/opam-installer-2.3.0.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit dune + +DESCRIPTION="Core installer for opam packages" +HOMEPAGE="https://opam.ocaml.org/ https://github.com/ocaml/opam" +SRC_URI="https://github.com/ocaml/opam/releases/download/${PV}/opam-${PV}.tar.gz" +S="${WORKDIR}/opam-${PV/_/-}" + +LICENSE="LGPL-2.1" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86" +IUSE="+ocamlopt" +RESTRICT="test" # sandbox not working + +RDEPEND=" + <dev-ml/cmdliner-2.0.0:=[ocamlopt?] + dev-ml/jsonm:=[ocamlopt?] + dev-ml/ocamlgraph:=[ocamlopt?] + dev-ml/ocaml-sha:=[ocamlopt?] + ~dev-ml/opam-common-${PV}:=[ocamlopt?] + dev-ml/opam-file-format:=[ocamlopt?] + dev-ml/re:=[ocamlopt?] + dev-ml/swhid_core:=[ocamlopt?] + dev-ml/stdlib-shims:=[ocamlopt?] + dev-ml/uchar:=[ocamlopt?] + dev-ml/uutf:=[ocamlopt?] +" +DEPEND="${RDEPEND}" +BDEPEND="dev-ml/findlib" + +src_configure() { + : +} + +src_compile() { + dune-compile ${PN} +} + +src_install() { + dune-install ${PN} + mv "${ED}"/usr/share/doc/${PF}/${PN}/* \ + "${ED}"/usr/share/doc/${PF} || die +} diff --git a/dev-ml/opam/Manifest b/dev-ml/opam/Manifest index b1a6ce179a76..b2fde9095bae 100644 --- a/dev-ml/opam/Manifest +++ b/dev-ml/opam/Manifest @@ -1,2 +1,3 @@ DIST opam-2.1.6.tar.gz 837526 BLAKE2B 1ee60691f4fcc1011f461505942f00ff5f5cc0f0bbfc97edb8e4c676d1e4cd28fed8b49ef341af51a750848be3110713cc97e93a9e63999e4b92e7c7f68d743e SHA512 f75d81b4eb19ef6603e7a2a18e1a281ea6f5eea47b820ae888593102db5b98ded5b593b176e70235611b63a07f4a406a57fe016386f4e921f51b55eb62b9864d DIST opam-2.2.1.tar.gz 1089671 BLAKE2B cd6a97c8c19d7866205b49f95bf4215d986b3ad8b5d1fe5c5fd52db9b8b9e0cff8559d478e18d99d89816bbf830910f182e4c1e80719ac29a3cd5c8299450a21 SHA512 17d7d83b9de118332c121b9d3aa2e48f62a6270ea23e730a536b0f4ff060df85238c7c4ab53a89bcc3b3193d52d14358831bd9bed30a4ac699e44e4c3003b8b0 +DIST opam-2.3.0.tar.gz 1128521 BLAKE2B 1567dbf9f2a944f2399820a1007a0d0943c54e158a5c371421ede0b59a84dfbcef4a5b8e259d74e053e6ae094a89bf6e4ec8686a076c9216f1c7a9136e3958ed SHA512 596d7b28f0cf9613dc7637aaeac45cc45f411a13286fea1cc81aeb0630c4f8a6dc2095d50db73229a255a3da3d9a08fe0993355a7fc64d3b16fd712789ff5f6e diff --git a/dev-ml/opam/opam-2.3.0.ebuild b/dev-ml/opam/opam-2.3.0.ebuild new file mode 100644 index 000000000000..7336c7e54326 --- /dev/null +++ b/dev-ml/opam/opam-2.3.0.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DUNE_PKG_NAME="opam" +inherit dune + +DESCRIPTION="A source-based package manager for OCaml" +HOMEPAGE="https://opam.ocaml.org/" +SRC_URI="https://github.com/ocaml/opam/archive/${PV/_/-}.tar.gz -> opam-${PV}.tar.gz" +S="${WORKDIR}/opam-${PV/_/-}" + +LICENSE="LGPL-2.1-with-linking-exception" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" +IUSE="+ocamlopt" +RESTRICT="test" #see bugs 838658 + +RDEPEND=" + dev-ml/0install:=[ocamlopt?] + <dev-ml/cmdliner-2:=[ocamlopt?] + dev-ml/cudf:=[ocamlopt?] + dev-ml/dose3:=[ocamlopt?] + dev-ml/extlib:=[ocamlopt?] + dev-ml/jsonm:=[ocamlopt?] + dev-ml/ocaml-base64:=[ocamlopt?] + dev-ml/ocamlgraph:=[ocamlopt?] + dev-ml/ocaml-sha:=[ocamlopt?] + dev-ml/opam-0install-cudf:=[ocamlopt?] + =dev-ml/opam-common-2.3*:=[ocamlopt?] + dev-ml/opam-file-format:=[ocamlopt?] + dev-ml/re:=[ocamlopt?] + dev-ml/spdx_licenses:=[ocamlopt?] + dev-ml/stdlib-shims:=[ocamlopt?] + dev-ml/swhid_core:=[ocamlopt?] + dev-ml/uchar:=[ocamlopt?] + dev-ml/uutf:=[ocamlopt?] +" +DEPEND="${RDEPEND}" +BDEPEND="dev-ml/findlib" + +src_configure() { + : +} + +src_compile() { + dune-compile opam-solver opam-repository opam-state opam-client ${DUNE_PKG_NAME} +} + +src_install() { + dune_src_install + mv "${ED}"/usr/share/doc/${PF}/${PN}/* \ + "${ED}"/usr/share/doc/${PF} || die +} |
