diff --git a/app-admin/glance/glance-24.0.0.ebuild b/app-admin/glance/glance-24.0.0.ebuild index 331a5d544c..8d8fd15335 100644 --- a/app-admin/glance/glance-24.0.0.ebuild +++ b/app-admin/glance/glance-24.0.0.ebuild @@ -120,6 +120,7 @@ python_compile_all() { } python_prepare_all() { + rm glance/tests/test_hacking.py || die sed -i '/pysendfile/d' test-requirements.txt || die sed -i '/^hacking/d' test-requirements.txt || die distutils-r1_python_prepare_all @@ -154,3 +155,7 @@ python_install_all() { distutils-r1_python_install_all rm -r "${ED}"/usr/etc } + +pkg_postinst() { + tmpfiles_process glance.conf +} diff --git a/app-emulation/spice-html5/spice-html5-0.3.0.ebuild b/app-emulation/spice-html5/spice-html5-0.3.0-r1.ebuild similarity index 66% rename from app-emulation/spice-html5/spice-html5-0.3.0.ebuild rename to app-emulation/spice-html5/spice-html5-0.3.0-r1.ebuild index 6c2789a520..815680a942 100644 --- a/app-emulation/spice-html5/spice-html5-0.3.0.ebuild +++ b/app-emulation/spice-html5/spice-html5-0.3.0-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 2019-2021 Gentoo Authors +# Copyright 2019-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -8,17 +8,16 @@ HOMEPAGE="https://gitlab.freedesktop.org/spice/spice-html5" SRC_URI="https://gitlab.freedesktop.org/spice/${PN}/-/archive/${P}/${PN}-${P}.tar.gz" S="${WORKDIR}/${PN}-${P}" -LICENSE="LGPL-3" # maybe other licenses +LICENSE="LGPL-3 MIT" SLOT="0" KEYWORDS="~amd64" -# no compiling src_compile() { - true + sed -e "s/VERSION/$(PV)/" < package.json.in > package.json || die } src_install() { - dodoc README + dodoc README TODO apache.conf.sample insinto /usr/share/spice-html5 - doins -r src apache.conf.sample spice.css spice.html spice_auto.html + doins -r src *.html *.json *.css } diff --git a/dev-R/RcppEnsmallen/RcppEnsmallen-0.2.17.0.1.ebuild b/dev-R/RcppEnsmallen/RcppEnsmallen-0.2.17.0.1.ebuild index 129a0fa237..003cfc953a 100644 --- a/dev-R/RcppEnsmallen/RcppEnsmallen-0.2.17.0.1.ebuild +++ b/dev-R/RcppEnsmallen/RcppEnsmallen-0.2.17.0.1.ebuild @@ -14,7 +14,7 @@ LICENSE='GPL-2+' DEPEND=" >=dev-lang/R-3.3.0 dev-R/Rcpp - =sci-libs/ensmallen-${MY_PV}* + =sci-libs/ensmallen-${MY_PV}*:= " RDEPEND="${DEPEND} >=dev-R/RcppArmadillo-0.8.400.0.0 @@ -38,9 +38,7 @@ src_install() { R_includedir="/usr/$(get_libdir)/R/site-library/${PN}/include" dosym8 -r /usr/include/ensmallen.hpp "${R_includedir}/ensmallen.hpp" - dodir /usr/include/ensmallen_bits - for file in "${ED}/${R_includedir}"/ensmallen_bits/*; do - filename=$(basename "${file}") - dosym8 -r /usr/include/ensmallen_bits/${filename} "${R_includedir}/ensmallen_bits/${filename}" - done + # portage doesn't like symlinks to folders, symlink all the files then + rm -rf "${ED}/${R_includedir}"/ensmallen_bits/* || die + cp -rs "/usr/include/ensmallen_bits" "${ED}/${R_includedir}" || die } diff --git a/dev-ml/afl-persistent/Manifest b/dev-ml/afl-persistent/Manifest new file mode 100644 index 0000000000..f150fbd820 --- /dev/null +++ b/dev-ml/afl-persistent/Manifest @@ -0,0 +1 @@ +DIST afl-persistent-1.3.tar.gz 4310 BLAKE2B fa8a5bb5c86216d36ad59e01ff362c08bdbf112ac2f91f0ad2fcce4861b514f46871dd17771903e8b3e9f8db86fd0dda0b66a96372acf4e0fac4c25731356e63 SHA512 31f940be1c3e79856a001e2af687bb60f1a1bd6e04c6e730dc8f859db22bfccdc38eddb50baef423473cae9d1d3c2b86427a8257df0005328027b0fa2735100a diff --git a/dev-ml/afl-persistent/afl-persistent-1.3.ebuild b/dev-ml/afl-persistent/afl-persistent-1.3.ebuild new file mode 100644 index 0000000000..0ef83a591a --- /dev/null +++ b/dev-ml/afl-persistent/afl-persistent-1.3.ebuild @@ -0,0 +1,22 @@ +# Copyright 2020-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit opam + +DESCRIPTION="Persistent-mode afl-fuzz for ocaml" +HOMEPAGE="https://github.com/stedolan/ocaml-afl-persistent" +SRC_URI="https://github.com/stedolan/ocaml-afl-persistent/archive/v${PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/ocaml-${P}" + +LICENSE="MIT" +SLOT="0/${PV}" +KEYWORDS="~amd64" + +RDEPEND="dev-ml/base-unix" +DEPEND="${RDEPEND}" + +src_compile() { + ./build.sh || die +} diff --git a/dev-ml/afl-persistent/metadata.xml b/dev-ml/afl-persistent/metadata.xml new file mode 100644 index 0000000000..f3e866eb3c --- /dev/null +++ b/dev-ml/afl-persistent/metadata.xml @@ -0,0 +1,12 @@ + + + + + co-maintainers welcome + lssndrbarbieri@gmail.com + Alessandro Barbieri + + + stedolan/ocaml-afl-persistent + + diff --git a/dev-ml/alcotest-lwt/Manifest b/dev-ml/alcotest-lwt/Manifest new file mode 100644 index 0000000000..e398922c37 --- /dev/null +++ b/dev-ml/alcotest-lwt/Manifest @@ -0,0 +1 @@ +DIST alcotest-1.4.0.tar.gz 279675 BLAKE2B 3cc50ab37a16948ceca9b5e6aa885fa50bbe0722c6132ed4991fb64c568253d9913287d1b9e5547f59a210d6803e2a83565f02950fb12cb91ed9f8e24d7864c1 SHA512 adb73c8b2be6f47cb406bbc49dba7dc86e990a60e2e68302592a24dcc24e11e76e2aa6fc2f003c1e4fdbb79744df6ab601daff9540cd7b0096ac9f9bff18098c diff --git a/dev-ml/alcotest-lwt/alcotest-lwt-1.4.0.ebuild b/dev-ml/alcotest-lwt/alcotest-lwt-1.4.0.ebuild new file mode 100644 index 0000000000..91ad6de7a0 --- /dev/null +++ b/dev-ml/alcotest-lwt/alcotest-lwt-1.4.0.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit dune multiprocessing + +DESCRIPTION="Lwt-based helpers for Alcotest" +HOMEPAGE="https://github.com/mirage/alcotest" +SRC_URI="https://github.com/mirage/alcotest/archive/${PV}.tar.gz -> alcotest-${PV}.tar.gz" +S="${WORKDIR}/alcotest-${PV}" + +LICENSE="ISC" +SLOT="0/${PV}" +KEYWORDS="~amd64" +IUSE="ocamlopt test" + +RDEPEND=" + dev-ml/fmt:= + dev-ml/alcotest:= + dev-ml/lwt:= + dev-ml/logs:= +" +DEPEND=" + ${RDEPEND} + test? ( + + + + + co-maintainers welcome + lssndrbarbieri@gmail.com + Alessandro Barbieri + + + mirage/alcotest + + diff --git a/dev-ml/angstrom/angstrom-0.15.0-r2.ebuild b/dev-ml/angstrom/angstrom-0.15.0-r2.ebuild index 6ba769617e..b218bce609 100644 --- a/dev-ml/angstrom/angstrom-0.15.0-r2.ebuild +++ b/dev-ml/angstrom/angstrom-0.15.0-r2.ebuild @@ -3,7 +3,7 @@ EAPI=8 -inherit dune +inherit dune multiprocessing DESCRIPTION="Parser combinators built for speed and memory efficiency" HOMEPAGE="https://github.com/inhabitedtype/angstrom" @@ -12,19 +12,31 @@ SRC_URI="https://github.com/inhabitedtype/angstrom/archive/${PV}.tar.gz -> ${P}. LICENSE="BSD" SLOT="0/${PV}" KEYWORDS="~amd64" -IUSE="ocamlopt" +IUSE="async lwt-unix ocamlopt unix" RDEPEND=" - dev-ml/async - dev-ml/base + async? ( dev-ml/async ) + lwt-unix? ( + dev-ml/base + dev-ml/lwt + ) + unix? ( dev-ml/base ) + dev-ml/bigstringaf - dev-ml/lwt " DEPEND="${RDEPEND}" -src_install() { - dune_src_install angstrom-async - dune_src_install angstrom-lwt-unix - dune_src_install angstrom-unix - dune_src_install angstrom +src_compile() { + local pkgs="angstrom" + use async && pkgs="${pkgs},angstrom-async" + use unix && pkgs="${pkgs},angstrom-unix" + use lwt-unix && pkgs="${pkgs},angstrom-lwt-unix" + dune build -p "${pkgs}" -j $(makeopts_jobs) || die +} + +src_install() { + dune_src_install angstrom + use async && dune_src_install angstrom-async + use lwt-unix && dune_src_install angstrom-lwt-unix + use unix && dune_src_install angstrom-unix } diff --git a/dev-ml/angstrom/metadata.xml b/dev-ml/angstrom/metadata.xml index 4ea80d8393..8afdb71fe6 100644 --- a/dev-ml/angstrom/metadata.xml +++ b/dev-ml/angstrom/metadata.xml @@ -9,4 +9,9 @@ inhabitedtype/angstrom + + Async support for Angstrom + Lwt_unix support for Angstrom + Unix support for Angstrom + diff --git a/dev-ml/arp/Manifest b/dev-ml/arp/Manifest new file mode 100644 index 0000000000..54ee27714d --- /dev/null +++ b/dev-ml/arp/Manifest @@ -0,0 +1 @@ +DIST arp-v3.0.0.tbz 19557 BLAKE2B ec424b3d74732a3e01eb9875bd6d5b05e79a1df5449a47120b6942023b0ebcb8597915874b2dde5d9e413410e41e8783c5ec8f7f49743a08fa877e3e94129efe SHA512 52eb9fdb00729a5b6c1d7dd9d14fca213aecddc6e2893c0e670dea3b31576e6765061f557b6521a065ed15a931f4cbbf432b4db8fe53df40dc801695acd242d4 diff --git a/dev-ml/arp/arp-3.0.0.ebuild b/dev-ml/arp/arp-3.0.0.ebuild new file mode 100644 index 0000000000..b8507a44d1 --- /dev/null +++ b/dev-ml/arp/arp-3.0.0.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit dune + +MY_P="${PN}-v${PV}" + +DESCRIPTION="Address resolution protocol (ARP) implementation in OCaml" +HOMEPAGE="https://github.com/mirage/arp" +SRC_URI="https://github.com/mirage/${PN}/releases/download/v${PV}/${MY_P}.tbz" +S="${WORKDIR}/${MY_P}" + +LICENSE="ISC" +SLOT="0/${PV}" +KEYWORDS="~amd64" +IUSE="ocamlopt test" + +RDEPEND=" + dev-ml/cstruct + dev-ml/ipaddr + dev-ml/logs + dev-ml/mirage-time + dev-ml/lwt + dev-ml/duration + dev-ml/mirage-profile + dev-ml/ethernet +" +DEPEND=" + ${RDEPEND} + test? ( + dev-ml/mirage-random + dev-ml/mirage-random-test + dev-ml/alcotest + dev-ml/fmt + dev-ml/mirage-vnetif + dev-ml/mirage-clock + dev-ml/mirage-time[unix] + dev-ml/mirage-flow + ) +" + +RESTRICT="!test? ( test )" diff --git a/dev-ml/arp/metadata.xml b/dev-ml/arp/metadata.xml new file mode 100644 index 0000000000..6aae058a5e --- /dev/null +++ b/dev-ml/arp/metadata.xml @@ -0,0 +1,11 @@ + + + + + lssndrbarbieri@gmail.com + Alessandro Barbieri + + + mirage/arp + + diff --git a/dev-ml/asn1-combinators/Manifest b/dev-ml/asn1-combinators/Manifest new file mode 100644 index 0000000000..1675e1fbd0 --- /dev/null +++ b/dev-ml/asn1-combinators/Manifest @@ -0,0 +1 @@ +DIST asn1-combinators-v0.2.5.tbz 28306 BLAKE2B 0a49a1b3b9340c6992f176ef58c4d19bd7fe73450b9146fb69f6ad5704403be9b9638fb9a8989ba34f04a5bb20b3b1ce31eb58aec60ca759a92db779198855fd SHA512 49767d04129bb842215e57e4efeb79f6fba025ddd67e474d9a3f51625c5101e583208cc0ff6dd69bcbcd4ab415c83b410125c1b9eb66c8cde60132b243b06158 diff --git a/dev-ml/asn1-combinators/asn1-combinators-0.2.5.ebuild b/dev-ml/asn1-combinators/asn1-combinators-0.2.5.ebuild new file mode 100644 index 0000000000..f34293aab6 --- /dev/null +++ b/dev-ml/asn1-combinators/asn1-combinators-0.2.5.ebuild @@ -0,0 +1,30 @@ +# Copyright 2020-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit dune + +MY_P="${PN}-v${PV}" + +DESCRIPTION="Embed typed ASN.1 grammars in OCaml" +HOMEPAGE="https://github.com/mirleft/ocaml-asn1-combinators" +SRC_URI="https://github.com/mirleft/ocaml-${PN}/releases/download/v${PV}/${MY_P}.tbz" +S="${WORKDIR}/${MY_P}" + +LICENSE="ISC" +SLOT="0/${PV}" +KEYWORDS="~amd64" +IUSE="ocamlopt test" + +RDEPEND=" + dev-ml/cstruct + dev-ml/ptime + dev-ml/zarith +" +DEPEND=" + ${RDEPEND} + test? ( dev-ml/alcotest ) +" + +RESTRICT="!test? ( test )" diff --git a/dev-ml/asn1-combinators/metadata.xml b/dev-ml/asn1-combinators/metadata.xml new file mode 100644 index 0000000000..730bfe343c --- /dev/null +++ b/dev-ml/asn1-combinators/metadata.xml @@ -0,0 +1,12 @@ + + + + + co-maintainers welcome + lssndrbarbieri@gmail.com + Alessandro Barbieri + + + mirleft/ocaml-asn1-combinators + + diff --git a/dev-ml/async_find/Manifest b/dev-ml/async_find/Manifest new file mode 100644 index 0000000000..371a96284f --- /dev/null +++ b/dev-ml/async_find/Manifest @@ -0,0 +1 @@ +DIST async_find-0.15.0.tar.gz 5785 BLAKE2B 4186658bb411fe16e27da64aeefa7cfe00c73572241663de82142484da2b88d673097b1248a3eeaf783d5d0550f6bb50a3cf9ee62f4746ea63484e55fb0e028b SHA512 37d46686fd7e4809b859474a10600fb9926d9d573fcdcac1a1f62b3a5eda6503d2d0af400e5fafa3b1698710e2be6b7a0cbba4e988307f36c104eb2aff1e091e diff --git a/dev-ml/async_find/async_find-0.15.0.ebuild b/dev-ml/async_find/async_find-0.15.0.ebuild new file mode 100644 index 0000000000..1df1b9e7ce --- /dev/null +++ b/dev-ml/async_find/async_find-0.15.0.ebuild @@ -0,0 +1,22 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit dune + +DESCRIPTION="Directory traversal with Async" +HOMEPAGE="https://github.com/janestreet/async_find" +SRC_URI="https://github.com/janestreet/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0/${PV}" +KEYWORDS="~amd64" +IUSE="ocamlopt" + +DEPEND=" + dev-ml/async + dev-ml/core + dev-ml/ppx_jane +" +RDEPEND="${DEPEND}" diff --git a/dev-ml/async_find/metadata.xml b/dev-ml/async_find/metadata.xml new file mode 100644 index 0000000000..caace9866f --- /dev/null +++ b/dev-ml/async_find/metadata.xml @@ -0,0 +1,11 @@ + + + + + lssndrbarbieri@gmail.com + Alessandro Barbieri + + + janestreet/async_find + + diff --git a/dev-ml/async_inotify/Manifest b/dev-ml/async_inotify/Manifest new file mode 100644 index 0000000000..30895d12ec --- /dev/null +++ b/dev-ml/async_inotify/Manifest @@ -0,0 +1 @@ +DIST async_inotify-0.15.0.tar.gz 8182 BLAKE2B f1c42be4b2206f7cb330af3fb333ff54a9923350711137d3eeca97231b3babdf73ea296084c213028cbd108071be00f8aaadcfa9b174cedc4ad8f940ea9103c8 SHA512 d3f0d5886ee113ae9e5f9d2440a9fb497eb19c41afb64f8427bcb9c0a5c6b45e176b4570cd3f196ad0f752de1188ed632f89270f57498ab89963df93efa79c02 diff --git a/dev-ml/async_inotify/async_inotify-0.15.0.ebuild b/dev-ml/async_inotify/async_inotify-0.15.0.ebuild new file mode 100644 index 0000000000..0c50d39b0c --- /dev/null +++ b/dev-ml/async_inotify/async_inotify-0.15.0.ebuild @@ -0,0 +1,25 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit dune + +DESCRIPTION="Async wrapper for inotify" +HOMEPAGE="https://github.com/janestreet/async_inotify" +SRC_URI="https://github.com/janestreet/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0/${PV}" +KEYWORDS="~amd64" +IUSE="ocamlopt" + +DEPEND=" + dev-ml/core_unix + dev-ml/async + dev-ml/async_find + dev-ml/core + dev-ml/ppx_jane + dev-ml/inotify +" +RDEPEND="${DEPEND}" diff --git a/dev-ml/async_inotify/metadata.xml b/dev-ml/async_inotify/metadata.xml new file mode 100644 index 0000000000..53514bc6d4 --- /dev/null +++ b/dev-ml/async_inotify/metadata.xml @@ -0,0 +1,11 @@ + + + + + lssndrbarbieri@gmail.com + Alessandro Barbieri + + + janestreet/async_inotify + + diff --git a/dev-ml/async_ssl/Manifest b/dev-ml/async_ssl/Manifest new file mode 100644 index 0000000000..811725b72d --- /dev/null +++ b/dev-ml/async_ssl/Manifest @@ -0,0 +1 @@ +DIST async_ssl-0.14.0.tar.gz 40338 BLAKE2B eb673f30d7374b539b37c84ba88e0daf8eeeacc93b278a44177a433cb8b336a843cc05e6033ec8ee831ec1c28fc243c8019a82bd495e96a1e54dfd47a3d10b13 SHA512 89397d0066444cbfdd3d4d27942ff04b3adbe2a9cf11427795fcf59127908c94f88c1575f395aa74eee49abb5be2e86940a88945dda6435fb81165bd58b789a7 diff --git a/dev-ml/async_ssl/async_ssl-0.14.0-r1.ebuild b/dev-ml/async_ssl/async_ssl-0.14.0-r1.ebuild new file mode 100644 index 0000000000..159de29b5f --- /dev/null +++ b/dev-ml/async_ssl/async_ssl-0.14.0-r1.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit dune + +DESCRIPTION="An Async-pipe-based interface with OpenSSL" +HOMEPAGE="https://github.com/janestreet/async_ssl" +SRC_URI="https://github.com/janestreet/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0/${PV}" +KEYWORDS="~amd64" +IUSE="ocamlopt" + +RDEPEND=" + dev-libs/openssl:0= + dev-ml/async + dev-ml/base + dev-ml/core + dev-ml/ppx_jane + dev-ml/stdio + dev-ml/ocaml-ctypes + dev-ml/dune-configurator +" +DEPEND="${RDEPEND}" diff --git a/dev-ml/async_ssl/metadata.xml b/dev-ml/async_ssl/metadata.xml new file mode 100644 index 0000000000..0c01f14467 --- /dev/null +++ b/dev-ml/async_ssl/metadata.xml @@ -0,0 +1,12 @@ + + + + + co-maintainers welcome + lssndrbarbieri@gmail.com + Alessandro Barbieri + + + janestreet/async_ssl + + diff --git a/dev-ml/base-bytes/base-bytes-0.ebuild b/dev-ml/base-bytes/base-bytes-0.ebuild new file mode 100644 index 0000000000..aa5c680186 --- /dev/null +++ b/dev-ml/base-bytes/base-bytes-0.ebuild @@ -0,0 +1,13 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="Bytes library distributed with the OCaml compiler" +HOMEPAGE="https://opam.ocaml.org/packages/base-bytes/" + +LICENSE="QPL-1.0 LGPL-2" +KEYWORDS="~amd64" +SLOT="0" + +RDEPEND="dev-lang/ocaml" diff --git a/dev-ml/base-bytes/metadata.xml b/dev-ml/base-bytes/metadata.xml new file mode 100644 index 0000000000..d2b2c8ce9f --- /dev/null +++ b/dev-ml/base-bytes/metadata.xml @@ -0,0 +1,9 @@ + + + + + co-maintainers welcome + lssndrbarbieri@gmail.com + Alessandro Barbieri + + diff --git a/dev-ml/base-threads/base-threads-0.ebuild b/dev-ml/base-threads/base-threads-0.ebuild new file mode 100644 index 0000000000..2a29308498 --- /dev/null +++ b/dev-ml/base-threads/base-threads-0.ebuild @@ -0,0 +1,13 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="Threads library distributed with the OCaml compiler" +HOMEPAGE="https://opam.ocaml.org/packages/base-threads/" + +LICENSE="QPL-1.0 LGPL-2" +KEYWORDS="~amd64" +SLOT="0" + +RDEPEND="dev-lang/ocaml" diff --git a/dev-ml/base-threads/metadata.xml b/dev-ml/base-threads/metadata.xml new file mode 100644 index 0000000000..d2b2c8ce9f --- /dev/null +++ b/dev-ml/base-threads/metadata.xml @@ -0,0 +1,9 @@ + + + + + co-maintainers welcome + lssndrbarbieri@gmail.com + Alessandro Barbieri + + diff --git a/dev-ml/base-unix/base-unix-0.ebuild b/dev-ml/base-unix/base-unix-0.ebuild new file mode 100644 index 0000000000..731234eb77 --- /dev/null +++ b/dev-ml/base-unix/base-unix-0.ebuild @@ -0,0 +1,13 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="Unix library distributed with the OCaml compiler" +HOMEPAGE="https://opam.ocaml.org/packages/base-unix/" + +LICENSE="QPL-1.0 LGPL-2" +KEYWORDS="~amd64" +SLOT="0" + +RDEPEND="dev-lang/ocaml" diff --git a/dev-ml/base-unix/metadata.xml b/dev-ml/base-unix/metadata.xml new file mode 100644 index 0000000000..d2b2c8ce9f --- /dev/null +++ b/dev-ml/base-unix/metadata.xml @@ -0,0 +1,9 @@ + + + + + co-maintainers welcome + lssndrbarbieri@gmail.com + Alessandro Barbieri + + diff --git a/dev-ml/bheap/bheap-2.0.0.ebuild b/dev-ml/bheap/bheap-2.0.0.ebuild index ac26321080..e4f6753027 100644 --- a/dev-ml/bheap/bheap-2.0.0.ebuild +++ b/dev-ml/bheap/bheap-2.0.0.ebuild @@ -12,7 +12,12 @@ SRC_URI="https://github.com/backtracking/${PN}/releases/download/${PV}/${P}.tbz" LICENSE="LGPL-2.1-with-linking-exception" SLOT="0/${PV}" KEYWORDS="~amd64" -IUSE="ocamlopt" +IUSE="ocamlopt test" -DEPEND="" -RDEPEND="${DEPEND}" +RDEPEND="" +DEPEND=" + ${RDEPEND} + test? ( dev-ml/stdlib-shims ) +" + +RESTRICT="!test? ( test )" diff --git a/dev-ml/bigstringaf/Manifest b/dev-ml/bigstringaf/Manifest index edfd935034..10c09f4724 100644 --- a/dev-ml/bigstringaf/Manifest +++ b/dev-ml/bigstringaf/Manifest @@ -1 +1,2 @@ DIST bigstringaf-0.7.0.tar.gz 11896 BLAKE2B 4bc94264865cc7d90def66930dc76264169b14f907094cdc9e25222f308163df3384a2c1a4d9a5b278fe4f9a433bf96b75fbf791d1255ce7dec582decbfd7951 SHA512 ea0827eaa37b053c1a1756ed38f059209e85fbf7d3e19ed97de587416a9717e77c5b1017afa307e9eee938c18b4ef7cb6ff4adea683d5a9b8430358b4096b960 +DIST bigstringaf-0.9.0.tar.gz 12431 BLAKE2B 12024a32d5ae9f3a5bdda223218abb8957519ebc70998ba34ebe841ef560d44d27f5b60413c88ca873fdf1a2a35ea08a3fafba00073c6cba26fe32237b3a56cf SHA512 c5148d967beef15bba21a706009cb8443fe6afd76b949d6a6bcf4fc6c6d410bd0ca4c86b4ef6897cad73c51449e5387ee0173347b8d43c49f1a62024a8aa4db5 diff --git a/dev-ml/bigstringaf/bigstringaf-0.7.0.ebuild b/dev-ml/bigstringaf/bigstringaf-0.7.0.ebuild index f470ee8149..b44bf3d781 100644 --- a/dev-ml/bigstringaf/bigstringaf-0.7.0.ebuild +++ b/dev-ml/bigstringaf/bigstringaf-0.7.0.ebuild @@ -12,9 +12,12 @@ SRC_URI="https://github.com/inhabitedtype/bigstringaf/archive/${PV}.tar.gz -> ${ LICENSE="BSD" SLOT="0/${PV}" KEYWORDS="~amd64" -IUSE="ocamlopt" +IUSE="ocamlopt test" +RDEPEND="dev-ml/bigarray-compat" DEPEND=" - dev-ml/bigarray-compat + ${RDEPEND} + test? ( dev-ml/alcotest ) " -RDEPEND="${DEPEND}" + +RESTRICT="!test? ( test )" diff --git a/dev-ml/bigstringaf/bigstringaf-0.9.0.ebuild b/dev-ml/bigstringaf/bigstringaf-0.9.0.ebuild new file mode 100644 index 0000000000..92e8ca7323 --- /dev/null +++ b/dev-ml/bigstringaf/bigstringaf-0.9.0.ebuild @@ -0,0 +1,23 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit dune + +DESCRIPTION="Bigstring intrinsics and fast blits based on memcpy/memmove" +HOMEPAGE="https://github.com/inhabitedtype/bigstringaf" +SRC_URI="https://github.com/inhabitedtype/bigstringaf/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64" +IUSE="ocamlopt test" + +RDEPEND=">=dev-lang/ocaml-4.08.0" +DEPEND=" + ${RDEPEND} + test? ( dev-ml/alcotest ) +" + +RESTRICT="!test? ( test )" diff --git a/dev-ml/ca-certs-nss/Manifest b/dev-ml/ca-certs-nss/Manifest new file mode 100644 index 0000000000..351c66d8e5 --- /dev/null +++ b/dev-ml/ca-certs-nss/Manifest @@ -0,0 +1 @@ +DIST ca-certs-nss-3.74.tbz 228309 BLAKE2B f90ba922b08c2fd22a527ef96f145b6e7ff108fe7d5cdfe877a962ad272fafb7761c9ed9e2364251d4f3e2f81d281bb2909551b95d69943eb57f121b4be6b2ad SHA512 42ae429ae32047959adc6d107e37e5608b4bca7484efc2b71ee9e319e639639f3f663f1d8528538aecf10584b1839f002e0e6c7602900b600a129ff56cf30fa5 diff --git a/dev-ml/ca-certs-nss/ca-certs-nss-3.74.ebuild b/dev-ml/ca-certs-nss/ca-certs-nss-3.74.ebuild new file mode 100644 index 0000000000..35e0501492 --- /dev/null +++ b/dev-ml/ca-certs-nss/ca-certs-nss-3.74.ebuild @@ -0,0 +1,32 @@ +# Copyright 2020-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit dune + +DESCRIPTION="X.509 trust anchors extracted from Mozilla's NSS" +HOMEPAGE="https://github.com/mirage/ca-certs-nss" +SRC_URI="https://github.com/mirage/${PN}/releases/download/v${PV}/${P}.tbz" + +LICENSE="BSD-2" +SLOT="0/${PV}" +KEYWORDS="~amd64" +IUSE="ocamlopt test" + +RDEPEND=" + dev-ml/mirage-crypto + dev-ml/mirage-clock + dev-ml/x509 +" +DEPEND=" + ${RDEPEND} + dev-ml/logs + dev-ml/fmt + dev-ml/bos + dev-ml/astring + dev-ml/cmdliner + dev-ml/alcotest +" + +RESTRICT="!test? ( test )" diff --git a/dev-ml/ca-certs-nss/metadata.xml b/dev-ml/ca-certs-nss/metadata.xml new file mode 100644 index 0000000000..236246213e --- /dev/null +++ b/dev-ml/ca-certs-nss/metadata.xml @@ -0,0 +1,11 @@ + + + + + lssndrbarbieri@gmail.com + Alessandro Barbieri + + + mirage/ca-certs-nss + + diff --git a/dev-ml/ca-certs/Manifest b/dev-ml/ca-certs/Manifest new file mode 100644 index 0000000000..c90323a187 --- /dev/null +++ b/dev-ml/ca-certs/Manifest @@ -0,0 +1 @@ +DIST ca-certs-v0.2.1.tbz 26566 BLAKE2B e48c5230501ba790acb5abf078c0a3e3eb26da7a7ba946c001d2c37b8d45952ebc1e8fa7f4ee033e944e18cb9dbe1598be336d29b41e4f04d74006b6d790f319 SHA512 5b337812047e75b97218d0fc28d13dd37c8aebe2672954679884d3eb3ddda59c9678aea2a66dd66def4b2eb0a6b9e25812a95a5e8cae47c074759b2e9ff7a3c9 diff --git a/dev-ml/ca-certs/ca-certs-0.2.1.ebuild b/dev-ml/ca-certs/ca-certs-0.2.1.ebuild new file mode 100644 index 0000000000..f7cb302e85 --- /dev/null +++ b/dev-ml/ca-certs/ca-certs-0.2.1.ebuild @@ -0,0 +1,37 @@ +# Copyright 2020-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit dune + +MY_P="${PN}-v${PV}" + +DESCRIPTION="Detect root CA certificates from the operating system" +HOMEPAGE="https://github.com/mirage/ca-certs" +SRC_URI="https://github.com/mirage/${PN}/releases/download/v${PV}/${MY_P}.tbz" +S="${WORKDIR}/${MY_P}" + +LICENSE="ISC" +SLOT="0/${PV}" +KEYWORDS="~amd64" +IUSE="ocamlopt test" + +RDEPEND=" + dev-ml/astring + dev-ml/bos + dev-ml/fpath + dev-ml/ptime + dev-ml/logs + dev-ml/mirage-crypto + dev-ml/x509 +" +DEPEND=" + ${RDEPEND} + test? ( + dev-ml/alcotest + dev-ml/fmt + ) +" + +RESTRICT="!test? ( test )" diff --git a/dev-ml/ca-certs/metadata.xml b/dev-ml/ca-certs/metadata.xml new file mode 100644 index 0000000000..0ecf89340e --- /dev/null +++ b/dev-ml/ca-certs/metadata.xml @@ -0,0 +1,12 @@ + + + + + co-maintainers welcome + lssndrbarbieri@gmail.com + Alessandro Barbieri + + + mirage/ca-certs + + diff --git a/dev-ml/cdrom/Manifest b/dev-ml/cdrom/Manifest new file mode 100644 index 0000000000..753c7d32ce --- /dev/null +++ b/dev-ml/cdrom/Manifest @@ -0,0 +1 @@ +DIST cdrom-0.9.4.tar.gz 13081 BLAKE2B 7021464d9a3b8009cb915b2481364975f5446ff1b0ca62a44758db1804bc9a166ee52f50b93098ead3dbb7cf5fd413570dc985e8ae78574ba6a223c056bf3e66 SHA512 7b641062dbe7b0407348fec1f8d595a41bddeb7e566c93ea569a64349e08d13cb824edd7c8a63e68680897aca4811df696b131aba56701da547497743a601f68 diff --git a/dev-ml/cdrom/cdrom-0.9.4.ebuild b/dev-ml/cdrom/cdrom-0.9.4.ebuild new file mode 100644 index 0000000000..ba6d2086eb --- /dev/null +++ b/dev-ml/cdrom/cdrom-0.9.4.ebuild @@ -0,0 +1,18 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit dune + +DESCRIPTION="Query the state and contents of CDROM devices under Linux" +HOMEPAGE="https://github.com/xapi-project/cdrom" +SRC_URI="https://github.com/xapi-project/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="LGPL-2.1-with-linking-exception" +SLOT="0/${PV}" +KEYWORDS="~amd64" +IUSE="ocamlopt" + +DEPEND="" +RDEPEND="${DEPEND}" diff --git a/dev-ml/cdrom/metadata.xml b/dev-ml/cdrom/metadata.xml new file mode 100644 index 0000000000..cb2143979a --- /dev/null +++ b/dev-ml/cdrom/metadata.xml @@ -0,0 +1,11 @@ + + + + + lssndrbarbieri@gmail.com + Alessandro Barbieri + + + xapi-project/cdrom + + diff --git a/dev-ml/cohttp/Manifest b/dev-ml/cohttp/Manifest new file mode 100644 index 0000000000..7547e650c8 --- /dev/null +++ b/dev-ml/cohttp/Manifest @@ -0,0 +1 @@ +DIST ocaml-cohttp-5.0.0.tar.gz 134016 BLAKE2B 0377bf6e9e355eb8bd27156ba95b3174aee2e9e0e2f66622bfcb9fbf15c7c2ae3fa2ac279134307260b07419887f30935e5d28c4750463eb7720ad022acbc5f2 SHA512 32f9c4cd3e3eda65a74ef01cfd1336f6a7fac30d8dde6b97b6452b887002b26ed54cb92e8abefb236486447742857f9eb712388fbd1ffd69d06d0a7698049458 diff --git a/dev-ml/cohttp/cohttp-5.0.0.ebuild b/dev-ml/cohttp/cohttp-5.0.0.ebuild new file mode 100644 index 0000000000..767e429e4b --- /dev/null +++ b/dev-ml/cohttp/cohttp-5.0.0.ebuild @@ -0,0 +1,151 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit dune multiprocessing + +DESCRIPTION="Very lightweight HTTP server using Lwt or Async" +HOMEPAGE="https://github.com/mirage/ocaml-cohttp" +SRC_URI="https://github.com/mirage/ocaml-cohttp/archive/v${PV}.tar.gz -> ocaml-cohttp-${PV}.tar.gz" +S="${WORKDIR}/ocaml-cohttp-${PV}" + +LICENSE="ISC" +SLOT="0/${PV}" +KEYWORDS="~amd64" +IUSE="async bench curl curl-async curl-lwt lwt lwt-jsoo lwt-unix mirage ocamlopt server-lwt-unix test top" + +RDEPEND=" + async? ( + dev-ml/async + dev-ml/async_kernel + dev-ml/async_unix + dev-ml/base + dev-ml/core_unix + dev-ml/conduit[async] + dev-ml/fmt + dev-ml/ipaddr + dev-ml/logs + dev-ml/magic-mime + dev-ml/mirage-crypto + ) + bench? ( + dev-ml/core + dev-ml/core_bench + ) + curl-async? ( + dev-ml/async_kernel + dev-ml/async_unix + dev-ml/core_kernel + dev-ml/ocurl + ) + curl? ( dev-ml/ocurl ) + curl-lwt? ( + dev-ml/lwt + dev-ml/ocurl + ) + lwt? ( + dev-ml/logs + dev-ml/lwt + dev-ml/ppx_sexp_conv + ) + lwt-jsoo? ( + dev-ml/js_of_ocaml[lwt,ppx] + dev-ml/logs + dev-ml/lwt + ) + lwt-unix? ( + dev-ml/base-unix + dev-ml/cmdliner + dev-ml/conduit[lwt,lwt-unix] + dev-ml/fmt + dev-ml/logs + dev-ml/lwt + dev-ml/magic-mime + dev-ml/ppx_sexp_conv + ) + mirage? ( + dev-ml/astring + dev-ml/conduit[mirage] + dev-ml/fmt + dev-ml/lwt + dev-ml/magic-mime + dev-ml/mirage-channel + dev-ml/mirage-flow + dev-ml/mirage-kv + dev-ml/ppx_sexp_conv + ) + server-lwt-unix? ( + dev-ml/lwt + ) + + dev-ml/ocaml-base64 + dev-ml/re + dev-ml/sexplib0 + dev-ml/stringext + dev-ml/uri[sexp] +" +DEPEND=" + ${RDEPEND} + test? ( + dev-ml/alcotest + dev-ml/base_quickcheck + dev-ml/ppx_assert + dev-ml/ppx_sexp_conv + dev-ml/ppx_compare + dev-ml/ppx_here + dev-ml/core + dev-ml/core_bench + dev-ml/crowbar + dev-ml/fmt + dev-ml/conduit[lwt,lwt-unix] + dev-ml/ounit + dev-ml/lwt + net-libs/nodejs[npm] + dev-ml/mirage-crypto + ) +" + +RESTRICT="!test? ( test )" +REQUIRED_USE=" + bench? ( async lwt-unix server-lwt-unix ) + curl-lwt? ( curl ) + lwt-jsoo? ( lwt ) + lwt-unix? ( lwt ) + mirage? ( lwt ) + server-lwt-unix? ( lwt ) + test? ( async curl-async curl-lwt lwt-jsoo lwt-unix lwt ) +" + +src_compile() { +# local pkgs="http,cohttp" + local pkgs="cohttp" + use async && pkgs="${pkgs},cohttp-async" + use bench && pkgs="${pkgs},cohttp-bench" + use curl-async && pkgs="${pkgs},cohttp-curl-async" + use curl-lwt && pkgs="${pkgs},cohttp-curl-lwt" + use curl && pkgs="${pkgs},cohttp-curl" + use lwt-jsoo && pkgs="${pkgs},cohttp-lwt-jsoo" + use lwt-unix && pkgs="${pkgs},cohttp-lwt-unix" + use lwt && pkgs="${pkgs},cohttp-lwt" + use mirage && pkgs="${pkgs},cohttp-mirage" + use server-lwt-unix && pkgs="${pkgs},cohttp-server-lwt-unix" + use top && pkgs="${pkgs},cohttp-top" + dune build -p "${pkgs}" -j $(makeopts_jobs) || die +} + +src_install() { +# dune_src_install http + dune_src_install cohttp + use async && dune_src_install cohttp-async + use bench && dune_src_install cohttp-bench + use curl-async && dune_src_install cohttp-curl-async + use curl-lwt && dune_src_install cohttp-curl-lwt + use curl && dune_src_install cohttp-curl + use lwt-jsoo && dune_src_install cohttp-lwt-jsoo + use lwt-unix && dune_src_install cohttp-lwt-unix + use lwt && dune_src_install cohttp-lwt + use mirage && dune_src_install cohttp-mirage + use server-lwt-unix && dune_src_install cohttp-server-lwt-unix + use top && dune_src_install cohttp-top +} diff --git a/dev-ml/cohttp/metadata.xml b/dev-ml/cohttp/metadata.xml new file mode 100644 index 0000000000..49177d5b3c --- /dev/null +++ b/dev-ml/cohttp/metadata.xml @@ -0,0 +1,25 @@ + + + + + co-maintainers welcome + lssndrbarbieri@gmail.com + Alessandro Barbieri + + + mirage/ocaml-cohttp + + + CoHTTP implementation for the Async concurrency library + Benchmarks binaries for Cohttp + Cohttp client using Curl and Async as the backend + Cohttp client using Curl and Lwt as the backend + Shared code between the individual cohttp-curl clients + CoHTTP implementation for the Js_of_ocaml JavaScript compiler + CoHTTP implementation for Unix and Windows using Lwt + CoHTTP implementation using the Lwt concurrency library + CoHTTP implementation for the MirageOS unikernel + Lightweight Cohttp plus Lwt based HTTP server + CoHTTP toplevel pretty printers for HTTP types + + diff --git a/dev-ml/conduit/Manifest b/dev-ml/conduit/Manifest new file mode 100644 index 0000000000..a337b00fca --- /dev/null +++ b/dev-ml/conduit/Manifest @@ -0,0 +1 @@ +DIST conduit-5.1.0.tar.gz 41320 BLAKE2B 224201539d7947128c7eeb4d25b95324b8b3ec176ad13593841edd4f131aa6b4f089547d054d1280285d3554cd54c36c0654111204d7443b1f0e66d8de7a50d2 SHA512 5308803f4653d30399b1549cd4f27d0132b2f0202cc626cd1344620684bd8a7e08b8de1887cad73a0eba4c677946192aa05199bce8c0844fecf3695338156b09 diff --git a/dev-ml/conduit/conduit-5.1.0.ebuild b/dev-ml/conduit/conduit-5.1.0.ebuild new file mode 100644 index 0000000000..cb35f131df --- /dev/null +++ b/dev-ml/conduit/conduit-5.1.0.ebuild @@ -0,0 +1,84 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit dune multiprocessing + +MYPN="ocaml-${PN}" + +DESCRIPTION="Dereference URIs into communication channels for Async or Lwt" +HOMEPAGE="https://github.com/mirage/ocaml-conduit" +SRC_URI="https://github.com/mirage/${MYPN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/${MYPN}-${PV}" + +LICENSE="ISC" +SLOT="0/${PV}" +KEYWORDS="~amd64" +IUSE="async lwt lwt-unix mirage ocamlopt" + +# lwt-unix? tls lwt_ssl launchd +RDEPEND=" + dev-ml/astring + dev-ml/ipaddr[sexp] + dev-ml/logs + dev-ml/ppx_sexp_conv + dev-ml/sexplib + dev-ml/uri + + async? ( + dev-ml/async + dev-ml/async_ssl + dev-ml/core + dev-ml/ppx_here + ) + lwt? ( + dev-ml/base-unix + dev-ml/lwt + ) + lwt-unix? ( + dev-ml/base-unix + dev-ml/ca-certs + dev-ml/lwt + ) + mirage? ( + dev-ml/base + dev-ml/ca-certs-nss + dev-ml/cstruct + dev-ml/dns[client] + dev-ml/fmt + dev-ml/mirage-clock + dev-ml/mirage-flow[combinators] + dev-ml/mirage-random + dev-ml/mirage-time + dev-ml/tcpip + dev-ml/tls[mirage] + dev-ml/vchan + dev-ml/xenstore + ) +" +DEPEND="${RDEPEND}" + +REQUIRED_USE=" + lwt-unix? ( lwt ) + mirage? ( lwt ) +" + +src_compile() { + local pkgs="conduit" + for u in async lwt lwt-unix mirage ; do + if use ${u} ; then + pkgs="${pkgs},conduit-${u}" + fi + done + dune build -p "${pkgs}" -j $(makeopts_jobs) || die +} + +src_install() { + dune_src_install conduit + for u in async lwt lwt-unix mirage ; do + if use ${u} ; then + dune_src_install "conduit-${u}" + fi + done +} diff --git a/dev-ml/conduit/metadata.xml b/dev-ml/conduit/metadata.xml new file mode 100644 index 0000000000..818fe748bb --- /dev/null +++ b/dev-ml/conduit/metadata.xml @@ -0,0 +1,17 @@ + + + + + lssndrbarbieri@gmail.com + Alessandro Barbieri + + + mirage/ocaml-conduit + + + A network connection establishment library for Async + A portable network connection establishment library using Lwt + A network connection establishment library for Lwt_unix + A network connection establishment library for MirageOS + + diff --git a/dev-ml/configurator/Manifest b/dev-ml/configurator/Manifest new file mode 100644 index 0000000000..1f11339a65 --- /dev/null +++ b/dev-ml/configurator/Manifest @@ -0,0 +1 @@ +DIST configurator-0.11.0.tar.gz 10567 BLAKE2B 52d529233baa95ce00347d7e43a85127faefcaa2731c61d0c4b2e3e6314c7aa4a6ac6367ca57f6b846223af3d555309420f11c1e8240a93bbadce37157cfc52f SHA512 0163b8af41fb3b3b6f395bc507077c9a1043432e809c5a76dff929c51cbf9ab7df5de6f9c275ce2cda06314bc93bc58b0cad0a58512ce71a9e7722c5bd617102 diff --git a/dev-ml/configurator/configurator-0.11.0.ebuild b/dev-ml/configurator/configurator-0.11.0.ebuild new file mode 100644 index 0000000000..c8859268c4 --- /dev/null +++ b/dev-ml/configurator/configurator-0.11.0.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit dune multiprocessing + +DESCRIPTION="Helper library for gathering system configuration" +HOMEPAGE="https://github.com/janestreet/configurator" +SRC_URI="https://github.com/janestreet/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0/${PV}" +KEYWORDS="~amd64" +IUSE="ocamlopt" + +RDEPEND=" + dev-ml/stdio + dev-ml/base +" +DEPEND="${RDEPEND}" + +src_compile() { + dune upgrade || die + dune build -p configurator -j $(makeopts_jobs) @install || die +} + +src_install() { + dune_src_install configurator +} diff --git a/dev-ml/configurator/metadata.xml b/dev-ml/configurator/metadata.xml new file mode 100644 index 0000000000..666c314ee5 --- /dev/null +++ b/dev-ml/configurator/metadata.xml @@ -0,0 +1,11 @@ + + + + + lssndrbarbieri@gmail.com + Alessandro Barbieri + + + janestreet/configurator + + diff --git a/dev-ml/core_unix/Manifest b/dev-ml/core_unix/Manifest new file mode 100644 index 0000000000..a9bdefb0ff --- /dev/null +++ b/dev-ml/core_unix/Manifest @@ -0,0 +1 @@ +DIST core_unix-0.14.0.tar.gz 6694 BLAKE2B 6ee13ca55de516962590066b81d5f8bfc058a05d18b26a014decaec92ace7ba699c12a203c0ca4b1381d69f218f3c428eed08df00e25e5b1615e748b30c4d841 SHA512 d020db759cde35c0e9d9919dee2c0ea5bb5b7a5ee75515be922d816f28eb9f74dba37e6e424a636e362eab5120b2c1e672f4e5ba798f2dac7974c0e135f80faf diff --git a/dev-ml/core_unix/core_unix-0.14.0.ebuild b/dev-ml/core_unix/core_unix-0.14.0.ebuild new file mode 100644 index 0000000000..b1c2cdfd22 --- /dev/null +++ b/dev-ml/core_unix/core_unix-0.14.0.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit dune + +DESCRIPTION="Unix-specific extensions to some of the modules defined in [core] and [core_kernel]" +HOMEPAGE="https://github.com/janestreet/core_unix" +SRC_URI="https://github.com/janestreet/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0/${PV}" +KEYWORDS="~amd64" +IUSE="ocamlopt" + +RDEPEND=" + dev-ml/core_kernel + dev-ml/expect_test_helpers_core + dev-ml/core + dev-ml/ppx_jane + dev-ml/jane-street-headers + dev-ml/jst-config + dev-ml/ocaml_intrinsics + dev-ml/sexplib + dev-ml/timezone + dev-ml/base-threads + dev-ml/spawn +" +DEPEND=" + ${RDEPEND} + sys-kernel/linux-headers +" diff --git a/dev-ml/core_unix/metadata.xml b/dev-ml/core_unix/metadata.xml new file mode 100644 index 0000000000..8551609050 --- /dev/null +++ b/dev-ml/core_unix/metadata.xml @@ -0,0 +1,11 @@ + + + + + lssndrbarbieri@gmail.com + Alessandro Barbieri + + + janestreet/core_unix + + diff --git a/dev-ml/crc/Manifest b/dev-ml/crc/Manifest new file mode 100644 index 0000000000..b7c99024c3 --- /dev/null +++ b/dev-ml/crc/Manifest @@ -0,0 +1 @@ +DIST crc-2.1.0.tar.gz 6889 BLAKE2B 10ef45c0c66bea7fcc13d177d23efa28862b79650529791f95867dc203e671cdc60f8b138d74bdd1f02c96ebf4bb67c02ab7cfd39197b9bc387652af76b75bab SHA512 136370780a6ae020d596aa5f16133a7038beaa41bf770153e789ab4a1aa678d36b646b8c9ba81a642d1e6c067e3999dd84d81bccc3245ba9798c75b7ff7396a8 diff --git a/dev-ml/crc/crc-2.1.0.ebuild b/dev-ml/crc/crc-2.1.0.ebuild new file mode 100644 index 0000000000..c2ffd4341b --- /dev/null +++ b/dev-ml/crc/crc-2.1.0.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit dune + +MYPN="ocaml-${PN}" + +DESCRIPTION="Library for finding the CRC of parts of various kinds of data in-place" +HOMEPAGE="https://github.com/xapi-project/ocaml-crc" +SRC_URI="https://github.com/xapi-project/${MYPN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/${MYPN}-${PV}" + +LICENSE="ISC" +SLOT="0/${PV}" +KEYWORDS="~amd64" +IUSE="ocamlopt test" + +DEPEND=" + dev-ml/cstruct + dev-ml/rpc + dev-ml/ppx_sexp_conv +" +RDEPEND=" + ${DEPEND} + test? ( dev-ml/ounit ) +" + +RESTRICT="!test? ( test )" diff --git a/dev-ml/crc/metadata.xml b/dev-ml/crc/metadata.xml new file mode 100644 index 0000000000..7853df327d --- /dev/null +++ b/dev-ml/crc/metadata.xml @@ -0,0 +1,11 @@ + + + + + lssndrbarbieri@gmail.com + Alessandro Barbieri + + + xapi-project/ocaml-crc + + diff --git a/dev-ml/crowbar/Manifest b/dev-ml/crowbar/Manifest new file mode 100644 index 0000000000..3bcaf02c21 --- /dev/null +++ b/dev-ml/crowbar/Manifest @@ -0,0 +1 @@ +DIST crowbar-0.2.1.tar.gz 16921 BLAKE2B 374980856366dcee94b61705057e475709e7c939655831ea62d0bfaec885875ec329c1c9a2b629123fe452efb2b3bb1324e0e05e3926d641beef44029713dc1c SHA512 7c148143412766f8a65d001f833d859235acb008c4f0403753fdc6ef6d5f5933b6213ecca326bf1edc3a43405c755975d8ab4e4459f90ee5088678592eae3e43 diff --git a/dev-ml/crowbar/crowbar-0.2.1.ebuild b/dev-ml/crowbar/crowbar-0.2.1.ebuild new file mode 100644 index 0000000000..fa3a7d8dfe --- /dev/null +++ b/dev-ml/crowbar/crowbar-0.2.1.ebuild @@ -0,0 +1,34 @@ +# Copyright 2020-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit dune + +DESCRIPTION="Write tests, let a fuzzer find failing cases" +HOMEPAGE="https://github.com/stedolan/crowbar" +SRC_URI="https://github.com/stedolan/crowbar/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0/${PV}" +KEYWORDS="~amd64" +IUSE="ocamlopt test" + +RDEPEND=" + dev-ml/afl-persistent:= + >=dev-ml/cmdliner-1.1.0:= + dev-ml/ocplib-endian:= +" +DEPEND=" + ${DEPEND} + test? ( + dev-ml/calendar + dev-ml/fpath + dev-ml/pprint + dev-ml/uucp + dev-ml/uunf + dev-ml/uutf + ) +" + +RESTRICT="!test? ( test )" diff --git a/dev-ml/crowbar/metadata.xml b/dev-ml/crowbar/metadata.xml new file mode 100644 index 0000000000..ef71756ba3 --- /dev/null +++ b/dev-ml/crowbar/metadata.xml @@ -0,0 +1,12 @@ + + + + + co-maintainers welcome + lssndrbarbieri@gmail.com + Alessandro Barbieri + + + stedolan/crowbar + + diff --git a/dev-ml/cstruct/Manifest b/dev-ml/cstruct/Manifest index 2ad60d23e5..62c35a90cf 100644 --- a/dev-ml/cstruct/Manifest +++ b/dev-ml/cstruct/Manifest @@ -1 +1 @@ -DIST ocaml-ctruct-6.0.1.tar.gz 243082 BLAKE2B 874ba34583bbc8b53c5b50ba038e2aa423fd704711194dcf99899239015d5fb383242b1d4654c1be2705fd80465e6da7e8eaa5265eceebca7b09dc036d4ebf40 SHA512 2f696b9dca1426d57f60fd4e997ee0c89b1af1a49e186e08c16911ceb03e9f89518a63faf4407b4a7e3c5f391d51979019e47a77f33961624d767a9e36146ca4 +DIST cstruct-6.0.1.tar.gz 243082 BLAKE2B 874ba34583bbc8b53c5b50ba038e2aa423fd704711194dcf99899239015d5fb383242b1d4654c1be2705fd80465e6da7e8eaa5265eceebca7b09dc036d4ebf40 SHA512 2f696b9dca1426d57f60fd4e997ee0c89b1af1a49e186e08c16911ceb03e9f89518a63faf4407b4a7e3c5f391d51979019e47a77f33961624d767a9e36146ca4 diff --git a/dev-ml/cstruct/cstruct-6.0.1.ebuild b/dev-ml/cstruct/cstruct-6.0.1.ebuild index b6db64c461..4c1a41d623 100644 --- a/dev-ml/cstruct/cstruct-6.0.1.ebuild +++ b/dev-ml/cstruct/cstruct-6.0.1.ebuild @@ -3,35 +3,73 @@ EAPI=8 -inherit dune +inherit dune multiprocessing DESCRIPTION="Map OCaml arrays onto C-like structs" HOMEPAGE="https://github.com/mirage/ocaml-cstruct" -SRC_URI="https://github.com/mirage/ocaml-cstruct/archive/v${PV}.tar.gz -> ocaml-ctruct-${PV}.tar.gz" -S="${WORKDIR}/ocaml-cstruct-${PV}" +SRC_URI="https://github.com/mirage/ocaml-cstruct/archive/v${PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/ocaml-${P}" LICENSE="ISC" SLOT="0/${PV}" KEYWORDS="~amd64" -IUSE="ocamlopt" +IUSE="async lwt ocamlopt ppx sexp test unix" RDEPEND=" - >=dev-lang/ocaml-4.08.0 - >=dev-ml/fmt-0.8.9 - dev-ml/async - dev-ml/async_unix - dev-ml/core - dev-ml/lwt - dev-ml/sexplib - dev-ml/ppxlib + >=dev-lang/ocaml-4.08.0:=[ocamlopt?] + >=dev-ml/fmt-0.8.9:= + + async? ( + dev-ml/async:= + dev-ml/async_unix:= + dev-ml/core:= + ) + lwt? ( + dev-ml/base-unix:= + dev-ml/lwt:= + ) + ppx? ( + dev-ml/ppxlib:= + dev-ml/stdlib-shims:= + ) + sexp? ( dev-ml/sexplib:= ) + unix? ( dev-ml/base-unix:= ) " -DEPEND="${RDEPEND}" +DEPEND=" + ${RDEPEND} + test? ( + dev-ml/alcotest + dev-ml/crowbar + dev-ml/ocaml-migrate-parsetree + dev-ml/ounit + dev-ml/ppx_sexp_conv + dev-ml/cppo + dev-ml/lwt + ) +" + +RESTRICT="!test? ( test )" +REQUIRED_USE=" + ppx? ( sexp ) + test? ( sexp ppx ) +" + +src_compile() { + local pkgs="cstruct" + use ppx && pkgs="${pkgs},ppx_cstruct" + for u in async lwt sexp unix ; do + if use ${u} ; then + pkgs="${pkgs},cstruct-${u}" + fi + done + dune build -p "${pkgs}" -j $(makeopts_jobs) || die +} src_install() { - dune_src_install cstruct-async - dune_src_install cstruct-lwt - dune_src_install cstruct-sexp - dune_src_install cstruct-unix dune_src_install cstruct - dune_src_install ppx_cstruct + use async && dune_src_install cstruct-async + use lwt && dune_src_install cstruct-lwt + use sexp && dune_src_install cstruct-sexp + use unix && dune_src_install cstruct-unix + use ppx && dune_src_install ppx_cstruct } diff --git a/dev-ml/cstruct/metadata.xml b/dev-ml/cstruct/metadata.xml index e689615f67..0f3f50ae21 100644 --- a/dev-ml/cstruct/metadata.xml +++ b/dev-ml/cstruct/metadata.xml @@ -2,11 +2,18 @@ - co-mainteiners welcome + co-maintainers welcome lssndrbarbieri@gmail.com Alessandro Barbieri mirage/ocaml-cstruct + + provide Async Pipe and Bigstring support + provide Lwt variants of read/write functions + a PPX syntax extension + serialisers into s-expression format of Cstructs + provide Unix variations of the read/write functions using file descriptors + diff --git a/dev-ml/diet/Manifest b/dev-ml/diet/Manifest new file mode 100644 index 0000000000..58c0bcc7d7 --- /dev/null +++ b/dev-ml/diet/Manifest @@ -0,0 +1 @@ +DIST diet-0.4.tar.gz 10139 BLAKE2B df7e3a06f90ced220a2fecff71c0c0c1d61a3bf6bd27cff80712a41e81bd6db4f7afc385cb0ce20d0077831975dd8c7d3d0888fcb9dd9809bdf9478c08ad2d7d SHA512 a8e122ddd343f6d9130169e1b066578f555d7eb2f0795a4603ba6ee6a31ad1ed2a1cc0a3149ac90d3995a7d8f5e770c56d9002160fa01b35bc16d10b9536ce97 diff --git a/dev-ml/diet/diet-0.4.ebuild b/dev-ml/diet/diet-0.4.ebuild new file mode 100644 index 0000000000..aece1850fc --- /dev/null +++ b/dev-ml/diet/diet-0.4.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit dune + +MYPN="ocaml-${PN}" + +DESCRIPTION="A simple implementation of Discrete Interval Encoding Trees" +HOMEPAGE="https://github.com/mirage/ocaml-diet" +SRC_URI="https://github.com/mirage/${MYPN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/${MYPN}-${PV}" + +LICENSE="ISC" +SLOT="0/${PV}" +KEYWORDS="~amd64" +IUSE="ocamlopt test" + +RDEPEND="dev-ml/stdlib-shims" +DEPEND=" + ${RDEPEND} + test? ( dev-ml/ounit ) +" + +RESTRICT="!test? ( test )" diff --git a/dev-ml/diet/metadata.xml b/dev-ml/diet/metadata.xml new file mode 100644 index 0000000000..836835d2fd --- /dev/null +++ b/dev-ml/diet/metadata.xml @@ -0,0 +1,11 @@ + + + + + lssndrbarbieri@gmail.com + Alessandro Barbieri + + + mirage/ocaml-diet + + diff --git a/dev-ml/dns/Manifest b/dev-ml/dns/Manifest new file mode 100644 index 0000000000..c3df7b70da --- /dev/null +++ b/dev-ml/dns/Manifest @@ -0,0 +1 @@ +DIST ocaml-dns-5.0.1.tar.gz 175810 BLAKE2B 0c442b9bc60f05c0cd73c811aced7b33afad7f9462572891ce88e0d67bbd57cace2123ed4ca7ebb3468d23b7b3fe419f06fa19ebaa0182f3d4d5036100ef7a9d SHA512 f66eeeaa7e3f8f2122ac82132d042493f5b63659d3626bd84cb38dc75c141def38303adbea9f748417de9cb355262bed3838ccf40f530eb6fcce58068f99c2e4 diff --git a/dev-ml/dns/dns-5.0.1.ebuild b/dev-ml/dns/dns-5.0.1.ebuild new file mode 100644 index 0000000000..9ff04593dc --- /dev/null +++ b/dev-ml/dns/dns-5.0.1.ebuild @@ -0,0 +1,133 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit dune multiprocessing + +DESCRIPTION="A pure OCaml implementation of the DNS protocol" +HOMEPAGE="https://github.com/mirage/ocaml-dns" +SRC_URI="https://github.com/mirage/ocaml-${PN}/archive/v${PV}.tar.gz -> ocaml-${P}.tar.gz" +S="${WORKDIR}/ocaml-${P}" + +LICENSE="BSD-2" +SLOT="0/${PV}" +KEYWORDS="~amd64" +IUSE="certify cli client dnssec mirage ocamlopt resolver server stub test tsig" + +RDEPEND=" + dev-ml/logs:= + dev-ml/ptime:= + dev-ml/domain-name:= + dev-ml/gmap:= + dev-ml/cstruct:= + dev-ml/ipaddr:= + dev-ml/lru:= + dev-ml/duration:= + dev-ml/metrics:= + dev-ml/ocaml-base64:= + + dnssec? ( dev-ml/mirage-crypto:=[ec,pk] ) + certify? ( + dev-ml/randomconv:= + dev-ml/mirage-time:= + dev-ml/mirage-clock:= + dev-ml/tcpip:= + dev-ml/mirage-crypto:=[ec,pk,rng] + dev-ml/x509:= + dev-ml/lwt:= + ) + cli? ( + dev-ml/bos:= + dev-ml/cmdliner:= + dev-ml/fpath:= + dev-ml/x509:= + dev-ml/mirage-crypto:=[ec,pk] + dev-ml/hex:= + dev-ml/mtime:= + dev-ml/fmt:= + dev-ml/lwt:= + dev-ml/randomconv:= + ) + client? ( + dev-ml/fmt:= + dev-ml/lwt:= + dev-ml/tcpip:= + dev-ml/mirage-random:= + dev-ml/mirage-time:= + dev-ml/mirage-clock:= + dev-ml/mirage-crypto:=[rng] + dev-ml/happy-eyeballs:= + dev-ml/tls:=[mirage] + dev-ml/x509:= + dev-ml/ca-certs:= + dev-ml/ca-certs-nss:= + ) + mirage? ( + dev-ml/lwt:= + dev-ml/tcpip:= + ) + resolver? ( + dev-ml/randomconv:= + dev-ml/lwt:= + dev-ml/mirage-time:= + dev-ml/mirage-clock:= + dev-ml/mirage-random:= + dev-ml/tcpip:= + dev-ml/tls:=[mirage] + dev-ml/duration:= + ) + server? ( + dev-ml/randomconv:= + dev-ml/duration:= + dev-ml/lwt:= + dev-ml/mirage-time:= + dev-ml/mirage-clock:= + dev-ml/tcpip:= + dev-ml/mirage-crypto:=[rng] + ) + stub? ( + dev-ml/randomconv:= + dev-ml/lwt:= + dev-ml/mirage-time:= + dev-ml/mirage-clock:= + dev-ml/mirage-random:= + dev-ml/tcpip:= + ) + tsig? ( dev-ml/mirage-crypto:= ) +" +DEPEND=" + ${RDEPEND} + test? ( dev-ml/alcotest ) +" + +RESTRICT="!test? ( test )" +REQUIRED_USE=" + certify? ( mirage tsig ) + cli? ( certify client dnssec server tsig ) + resolver? ( dnssec mirage server ) + server? ( mirage ) + stub? ( client mirage resolver tsig server ) + test? ( cli dnssec resolver server tsig ) +" + +src_compile() { + local pkgs="dns" + use dnssec && pkgs="${pkgs},dnssec" + for u in certify cli client mirage resolver server stub tsig ; do + if use ${u} ; then + pkgs="${pkgs},dns-${u}" + fi + done + dune build -p "${pkgs}" -j $(makeopts_jobs) || die +} + +src_install() { + dune_src_install dns + use dnssec && dune_src_install dnssec + for u in certify cli client mirage resolver server stub tsig ; do + if use ${u} ; then + dune_src_install "dns-${u}" + fi + done +} diff --git a/dev-ml/dns/metadata.xml b/dev-ml/dns/metadata.xml new file mode 100644 index 0000000000..57d04d4a5c --- /dev/null +++ b/dev-ml/dns/metadata.xml @@ -0,0 +1,23 @@ + + + + + co-maintainers welcome + lssndrbarbieri@gmail.com + Alessandro Barbieri + + + mirage/ocaml-dns + + + MirageOS let's encrypt certificate retrieval + Unix command line utilities using uDNS + DNS resolver API + DNSSec support for OCaml-DNS + An opinionated Domain Name System (DNS) library + DNS resolver business logic + DNS server, primary and secondary + DNS stub resolver + TSIG support for DNS + + diff --git a/dev-ml/domain-name/domain-name-0.4.0.ebuild b/dev-ml/domain-name/domain-name-0.4.0.ebuild index 7b2fdcbbd6..7838515259 100644 --- a/dev-ml/domain-name/domain-name-0.4.0.ebuild +++ b/dev-ml/domain-name/domain-name-0.4.0.ebuild @@ -12,4 +12,12 @@ SRC_URI="https://github.com/hannesm/domain-name/releases/download/v${PV}/${P}.tb LICENSE="ISC" SLOT="0/${PV}" KEYWORDS="~amd64" -IUSE="ocamlopt" +IUSE="ocamlopt test" + +RESTRICT="!test? ( test )" + +RDEPEND="" +DEPEND=" + ${RDEPEND} + test? ( dev-ml/alcotest ) +" diff --git a/dev-ml/eqaf/Manifest b/dev-ml/eqaf/Manifest new file mode 100644 index 0000000000..95528d5eb8 --- /dev/null +++ b/dev-ml/eqaf/Manifest @@ -0,0 +1 @@ +DIST eqaf-v0.7.tbz 19149 BLAKE2B bd73571d7118b7007a89c07b65eeaaadc34722b2e3923ef045d7a39c5e6d92292f38c6507934bad27af744a9a5eac5be16a9446d0353d998bc727dd86fc2d0bd SHA512 38a2687bafb5cd1d1deb51ceceba94fcff9ce88515fd2c61ec1182808c50c0e3373a4d71fe51a17a23c74616c5ab350a4cf7914de656886981538abf2b57ff61 diff --git a/dev-ml/eqaf/eqaf-0.7-r1.ebuild b/dev-ml/eqaf/eqaf-0.7-r1.ebuild new file mode 100644 index 0000000000..0d9f37f56c --- /dev/null +++ b/dev-ml/eqaf/eqaf-0.7-r1.ebuild @@ -0,0 +1,21 @@ +# Copyright 2019-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit dune + +MY_P="${PN}-v${PV}" + +DESCRIPTION="Constant time equal function to avoid timing attacks in OCaml" +HOMEPAGE="https://github.com/mirage/eqaf" +SRC_URI="https://github.com/mirage/eqaf/releases/download/v${PV}/${MY_P}.tbz" +S="${WORKDIR}/${MY_P}" + +LICENSE="MIT" +SLOT="0/${PV}" +KEYWORDS="~amd64" +IUSE="ocamlopt" + +RDEPEND="dev-ml/cstruct" +DEPEND="${RDEPEND}" diff --git a/dev-ml/eqaf/metadata.xml b/dev-ml/eqaf/metadata.xml new file mode 100644 index 0000000000..fbe05ef42f --- /dev/null +++ b/dev-ml/eqaf/metadata.xml @@ -0,0 +1,12 @@ + + + + + co-maintainers welcome + lssndrbarbieri@gmail.com + Alessandro Barbieri + + + mirage/eqaf + + diff --git a/dev-ml/ethernet/Manifest b/dev-ml/ethernet/Manifest new file mode 100644 index 0000000000..9ba14438f5 --- /dev/null +++ b/dev-ml/ethernet/Manifest @@ -0,0 +1 @@ +DIST ethernet-v3.0.0.tbz 6116 BLAKE2B 09f57cd4b58dff67f5b6ab2e68c8c29f6b527ed07b14664f8dd6da64dc05a17773f3ccb242ac37702ad9c43dc8fc1c6cfe9f04c219fdfae382c7d26a9d9724e8 SHA512 171d061b16f2e00b9caa3dfc1cd9b5b358d380e892281ac5c137dc2a3119c3fa288ea927dcb4e9efbcf4850f6857ed0d4b754f56dbb248c1c6150779e57d24e4 diff --git a/dev-ml/ethernet/ethernet-3.0.0.ebuild b/dev-ml/ethernet/ethernet-3.0.0.ebuild new file mode 100644 index 0000000000..7fb9814297 --- /dev/null +++ b/dev-ml/ethernet/ethernet-3.0.0.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit dune + +MY_P="${PN}-v${PV}" + +DESCRIPTION="OCaml Ethernet (IEEE 802.3) layer" +HOMEPAGE="https://github.com/mirage/ethernet" +SRC_URI="https://github.com/mirage/${PN}/releases/download/v${PV}/${MY_P}.tbz" +S="${WORKDIR}/${MY_P}" + +LICENSE="ISC" +SLOT="0/${PV}" +KEYWORDS="~amd64" +IUSE="ocamlopt" + +RDEPEND=" + dev-ml/mirage-net + dev-ml/ipaddr + dev-ml/mirage-profile + dev-ml/lwt + dev-ml/logs + >=dev-ml/cstruct-6.0.0[ppx] +" +DEPEND="${RDEPEND}" diff --git a/dev-ml/ethernet/metadata.xml b/dev-ml/ethernet/metadata.xml new file mode 100644 index 0000000000..e23736c96c --- /dev/null +++ b/dev-ml/ethernet/metadata.xml @@ -0,0 +1,11 @@ + + + + + lssndrbarbieri@gmail.com + Alessandro Barbieri + + + mirage/ethernet + + diff --git a/dev-ml/expect_test_helpers/Manifest b/dev-ml/expect_test_helpers/Manifest new file mode 100644 index 0000000000..8c176c91d9 --- /dev/null +++ b/dev-ml/expect_test_helpers/Manifest @@ -0,0 +1 @@ +DIST expect_test_helpers-0.13.0.tar.gz 6153 BLAKE2B f125841b585b3c01865de7153e1f7150cde9be15e763f2b6f8658cc230d323ec594e962a77cd7ba5da05ecfb569e8ef64b65f26566099bd6a726967a80c65c3f SHA512 eeb7a447f7c6f1d2ea5dd338fe34fa8f609a0c19e9535d379f04a485624e993f48c323a3f4aab9c24a11609d4d60e159723cb836169231a8c6b71087d1a0d70a diff --git a/dev-ml/expect_test_helpers/expect_test_helpers-0.13.0-r1.ebuild b/dev-ml/expect_test_helpers/expect_test_helpers-0.13.0-r1.ebuild new file mode 100644 index 0000000000..e32bed2328 --- /dev/null +++ b/dev-ml/expect_test_helpers/expect_test_helpers-0.13.0-r1.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit dune + +DESCRIPTION="Async helpers for writing expectation tests" +HOMEPAGE="https://github.com/janestreet/expect_test_helpers" +SRC_URI="https://github.com/janestreet/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0/${PV}" +KEYWORDS="~amd64" +IUSE="ocamlopt" + +RDEPEND=" + dev-ml/async + dev-ml/core + dev-ml/expect_test_helpers_kernel + dev-ml/ppx_jane + dev-ml/sexp_pretty +" +DEPEND="${RDEPEND}" diff --git a/dev-ml/expect_test_helpers/metadata.xml b/dev-ml/expect_test_helpers/metadata.xml new file mode 100644 index 0000000000..a3344688f1 --- /dev/null +++ b/dev-ml/expect_test_helpers/metadata.xml @@ -0,0 +1,12 @@ + + + + + co-maintainers welcome + lssndrbarbieri@gmail.com + Alessandro Barbieri + + + janestreet/expect_test_helpers + + diff --git a/dev-ml/expect_test_helpers_core/Manifest b/dev-ml/expect_test_helpers_core/Manifest new file mode 100644 index 0000000000..f899be5bb4 --- /dev/null +++ b/dev-ml/expect_test_helpers_core/Manifest @@ -0,0 +1 @@ +DIST expect_test_helpers_core-0.14.0.tar.gz 16378 BLAKE2B f64dbd02802456535d19fdc9f991a56331be728ac34f10c618de22264a0425248cc6b6ff653198081fae779acba32ed48b4792d3902e9feef3b38fa5f95367c0 SHA512 ff4525324972875381ab5b2ec6705fabe8cac2d9a7a84d457b4f4b913da7d22956d363d8d7f61104f244980ed910ba242629d1005d7a7dec6cce9a0750e088b9 diff --git a/dev-ml/expect_test_helpers_core/expect_test_helpers_core-0.14.0.ebuild b/dev-ml/expect_test_helpers_core/expect_test_helpers_core-0.14.0.ebuild new file mode 100644 index 0000000000..2a41fedc6b --- /dev/null +++ b/dev-ml/expect_test_helpers_core/expect_test_helpers_core-0.14.0.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit dune + +DESCRIPTION="Helpers for writing expectation tests" +HOMEPAGE="https://github.com/janestreet/expect_test_helpers_core" +SRC_URI="https://github.com/janestreet/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0/${PV}" +KEYWORDS="~amd64" +IUSE="ocamlopt" + +# + + + + co-maintainers welcome + lssndrbarbieri@gmail.com + Alessandro Barbieri + + + janestreet/expect_test_helpers_core + + diff --git a/dev-ml/expect_test_helpers_kernel/Manifest b/dev-ml/expect_test_helpers_kernel/Manifest new file mode 100644 index 0000000000..075b5c2a01 --- /dev/null +++ b/dev-ml/expect_test_helpers_kernel/Manifest @@ -0,0 +1 @@ +DIST expect_test_helpers_kernel-0.13.0.tar.gz 15700 BLAKE2B 1ef0b4cfafd590a9ac742d113884857b4eacc234d93d57a137c962d111241c917f2e2322f6a98c37989e2d20eb4d256e93c1ac118620de8df6950bface8c7f3f SHA512 5bd75a0f6eaeee4f44d8b873323ff672ad064923c40e3f514153fbdf71214ec0a384eb84a451eb9f4caf22af4dd2895520be2d84875a51cb3c39de8811565f30 diff --git a/dev-ml/expect_test_helpers_kernel/expect_test_helpers_kernel-0.13.0-r1.ebuild b/dev-ml/expect_test_helpers_kernel/expect_test_helpers_kernel-0.13.0-r1.ebuild new file mode 100644 index 0000000000..04e7c0af30 --- /dev/null +++ b/dev-ml/expect_test_helpers_kernel/expect_test_helpers_kernel-0.13.0-r1.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit dune + +DESCRIPTION="Helpers for writing expectation tests" +HOMEPAGE="https://github.com/janestreet/expect_test_helpers_kernel" +SRC_URI="https://github.com/janestreet/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0/${PV}" +KEYWORDS="~amd64" +IUSE="ocamlopt" + +RDEPEND=" + dev-ml/base + dev-ml/base_quickcheck + dev-ml/core_kernel + dev-ml/ppx_jane + dev-ml/sexp_pretty + dev-ml/stdio + dev-ml/re +" +DEPEND="${RDEPEND}" diff --git a/dev-ml/expect_test_helpers_kernel/metadata.xml b/dev-ml/expect_test_helpers_kernel/metadata.xml new file mode 100644 index 0000000000..fd41099998 --- /dev/null +++ b/dev-ml/expect_test_helpers_kernel/metadata.xml @@ -0,0 +1,12 @@ + + + + + co-maintainers welcome + lssndrbarbieri@gmail.com + Alessandro Barbieri + + + janestreet/expect_test_helpers_kernel + + diff --git a/dev-ml/ezjsonm/ezjsonm-1.2.0-r2.ebuild b/dev-ml/ezjsonm/ezjsonm-1.2.0-r2.ebuild index 2d6b4fa965..aa58c0e363 100644 --- a/dev-ml/ezjsonm/ezjsonm-1.2.0-r2.ebuild +++ b/dev-ml/ezjsonm/ezjsonm-1.2.0-r2.ebuild @@ -3,7 +3,7 @@ EAPI=8 -inherit dune +inherit dune multiprocessing DESCRIPTION="An easy interface on top of the Jsonm library" HOMEPAGE="https://github.com/mirage/ezjsonm" @@ -13,18 +13,38 @@ S="${WORKDIR}/${PN}-v${PV}" LICENSE="ISC" SLOT="0/${PV}" KEYWORDS="~amd64" -IUSE="ocamlopt" +IUSE="lwt ocamlopt test" DEPEND=" dev-ml/hex >=dev-ml/jsonm-1.0.0 - dev-ml/lwt dev-ml/sexplib0 dev-ml/uutf + + lwt? ( dev-ml/lwt ) " -RDEPEND="${DEPEND}" +RDEPEND=" + ${DEPEND} + test? ( + dev-ml/alcotest + dev-ml/js_of_ocaml + net-libs/nodejs[npm] + dev-ml/ppx_sexp_conv + ) +" + +RESTRICT="!test? ( test )" +REQUIRED_USE="test? ( lwt )" + +src_compile() { + local pkgs="ezjsonm" + if use lwt ; then + pkgs="${pkgs},ezjsonm-lwt" + fi + dune build -p "${pkgs}" -j $(makeopts_jobs) || die +} src_install() { dune_src_install ezjsonm - dune_src_install ezjsonm-lwt + use lwt && dune_src_install ezjsonm-lwt } diff --git a/dev-ml/ezjsonm/metadata.xml b/dev-ml/ezjsonm/metadata.xml index c1c741b0dd..a9cdbcbd46 100644 --- a/dev-ml/ezjsonm/metadata.xml +++ b/dev-ml/ezjsonm/metadata.xml @@ -9,4 +9,7 @@ mirage/ezjsonm + + Simple Lwt-based interface to the Jsonm JSON library + diff --git a/dev-ml/gmap/Manifest b/dev-ml/gmap/Manifest new file mode 100644 index 0000000000..3b3471bcbb --- /dev/null +++ b/dev-ml/gmap/Manifest @@ -0,0 +1 @@ +DIST gmap-0.3.0.tbz 7553 BLAKE2B a6efc09fbfc6b448ea07466e1ee0f9beecbac3d30b5f996294b06e24bede082c96cba17885dd3a45942c6de49f0d500b8a3c6a4ca4a180abc1970589705a409f SHA512 71616981f5a15d6b2a47e18702083e52e81f6547076085b1489f676f50b0cc47c7c2c4fa19cb581e2878dc3d4f7133d0c50d8b51a8390be0e6e30318907d81d3 diff --git a/dev-ml/gmap/gmap-0.3.0-r2.ebuild b/dev-ml/gmap/gmap-0.3.0-r2.ebuild new file mode 100644 index 0000000000..513c6ad691 --- /dev/null +++ b/dev-ml/gmap/gmap-0.3.0-r2.ebuild @@ -0,0 +1,18 @@ +# Copyright 2019-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit dune + +DESCRIPTION="Heterogenous Map over a GADT" +HOMEPAGE="https://github.com/hannesm/gmap" +SRC_URI="https://github.com/hannesm/gmap/releases/download/${PV}/${P}.tbz" + +LICENSE="ISC" +SLOT="0/${PV}" +KEYWORDS="~amd64" +IUSE="ocamlopt" + +RDEPEND="" +DEPEND="${RDEPEND}" diff --git a/dev-ml/gmap/metadata.xml b/dev-ml/gmap/metadata.xml new file mode 100644 index 0000000000..f7c50c5687 --- /dev/null +++ b/dev-ml/gmap/metadata.xml @@ -0,0 +1,12 @@ + + + + + co-maintainers welcome + lssndrbarbieri@gmail.com + Alessandro Barbieri + + + hannesm/gmap + + diff --git a/dev-ml/happy-eyeballs/Manifest b/dev-ml/happy-eyeballs/Manifest new file mode 100644 index 0000000000..4121de5fda --- /dev/null +++ b/dev-ml/happy-eyeballs/Manifest @@ -0,0 +1 @@ +DIST happy-eyeballs-0.3.0.tar.gz 11378 BLAKE2B 186e3f448ee8f04de79dc48c2f1c6d31218a2d48a5d18377265972a8b2269ba85563ad06d0cf2595812ecacf5f5a7baadaccad6e3f12a9b67ba8e4547e74d271 SHA512 a2c38dd618df585e3de446674e0675668da85fa17c0e285bb174b3d23b38bdedae45e0c740f261d0f4e091a14cd32eb2f2b209a7f8c7f9a957fce18e1dcbf63f diff --git a/dev-ml/happy-eyeballs/happy-eyeballs-0.3.0.ebuild b/dev-ml/happy-eyeballs/happy-eyeballs-0.3.0.ebuild new file mode 100644 index 0000000000..b393cd2cc6 --- /dev/null +++ b/dev-ml/happy-eyeballs/happy-eyeballs-0.3.0.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit dune multiprocessing + +DESCRIPTION="An implementation of happy eyeballs (RFC 8305) in OCaml with lwt" +HOMEPAGE="https://github.com/roburio/happy-eyeballs" +SRC_URI="https://github.com/roburio/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="ISC" +SLOT="0/${PV}" +KEYWORDS="~amd64" +IUSE="lwt mirage ocamlopt" + +RDEPEND=" + dev-ml/domain-name + dev-ml/ipaddr + dev-ml/logs + dev-ml/fmt + + lwt? ( + dev-ml/cmdliner + dev-ml/mtime + dev-ml/lwt + dev-ml/dns[client] + dev-ml/duration + ) + mirage? ( + dev-ml/mirage-clock + dev-ml/dns[client] + dev-ml/lwt + dev-ml/tcpip + dev-ml/mirage-random + dev-ml/mirage-time + dev-ml/duration + ) +" +DEPEND="${RDEPEND}" + +src_compile() { + local pkgs="happy-eyeballs" + for u in lwt mirage ; do + if use ${u} ; then + pkgs="${pkgs},happy-eyeballs-${u}" + fi + done + dune build -p "${pkgs}" -j $(makeopts_jobs) || die +} + +src_install() { + dune_src_install happy-eyeballs + for u in lwt mirage ; do + if use ${u} ; then + dune_src_install "happy-eyeballs-${u}" + fi + done +} diff --git a/dev-ml/happy-eyeballs/metadata.xml b/dev-ml/happy-eyeballs/metadata.xml new file mode 100644 index 0000000000..50a217c443 --- /dev/null +++ b/dev-ml/happy-eyeballs/metadata.xml @@ -0,0 +1,15 @@ + + + + + lssndrbarbieri@gmail.com + Alessandro Barbieri + + + roburio/happy-eyeballs + + + Connecting to a remote host via IP version 4 or 6 using Lwt_unix + Connecting to a remote host via IP version 4 or 6 using Mirage + + diff --git a/dev-ml/hex/metadata.xml b/dev-ml/hex/metadata.xml index 83a6dee0de..d343e1f4e1 100644 --- a/dev-ml/hex/metadata.xml +++ b/dev-ml/hex/metadata.xml @@ -2,7 +2,7 @@ - co-mainteiners welcome + co-maintainers welcome lssndrbarbieri@gmail.com Alessandro Barbieri diff --git a/dev-ml/hkdf/Manifest b/dev-ml/hkdf/Manifest new file mode 100644 index 0000000000..6b8b755db6 --- /dev/null +++ b/dev-ml/hkdf/Manifest @@ -0,0 +1 @@ +DIST hkdf-v1.0.4.tbz 11592 BLAKE2B 5c777f92ac8ad52bbe5c9e2383fa2cb705b793a3fcdedee16c37b69c6c0848b89682e168a9be56d020ab51a7d0195a379d23c23a420874c7fc6772540388c670 SHA512 d08e50857f7761572adc4d382975fde5808898c1d92d9e6e943a496cba8780ffabe1edf67844063b70d9727c0fe10b24391e001a3f65c978a5326ac82199cc88 diff --git a/dev-ml/hkdf/hkdf-1.0.4.ebuild b/dev-ml/hkdf/hkdf-1.0.4.ebuild new file mode 100644 index 0000000000..abb7bb9ec0 --- /dev/null +++ b/dev-ml/hkdf/hkdf-1.0.4.ebuild @@ -0,0 +1,29 @@ +# Copyright 2020-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit dune + +MY_P="${PN}-v${PV}" + +DESCRIPTION="HMAC-based Extract-and-Expand Key Derivation Function (RFC 5869)" +HOMEPAGE="https://github.com/hannesm/ocaml-hkdf" +SRC_URI="https://github.com/hannesm/ocaml-${PN}/releases/download/v${PV}/${MY_P}.tbz" +S="${WORKDIR}/${MY_P}" + +LICENSE="BSD-2" +SLOT="0/${PV}" +KEYWORDS="~amd64" +IUSE="ocamlopt test" + +RDEPEND=" + dev-ml/cstruct + dev-ml/mirage-crypto +" +DEPEND=" + ${RDEPEND} + test? ( dev-ml/alcotest ) +" + +RESTRICT="!test? ( test )" diff --git a/dev-ml/hkdf/metadata.xml b/dev-ml/hkdf/metadata.xml new file mode 100644 index 0000000000..78153fde6a --- /dev/null +++ b/dev-ml/hkdf/metadata.xml @@ -0,0 +1,12 @@ + + + + + co-maintainers welcome + lssndrbarbieri@gmail.com + Alessandro Barbieri + + + hannesm/ocaml-hkdf + + diff --git a/dev-ml/inotify/Manifest b/dev-ml/inotify/Manifest new file mode 100644 index 0000000000..5968c94622 --- /dev/null +++ b/dev-ml/inotify/Manifest @@ -0,0 +1 @@ +DIST inotify-2.3_p20211118.tar.gz 15870 BLAKE2B cd9b80dcf924ef9fd3c4b95e2e105e17dcfb3b4897b9552ac87b4f8d59dc128f76c6aa95bbf2647b2b60577b53abde003391ba05833ce5ddf0ebbb366b608780 SHA512 3ac6b739797a7d2bafcbe007bd467841eeab8ceecc50dc3a71cd24e0d24da846d9166166a45d6b07d9717d3bab649cd1619ebc8964149700522a7082c1b0d3d5 diff --git a/dev-ml/inotify/inotify-2.3_p20211118.ebuild b/dev-ml/inotify/inotify-2.3_p20211118.ebuild new file mode 100644 index 0000000000..1d4a7544b5 --- /dev/null +++ b/dev-ml/inotify/inotify-2.3_p20211118.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit dune + +COMMIT="b340204c72ae3ff27def6e116c1998485fc3227e" +MYPN="ocaml-${PN}" + +DESCRIPTION="OCaml bindings for inotify" +HOMEPAGE="https://github.com/whitequark/ocaml-inotify" +SRC_URI="https://github.com/whitequark/${MYPN}/archive/${COMMIT}.tar.gz -> ${PF}.tar.gz" +S="${WORKDIR}/${MYPN}-${COMMIT}" + +LICENSE="LGPL-2.1-with-linking-exception" +SLOT="0/${PV}" +KEYWORDS="~amd64" +IUSE="ocamlopt test" + +DEPEND=" + dev-ml/base-unix + dev-ml/base-bytes +" +RDEPEND=" + ${DEPEND} + test? ( + >=dev-ml/ounit-2 + dev-ml/ocaml-fileutils + dev-ml/lwt + ) +" + +RESTRICT="!test? ( test )" diff --git a/dev-ml/inotify/metadata.xml b/dev-ml/inotify/metadata.xml new file mode 100644 index 0000000000..b420263b84 --- /dev/null +++ b/dev-ml/inotify/metadata.xml @@ -0,0 +1,11 @@ + + + + + lssndrbarbieri@gmail.com + Alessandro Barbieri + + + whitequark/ocaml-inotify + + diff --git a/dev-ml/io-page/io-page-2.2.0.ebuild b/dev-ml/io-page/io-page-2.2.0.ebuild index 6c0aac10db..dcb8fdb37b 100644 --- a/dev-ml/io-page/io-page-2.2.0.ebuild +++ b/dev-ml/io-page/io-page-2.2.0.ebuild @@ -3,7 +3,7 @@ EAPI=8 -inherit dune +inherit dune multiprocessing MY_P="${PN}-v${PV}" @@ -15,14 +15,28 @@ S="${WORKDIR}/${MY_P}" LICENSE="ISC" SLOT="0/${PV}" KEYWORDS="~amd64" -IUSE="ocamlopt" +IUSE="ocamlopt test unix" RDEPEND=" dev-ml/bigarray-compat dev-ml/cstruct " -DEPEND="${RDEPEND}" +DEPEND=" + ${RDEPEND} + test? ( dev-ml/ounit ) + unix? ( dev-ml/configurator ) +" + +RESTRICT="!test? ( test )" +REQUIRED_USE="test? ( unix )" + +src_compile() { + local pkgs="io-page" + use unix && pkgs="${pkgs},io-page-unix" + dune build -p "${pkgs}" -j $(makeopts_jobs) || die +} src_install() { - dune_src_install "io-page io-page-unix io-page-xen" + dune_src_install io-page + use unix && dune_src_install io-page-unix } diff --git a/dev-ml/io-page/io-page-2.4.0.ebuild b/dev-ml/io-page/io-page-2.4.0.ebuild index 40f2ed73c4..528316a847 100644 --- a/dev-ml/io-page/io-page-2.4.0.ebuild +++ b/dev-ml/io-page/io-page-2.4.0.ebuild @@ -5,7 +5,8 @@ EAPI=8 inherit dune -MY_P=${PN}-v${PV} +MY_P="${PN}-v${PV}" + DESCRIPTION="IO memory page library for Mirage backends" HOMEPAGE="https://github.com/mirage/io-page" SRC_URI="https://github.com/mirage/io-page/releases/download/v${PV}/${MY_P}.tbz" @@ -14,10 +15,16 @@ S="${WORKDIR}/${MY_P}" LICENSE="ISC" SLOT="0/${PV}" KEYWORDS="~amd64" -IUSE="ocamlopt" +IUSE="ocamlopt test" RDEPEND=" dev-ml/bigarray-compat dev-ml/cstruct " -DEPEND="${RDEPEND}" +DEPEND=" + ${RDEPEND} + test? ( dev-ml/ounit ) +" +BDEPEND="virtual/pkgconfig" + +RESTRICT="!test? ( test )" diff --git a/dev-ml/io-page/metadata.xml b/dev-ml/io-page/metadata.xml index 0cf20d003c..8f344f1855 100644 --- a/dev-ml/io-page/metadata.xml +++ b/dev-ml/io-page/metadata.xml @@ -9,4 +9,7 @@ mirage/io-page + + Support for efficient handling of I/O memory pages on Unix + diff --git a/dev-ml/ipaddr/ipaddr-5.3.0.ebuild b/dev-ml/ipaddr/ipaddr-5.3.0.ebuild index 90f8d2b1ad..3cd8e9e431 100644 --- a/dev-ml/ipaddr/ipaddr-5.3.0.ebuild +++ b/dev-ml/ipaddr/ipaddr-5.3.0.ebuild @@ -3,7 +3,7 @@ EAPI=8 -inherit dune +inherit dune multiprocessing DESCRIPTION="OCaml library for manipulation of IP (and MAC) address representations" HOMEPAGE="https://github.com/mirage/ocaml-ipaddr" @@ -13,21 +13,53 @@ S="${WORKDIR}/ocaml-${P}" LICENSE="ISC" SLOT="0/${PV}" KEYWORDS="~amd64" -IUSE="ocamlopt" +IUSE="cstruct macaddr-cstruct macaddr-sexp ocamlopt sexp test" RDEPEND=" - dev-ml/cstruct dev-ml/domain-name - dev-ml/ppx_sexp_conv - dev-ml/sexplib0 + dev-ml/stdlib-shims + + cstruct? ( dev-ml/cstruct ) + macaddr-cstruct? ( dev-ml/cstruct ) + macaddr-sexp? ( + dev-ml/ppx_sexp_conv + dev-ml/sexplib0 + ) + sexp? ( + dev-ml/ppx_sexp_conv + dev-ml/sexplib0 + ) " -DEPEND="${RDEPEND}" +DEPEND=" + ${RDEPEND} + test? ( + dev-ml/ounit + dev-ml/ppx_sexp_conv + ) +" + +RESTRICT="!test? ( test )" +REQUIRED_USE="test? ( cstruct macaddr-cstruct macaddr-sexp sexp )" + +src_compile() { + local pkgs="ipaddr,macaddr" + for u in cstruct sexp ; do + if use ${u} ; then + pkgs="${pkgs},ipaddr-${u}" + fi + if use macaddr-${u} ; then + pkgs="${pkgs},macaddr-${u}" + fi + done + + dune build -p "${pkgs}" -j $(makeopts_jobs) || die +} src_install() { - dune_src_install ipaddr - dune_src_install ipaddr-cstruct - dune_src_install ipaddr-sexp dune_src_install macaddr - dune_src_install macaddr-cstruct - dune_src_install macaddr-sexp + dune_src_install ipaddr + use cstruct && dune_src_install ipaddr-cstruct + use sexp && dune_src_install ipaddr-sexp + use macaddr-cstruct && dune_src_install macaddr-cstruct + use macaddr-sexp && dune_src_install macaddr-sexp } diff --git a/dev-ml/ipaddr/metadata.xml b/dev-ml/ipaddr/metadata.xml index e54521662e..edd708d239 100644 --- a/dev-ml/ipaddr/metadata.xml +++ b/dev-ml/ipaddr/metadata.xml @@ -9,4 +9,10 @@ mirage/ocaml-ipaddr + + A library for manipulation of IP address representations using Cstructs + A library for manipulation of IP address representations using sexp + A library for manipulation of MAC address representations using Cstructs + A library for manipulation of MAC address representations using sexp + diff --git a/dev-ml/js_of_ocaml/js_of_ocaml-4.0.0.ebuild b/dev-ml/js_of_ocaml/js_of_ocaml-4.0.0.ebuild index 4057ce3fc9..2cf9e6fb60 100644 --- a/dev-ml/js_of_ocaml/js_of_ocaml-4.0.0.ebuild +++ b/dev-ml/js_of_ocaml/js_of_ocaml-4.0.0.ebuild @@ -3,7 +3,7 @@ EAPI=7 -inherit dune findlib +inherit dune findlib multiprocessing DESCRIPTION="A compiler from OCaml bytecode to javascript" HOMEPAGE=" @@ -15,23 +15,57 @@ SRC_URI="https://github.com/ocsigen/js_of_ocaml/archive/${PV}.tar.gz -> ${P}.tar KEYWORDS="~amd64" LICENSE="LGPL-2.1-with-linking-exception" SLOT="0/${PV}" -IUSE="ocamlopt" +IUSE="lwt ocamlopt ppx ppx-deriving-json test toplevel tyxml" RDEPEND=" dev-ml/cmdliner - dev-ml/lwt dev-ml/menhir dev-ml/ppxlib - dev-ml/ppx_expect - dev-ml/react - dev-ml/reactiveData - dev-ml/tyxml dev-ml/yojson + + lwt? ( dev-ml/lwt ) + tyxml? ( + dev-ml/react + dev-ml/reactiveData + dev-ml/tyxml + ) " -DEPEND="${RDEPEND}" +DEPEND=" + ${RDEPEND} + test? ( + dev-ml/re + dev-ml/ppx_expect + dev-ml/num + dev-ml/ppxlib + dev-ml/graphics + dev-ml/cohttp[lwt-unix] + ) +" + +RESTRICT="!test? ( test )" +REQUIRED_USE=" + lwt? ( ppx ) + test? ( lwt ppx ppx-deriving-json toplevel tyxml ) + toplevel? ( ppx ) + tyxml? ( ppx ) +" + +src_compile() { + local pkgs="js_of_ocaml,js_of_ocaml-compiler" + for u in lwt ppx ppx-deriving-json toplevel tyxml ; do + if use ${u} ; then + pkgs="${pkgs},js_of_ocaml-${u//-/_}" + fi + done + dune build -p "${pkgs}" -j $(makeopts_jobs) || die +} src_install() { - for p in js_of_ocaml{,-compiler,-lwt,-ppx,-ppx_deriving_json,-toplevel,-tyxml} ; do - dune_src_install ${p} + dune_src_install js_of_ocaml-compiler + dune_src_install js_of_ocaml + for u in lwt ppx ppx-deriving-json toplevel tyxml ; do + if use ${u}; then + dune_src_install "js_of_ocaml-${u//-/_}" + fi done } diff --git a/dev-ml/js_of_ocaml/metadata.xml b/dev-ml/js_of_ocaml/metadata.xml index b0fbe5f301..28d8e7f626 100644 --- a/dev-ml/js_of_ocaml/metadata.xml +++ b/dev-ml/js_of_ocaml/metadata.xml @@ -9,4 +9,11 @@ ocsigen/js_of_ocaml + + lwt support + a ppx syntax extension + ppx_deriving_json + lib and tools to build an ocaml toplevel to javascript + tyxml support + diff --git a/dev-ml/lru/Manifest b/dev-ml/lru/Manifest new file mode 100644 index 0000000000..454a6f0402 --- /dev/null +++ b/dev-ml/lru/Manifest @@ -0,0 +1 @@ +DIST lru-v0.3.0.tbz 9740 BLAKE2B 555c883f603a3981a5de336e72ef13b177b81499986a3a25a1a21b62fe18297f351ddfc7809759411af8217abfb4452e64061964fb42b67688527472fc868283 SHA512 b4d23089bc73bd5b0bdaa977d6e65982486def1c4fd35a2a24655adb22377692927752de2d8373fc0f751a4ec5cf905546b8754320acb01308ce43fa42288112 diff --git a/dev-ml/lru/lru-0.3.0-r2.ebuild b/dev-ml/lru/lru-0.3.0-r2.ebuild new file mode 100644 index 0000000000..a8f6321eb4 --- /dev/null +++ b/dev-ml/lru/lru-0.3.0-r2.ebuild @@ -0,0 +1,27 @@ +# Copyright 2019-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit dune + +DESCRIPTION="Scalable LRU caches for OCaml" +HOMEPAGE="https://github.com/pqwy/lru" +SRC_URI="https://github.com/pqwy/lru/releases/download/v${PV}/${PN}-v${PV}.tbz" +S="${WORKDIR}/${PN}-v${PV}" + +LICENSE="ISC" +SLOT="0/${PV}" +KEYWORDS="~amd64" +IUSE="ocamlopt test" + +RDEPEND="dev-ml/psq" +DEPEND=" + ${RDEPEND} + test? ( + dev-ml/alcotest + dev-ml/qcheck + ) +" + +RESTRICT="!test? ( test )" diff --git a/dev-ml/lru/metadata.xml b/dev-ml/lru/metadata.xml new file mode 100644 index 0000000000..e7e365d7b1 --- /dev/null +++ b/dev-ml/lru/metadata.xml @@ -0,0 +1,12 @@ + + + + + co-maintainers welcome + lssndrbarbieri@gmail.com + Alessandro Barbieri + + + pqwy/lru + + diff --git a/dev-ml/lwt-dllist/lwt-dllist-1.0.1.ebuild b/dev-ml/lwt-dllist/lwt-dllist-1.0.1.ebuild index 9cd969b207..4fe6f535af 100644 --- a/dev-ml/lwt-dllist/lwt-dllist-1.0.1.ebuild +++ b/dev-ml/lwt-dllist/lwt-dllist-1.0.1.ebuild @@ -13,7 +13,12 @@ S="${WORKDIR}/${PN}-v${PV}" LICENSE="MIT" SLOT="0/${PV}" KEYWORDS="~amd64" -IUSE="ocamlopt" +IUSE="ocamlopt test" -DEPEND="" -RDEPEND="${DEPEND}" +RDEPEND="" +DEPEND=" + ${RDEPEND} + test? ( dev-ml/lwt ) +" + +RESTRICT="!test? ( test )" diff --git a/dev-ml/magic-mime/Manifest b/dev-ml/magic-mime/Manifest new file mode 100644 index 0000000000..c40294b144 --- /dev/null +++ b/dev-ml/magic-mime/Manifest @@ -0,0 +1 @@ +DIST magic-mime-1.2.0.tar.gz 13234 BLAKE2B ca86dff6d69777ffa6b4b13235691437d8352c937f6aa157a44cccd66b9c47ccdd9538f4fb236d87f4d7432eeedcc697187f1aa54925a55acadafc7f60258d52 SHA512 70bef663f8cff23d1c9eaf479493309d5eb9c9cec0988eda610025d8c547f778702137c58c39d16a512c3b70034baa67556d4745606d29a003dff4aaf89b0bd9 diff --git a/dev-ml/magic-mime/magic-mime-1.2.0.ebuild b/dev-ml/magic-mime/magic-mime-1.2.0.ebuild new file mode 100644 index 0000000000..60c6cbd896 --- /dev/null +++ b/dev-ml/magic-mime/magic-mime-1.2.0.ebuild @@ -0,0 +1,18 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit dune + +MYPN="ocaml-${PN}" + +DESCRIPTION="Convert file extensions to MIME types" +HOMEPAGE="https://github.com/mirage/ocaml-magic-mime" +SRC_URI="https://github.com/mirage/${MYPN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/${MYPN}-${PV}" + +LICENSE="ISC" +SLOT="0/${PV}" +KEYWORDS="~amd64" +IUSE="ocamlopt" diff --git a/dev-ml/magic-mime/metadata.xml b/dev-ml/magic-mime/metadata.xml new file mode 100644 index 0000000000..42a4f93bd9 --- /dev/null +++ b/dev-ml/magic-mime/metadata.xml @@ -0,0 +1,11 @@ + + + + + lssndrbarbieri@gmail.com + Alessandro Barbieri + + + mirage/ocaml-magic-mime + + diff --git a/dev-ml/metrics/Manifest b/dev-ml/metrics/Manifest new file mode 100644 index 0000000000..1e0e9fa6ca --- /dev/null +++ b/dev-ml/metrics/Manifest @@ -0,0 +1 @@ +DIST metrics-0.2.0.tbz 18159 BLAKE2B d480c9c9bd6600748bbe747ef3a10909cfc3e0d65039eadc28c6bc065d6bc1739833bcd3093ae146630a38168cb27df0484f7d6942a53a51f220a43aeebc22f6 SHA512 3f1a6cfbcc674409a7382446084c11c3646e6b380e4972306334e7fa0e558d256dadfd39f7f3acd32afffe78757f66ecefc1b7960ae366afe09397ba0bbdaf68 diff --git a/dev-ml/metrics/metadata.xml b/dev-ml/metrics/metadata.xml new file mode 100644 index 0000000000..4e8d5310f2 --- /dev/null +++ b/dev-ml/metrics/metadata.xml @@ -0,0 +1,18 @@ + + + + + co-maintainers welcome + lssndrbarbieri@gmail.com + Alessandro Barbieri + + + mirage/metrics + + + Influx reporter for the Metrics library + Lwt backend for the Metrics library + Resource usage (getrusage) sources for the Metrics library + Unix backend for the Metrics library + + diff --git a/dev-ml/metrics/metrics-0.2.0.ebuild b/dev-ml/metrics/metrics-0.2.0.ebuild new file mode 100644 index 0000000000..8570938e4e --- /dev/null +++ b/dev-ml/metrics/metrics-0.2.0.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit dune multiprocessing + +DESCRIPTION="Infrastructure to collect metrics from OCaml applications" +HOMEPAGE="https://github.com/mirage/metrics" +SRC_URI="https://github.com/mirage/metrics/releases/download/${PV}/${P}.tbz" + +LICENSE="ISC" +SLOT="0/${PV}" +KEYWORDS="~amd64" +IUSE="influx lwt ocamlopt rusage test unix" + +RDEPEND=" + dev-ml/fmt + influx? ( + dev-ml/duration + dev-ml/lwt + ) + lwt? ( + dev-ml/lwt + dev-ml/logs + ) + rusage? ( dev-ml/logs ) + unix? ( + dev-ml/uuidm + dev-ml/mtime + sci-visualization/gnuplot + ) +" +DEPEND=" + ${RDEPEND} + test? ( dev-ml/alcotest ) +" + +RESTRICT="!test? ( test )" +REQUIRED_USE="test? ( lwt unix )" + +src_compile() { + local pkgs="metrics" + for u in influx lwt unix rusage ; do + if use ${u} ; then + pkgs="${pkgs},metrics-${u}" + fi + done + dune build -p "${pkgs}" -j $(makeopts_jobs) || die +} + +src_install() { + dune_src_install metrics + use influx && dune_src_install metrics-influx + use lwt && dune_src_install metrics-lwt + use rusage && dune_src_install metrics-rusage + use unix && dune_src_install metrics-unix +} diff --git a/dev-ml/mirage-block-unix/Manifest b/dev-ml/mirage-block-unix/Manifest new file mode 100644 index 0000000000..f766799d84 --- /dev/null +++ b/dev-ml/mirage-block-unix/Manifest @@ -0,0 +1 @@ +DIST mirage-block-unix-2.14.0.tar.gz 23692 BLAKE2B 398e6c0c1a3d48d47aa9dd8a990c537c8afb6e4979867cf3b6ab67c66f06855995a25f0ed4b5b00ac2069a891ba416ab1d776e2699623262952f0154baa8b0d8 SHA512 6c6a98670f0c5763cbff027308df97456af975b572dbc20a64f8410e48f7d5b4ad08007aa33d7020203a7f0f060c06b4b2a17461abb909d3561cccd5ef7421ab diff --git a/dev-ml/mirage-block-unix/metadata.xml b/dev-ml/mirage-block-unix/metadata.xml new file mode 100644 index 0000000000..e0c0fc9945 --- /dev/null +++ b/dev-ml/mirage-block-unix/metadata.xml @@ -0,0 +1,11 @@ + + + + + lssndrbarbieri@gmail.com + Alessandro Barbieri + + + mirage/mirage-block-unix + + diff --git a/dev-ml/mirage-block-unix/mirage-block-unix-2.14.0.ebuild b/dev-ml/mirage-block-unix/mirage-block-unix-2.14.0.ebuild new file mode 100644 index 0000000000..6ef1150c25 --- /dev/null +++ b/dev-ml/mirage-block-unix/mirage-block-unix-2.14.0.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit dune + +DESCRIPTION="Unix implementation of the Mirage_types.BLOCK interface" +HOMEPAGE="https://github.com/mirage/mirage-block-unix" +SRC_URI="https://github.com/mirage/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="ISC" +SLOT="0/${PV}" +KEYWORDS="~amd64" +IUSE="ocamlopt test" + +RDEPEND=" + dev-ml/cstruct[lwt] + dev-ml/lwt + dev-ml/mirage-block + dev-ml/rresult + dev-ml/uri + dev-ml/logs + dev-ml/io-page + +" +DEPEND=" + ${RDEPEND} + test? ( + dev-ml/fmt + >=dev-ml/ounit-2 + dev-ml/diet + ) +" + +RESTRICT="!test? ( test )" diff --git a/dev-ml/mirage-block/Manifest b/dev-ml/mirage-block/Manifest new file mode 100644 index 0000000000..e9e5cfc399 --- /dev/null +++ b/dev-ml/mirage-block/Manifest @@ -0,0 +1 @@ +DIST mirage-block-3.0.0.tar.gz 9920 BLAKE2B e35702a2a363117270c9d6f637d509c8a5f236535018907d47ea1d5a83dc5efbb8eddbb4b9562ce3b6b991197abfbd83b4c6c8679fddee034037465586842192 SHA512 e8580ac754a2d5e90dfb0fa5c0709014bdcd5c76c818ab5f471392d218e5cd8cfe4de8d5cebfdb713cedc3b1ecf50541818d9d835a99a5dd6636ba7fc15a0958 diff --git a/dev-ml/mirage-block/metadata.xml b/dev-ml/mirage-block/metadata.xml new file mode 100644 index 0000000000..f1b9cef231 --- /dev/null +++ b/dev-ml/mirage-block/metadata.xml @@ -0,0 +1,14 @@ + + + + + lssndrbarbieri@gmail.com + Alessandro Barbieri + + + mirage/mirage-block + + + Build the package specialised to the Lwt concurrency library for IO + + diff --git a/dev-ml/mirage-block/mirage-block-3.0.0.ebuild b/dev-ml/mirage-block/mirage-block-3.0.0.ebuild new file mode 100644 index 0000000000..89393a9bd8 --- /dev/null +++ b/dev-ml/mirage-block/mirage-block-3.0.0.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit dune multiprocessing + +DESCRIPTION="Block implementations for mirage" +HOMEPAGE="https://github.com/mirage/mirage-block" +SRC_URI="https://github.com/mirage/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="ISC" +SLOT="0/${PV}" +KEYWORDS="~amd64" +IUSE="combinators ocamlopt" + +RDEPEND=" + dev-ml/cstruct + dev-ml/lwt + dev-ml/fmt + + combinators? ( + dev-ml/io-page + dev-ml/logs + ) +" +DEPEND="${RDEPEND}" + +src_compile() { + local pkgs="mirage-block" + use combinators && pkgs="${pkgs},mirage-block-combinators" + dune build -p "${pkgs}" -j $(makeopts_jobs) || die +} + +src_install() { + dune_src_install mirage-block + use combinators && dune_src_install mirage-block-combinators +} diff --git a/dev-ml/mirage-channel/Manifest b/dev-ml/mirage-channel/Manifest new file mode 100644 index 0000000000..91a6a024ca --- /dev/null +++ b/dev-ml/mirage-channel/Manifest @@ -0,0 +1 @@ +DIST mirage-channel-4.1.0.tar.gz 8219 BLAKE2B 946d012d286d550ba5cae9c91bccb0b1cefedf61fae0787c19424e1e089d37bd0a67c1fb69067ecc2f73b5869c498639460027afdaa2eb66b064ca776512fe47 SHA512 92130890acfcbc2ab1c4882259b10e2ac6d608c9ed1bb7e98d1356b1239e0518790829e295c1d14f34a5621640f0fa41b732945e66f98a47dadab53b142461ec diff --git a/dev-ml/mirage-channel/metadata.xml b/dev-ml/mirage-channel/metadata.xml new file mode 100644 index 0000000000..fa66e57c18 --- /dev/null +++ b/dev-ml/mirage-channel/metadata.xml @@ -0,0 +1,11 @@ + + + + + lssndrbarbieri@gmail.com + Alessandro Barbieri + + + mirage/mirage-channel + + diff --git a/dev-ml/mirage-channel/mirage-channel-4.1.0.ebuild b/dev-ml/mirage-channel/mirage-channel-4.1.0.ebuild new file mode 100644 index 0000000000..5b7981845b --- /dev/null +++ b/dev-ml/mirage-channel/mirage-channel-4.1.0.ebuild @@ -0,0 +1,23 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit dune + +DESCRIPTION="An implementation of channels using page-aligned memory" +HOMEPAGE="https://github.com/mirage/mirage-time" +SRC_URI="https://github.com/mirage/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="ISC" +SLOT="0/${PV}" +KEYWORDS="~amd64" +IUSE="ocamlopt" + +RDEPEND=" + dev-ml/cstruct + dev-ml/logs + dev-ml/lwt + dev-ml/mirage-flow +" +DEPEND="${RDEPEND}" diff --git a/dev-ml/mirage-crypto/Manifest b/dev-ml/mirage-crypto/Manifest new file mode 100644 index 0000000000..bda186885e --- /dev/null +++ b/dev-ml/mirage-crypto/Manifest @@ -0,0 +1 @@ +DIST mirage-crypto-v0.10.1.tbz 1200115 BLAKE2B 4a7557adb0e16834a6e298fb52f40b85e67cde44fdc04607dfd46a8a29a1957e1a61bfcec1c35f80477e1319dc2fe850fc65aac3c07ba9b706e6cfdec563a0e6 SHA512 08ba60ae7cc0e0c77b4d71fa05241bfd2e47bfb907cf7e1a4f6bd8bf62854ee82becd2f4e65eade1a01b58d91fb33829f4f69b39e8910df9cfeaa87c933a336d diff --git a/dev-ml/mirage-crypto/metadata.xml b/dev-ml/mirage-crypto/metadata.xml new file mode 100644 index 0000000000..e05bee98be --- /dev/null +++ b/dev-ml/mirage-crypto/metadata.xml @@ -0,0 +1,19 @@ + + + + + co-maintainers welcome + lssndrbarbieri@gmail.com + Alessandro Barbieri + + + mirage/mirage-crypto + + + Elliptic Curve Cryptography with primitives taken from Fiat + Simple public-key cryptography for the modern age + A cryptographically secure PRNG + Feed the entropy source in an Async-friendly way + Entropy collection for a cryptographically secure PRNG + + diff --git a/dev-ml/mirage-crypto/mirage-crypto-0.10.1.ebuild b/dev-ml/mirage-crypto/mirage-crypto-0.10.1.ebuild new file mode 100644 index 0000000000..3b71217ebf --- /dev/null +++ b/dev-ml/mirage-crypto/mirage-crypto-0.10.1.ebuild @@ -0,0 +1,85 @@ +# Copyright 2020-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit dune multiprocessing + +MY_P="${PN}-v${PV}" + +DESCRIPTION="Simple symmetric cryptography for the modern age" +HOMEPAGE="https://github.com/mirage/mirage-crypto" +SRC_URI="https://github.com/mirage/mirage-crypto/releases/download/v${PV}/${MY_P}.tbz" +S="${WORKDIR}/${MY_P}" + +LICENSE="ISC" +SLOT="0/${PV}" +KEYWORDS="~amd64" +IUSE="ec ocamlopt pk rng rng-async rng-mirage test" + +DEPEND=" + dev-ml/cstruct + dev-ml/dune-configurator + dev-ml/eqaf + + pk? ( + dev-libs/gmp + dev-ml/mirage + dev-ml/sexplib0 + dev-ml/zarith + ) + rng? ( + dev-ml/duration + dev-ml/logs + ) + rng-async? ( dev-ml/async ) + rng-mirage? ( + dev-ml/lwt + dev-ml/mirage + dev-ml/mirage-clock + dev-ml/mirage-time[unix] + dev-ml/mirage-unix + ) +" +RDEPEND=" + ${DEPEND} + test? ( + >=dev-ml/ounit-2 + dev-ml/randomconv + dev-ml/hex + dev-ml/asn1-combinators + dev-ml/ppx_deriving + dev-ml/ppx_deriving_yojson + dev-ml/yojson + dev-ml/alcotest + ) +" +BDEPEND="virtual/pkgconfig" + +RESTRICT="!test? ( test )" +REQUIRED_USE=" + test? ( ec pk rng ) + ec? ( rng ) + pk? ( rng ) + rng-async? ( rng ) + rng-mirage? ( rng ) +" + +src_compile() { + local pkgs="mirage-crypto" + for u in rng rng-async rng-mirage pk ec ; do + if use ${u} ; then + pkgs="${pkgs},mirage-crypto-${u}" + fi + done + dune build -p "${pkgs}" -j $(makeopts_jobs) || die +} + +src_install() { + dune_src_install mirage-crypto + use rng && dune_src_install mirage-crypto-rng + use ec && dune_src_install mirage-crypto-ec + use pk && dune_src_install mirage-crypto-pk + use rng-async && dune_src_install mirage-crypto-rng-async + use rng-mirage && dune_src_install mirage-crypto-rng-mirage +} diff --git a/dev-ml/mirage-flow/Manifest b/dev-ml/mirage-flow/Manifest new file mode 100644 index 0000000000..c2479cfbf8 --- /dev/null +++ b/dev-ml/mirage-flow/Manifest @@ -0,0 +1 @@ +DIST mirage-flow-3.0.0.tar.gz 11463 BLAKE2B 7d2060516b9de854567818dd1ab037d0b90d8e405a7e33ef6eca4ef6dba0c1d5520ce45083d1a7b245e04b5a697622bd53e4cf3a6bbc65ad6a31197b44178aa6 SHA512 0397bf5a1bea5ae91c498fe0a56f5b5e863b59709938bca91ae75c998435a221199ffb9a26ab06bf238fce0a34e06a3c3f3794bca5ad9d95114eca03b5ff7e8c diff --git a/dev-ml/mirage-flow/metadata.xml b/dev-ml/mirage-flow/metadata.xml new file mode 100644 index 0000000000..c94d178337 --- /dev/null +++ b/dev-ml/mirage-flow/metadata.xml @@ -0,0 +1,15 @@ + + + + + lssndrbarbieri@gmail.com + Alessandro Barbieri + + + mirage/mirage-flow + + + Flow implementations and combinators for MirageOS specialized to lwt + Flow implementations and combinators for MirageOS on Unix + + diff --git a/dev-ml/mirage-flow/mirage-flow-3.0.0.ebuild b/dev-ml/mirage-flow/mirage-flow-3.0.0.ebuild new file mode 100644 index 0000000000..81747855f1 --- /dev/null +++ b/dev-ml/mirage-flow/mirage-flow-3.0.0.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit dune multiprocessing + +DESCRIPTION="Flow implementations for Mirage" +HOMEPAGE="https://github.com/mirage/mirage-flow" +SRC_URI="https://github.com/mirage/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="ISC" +SLOT="0/${PV}" +KEYWORDS="~amd64" +IUSE="combinators ocamlopt test unix" + +RDEPEND=" + combinators? ( dev-ml/mirage-clock ) + dev-ml/cstruct + dev-ml/fmt + dev-ml/logs + dev-ml/lwt +" +DEPEND=" + ${RDEPEND} + test? ( dev-ml/alcotest ) +" + +REQUIRED_USE="test? ( combinators unix )" +RESTRICT="!test? ( test )" + +src_compile() { + local pkgs="mirage-flow" + for u in combinators unix ; do + if use ${u} ; then + pkgs="${pkgs},mirage-flow-${u}" + fi + done + dune build -p "${pkgs}" -j $(makeopts_jobs) || die +} + +src_install() { + dune_src_install mirage-flow + use combinators && dune_src_install mirage-flow-combinators + use unix && dune_src_install mirage-flow-unix +} diff --git a/dev-ml/mirage-kv/Manifest b/dev-ml/mirage-kv/Manifest new file mode 100644 index 0000000000..f62a4df364 --- /dev/null +++ b/dev-ml/mirage-kv/Manifest @@ -0,0 +1 @@ +DIST mirage-kv-4.0.1.tar.gz 6043 BLAKE2B 5b98347bca279f5ab263308538a75fc1ef72b1e44abae8ad7f36c119ac1e1867c4b36ed58c8dd52cc70b26c101ddda623cfe41d59e7570b585ca3643fae75080 SHA512 16fba72945026cebdd655d1e49b3d86214c29761a573131ad40d5283e796327951dc16cc2853d3d40f5ed5923ad81e7d0393a20d68ba66bb8f9c47eae0a030b0 diff --git a/dev-ml/mirage-kv/metadata.xml b/dev-ml/mirage-kv/metadata.xml new file mode 100644 index 0000000000..69b772df1c --- /dev/null +++ b/dev-ml/mirage-kv/metadata.xml @@ -0,0 +1,11 @@ + + + + + lssndrbarbieri@gmail.com + Alessandro Barbieri + + + mirage/mirage-kv + + diff --git a/dev-ml/mirage-kv/mirage-kv-4.0.1.ebuild b/dev-ml/mirage-kv/mirage-kv-4.0.1.ebuild new file mode 100644 index 0000000000..7c2005726e --- /dev/null +++ b/dev-ml/mirage-kv/mirage-kv-4.0.1.ebuild @@ -0,0 +1,21 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit dune + +DESCRIPTION="MirageOS signature for key/value stores" +HOMEPAGE="https://github.com/mirage/mirage-time" +SRC_URI="https://github.com/mirage/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="ISC" +SLOT="0/${PV}" +KEYWORDS="~amd64" +IUSE="ocamlopt" + +RDEPEND=" + dev-ml/fmt + dev-ml/lwt +" +DEPEND="${RDEPEND}" diff --git a/dev-ml/mirage-net/Manifest b/dev-ml/mirage-net/Manifest new file mode 100644 index 0000000000..5256306e4d --- /dev/null +++ b/dev-ml/mirage-net/Manifest @@ -0,0 +1 @@ +DIST mirage-net-v4.0.0.tbz 3935 BLAKE2B f41dfd68d98048bd98baa6251ca91f7d7a21bfa4b7055bc93be8b51127131375a29f4294b0b5f6058dd34038c40afcc638a9ac4e3b25cb5fc94238aa959370c4 SHA512 52064dc704ebd0d305fd234b6d89fc313d5a80016d8875ef93212a1962ad8b1f332f7b0338244afbb2d2f207a28d476e7d7639be9dc607d95145afee7fccc483 diff --git a/dev-ml/mirage-net/metadata.xml b/dev-ml/mirage-net/metadata.xml new file mode 100644 index 0000000000..dae051bbbf --- /dev/null +++ b/dev-ml/mirage-net/metadata.xml @@ -0,0 +1,11 @@ + + + + + lssndrbarbieri@gmail.com + Alessandro Barbieri + + + mirage/mirage-net + + diff --git a/dev-ml/mirage-net/mirage-net-4.0.0.ebuild b/dev-ml/mirage-net/mirage-net-4.0.0.ebuild new file mode 100644 index 0000000000..f9d83337c8 --- /dev/null +++ b/dev-ml/mirage-net/mirage-net-4.0.0.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit dune + +MY_P="${PN}-v${PV}" + +DESCRIPTION="Network devices for MirageOS" +HOMEPAGE="https://github.com/mirage/mirage-net" +SRC_URI="https://github.com/mirage/${PN}/releases/download/v${PV}/${MY_P}.tbz" +S="${WORKDIR}/${MY_P}" + +LICENSE="ISC" +SLOT="0/${PV}" +KEYWORDS="~amd64" +IUSE="ocamlopt" + +RDEPEND=" + dev-ml/fmt + dev-ml/ipaddr + dev-ml/lwt + >=dev-ml/cstruct-4.0.0 +" +DEPEND="${RDEPEND}" diff --git a/dev-ml/mirage-profile/metadata.xml b/dev-ml/mirage-profile/metadata.xml index 7f44c78f27..d19645d326 100644 --- a/dev-ml/mirage-profile/metadata.xml +++ b/dev-ml/mirage-profile/metadata.xml @@ -9,6 +9,7 @@ mirage/mirage-profile - Adds a Xen MirageOS backend collector + Adds a Unix backend collector + diff --git a/dev-ml/mirage-profile/mirage-profile-0.9.1.ebuild b/dev-ml/mirage-profile/mirage-profile-0.9.1.ebuild index b5f8080af1..341d92f632 100644 --- a/dev-ml/mirage-profile/mirage-profile-0.9.1.ebuild +++ b/dev-ml/mirage-profile/mirage-profile-0.9.1.ebuild @@ -13,27 +13,35 @@ S="${WORKDIR}/mirage-profile-${PV}" LICENSE="BSD-2" SLOT="0/${PV}" KEYWORDS="~amd64" -IUSE="ocamlopt xen" +IUSE="ocamlopt unix" # xen RDEPEND=" - dev-ml/mtime - dev-ml/io-page + dev-ml/cstruct + dev-ml/lwt dev-ml/ocplib-endian - xen? ( - dev-ml/mirage-xen - dev-ml/xenstore - ) + unix? ( dev-ml/mtime ) +" +# xen? ( +# dev-ml/io-page[xen] +# dev-ml/mirage-xen +# dev-ml/mirage-xen-minios +# dev-ml/xenstore +# ) +DEPEND=" + ${RDEPEND} + dev-ml/cstruct[ppx] " -DEPEND="${RDEPEND}" src_compile() { - local pkgs="mirage-profile-unix,mirage-profile" - use xen && pkgs="${pkgs},mirage-profile-xen" - dune build --only-packages "${pkgs}" -j $(makeopts_jobs) --profile release || die + local pkgs="mirage-profile" +# use xen && pkgs="${pkgs},mirage-profile-xen" + use unix && pkgs="${pkgs},mirage-profile-unix" + dune build -p "${pkgs}" -j $(makeopts_jobs) || die } src_install() { - dune_src_install mirage-profile mirage-profile-unix - use xen && dune_src_install mirage-profile-xen + dune_src_install mirage-profile + use unix && dune_src_install mirage-profile-unix +# use xen && dune_src_install mirage-profile-xen } diff --git a/dev-ml/mirage-random-test/Manifest b/dev-ml/mirage-random-test/Manifest new file mode 100644 index 0000000000..3cc8765d96 --- /dev/null +++ b/dev-ml/mirage-random-test/Manifest @@ -0,0 +1 @@ +DIST mirage-random-test-v0.1.0.tbz 2187 BLAKE2B 89547b5d14f37d6cbc0410b9ff66d29a23074664002e9ba3c7eb2641c9d6e30ce7fdbc92b38684c6523bcfb60e089dff91a60b8378cd637c3d05525a35450ae2 SHA512 8c155111d0a9b9f5b557597b250ea4a53b84eb6e9f3f50e9a47092c8844c7de08857ddfd078b5237f7e7d097da4f3a4bc8d704fa577bacd1c9150550503e5dd2 diff --git a/dev-ml/mirage-random-test/metadata.xml b/dev-ml/mirage-random-test/metadata.xml new file mode 100644 index 0000000000..f71fbc3cbb --- /dev/null +++ b/dev-ml/mirage-random-test/metadata.xml @@ -0,0 +1,11 @@ + + + + + lssndrbarbieri@gmail.com + Alessandro Barbieri + + + mirage/mirage-random-test + + diff --git a/dev-ml/mirage-random-test/mirage-random-test-0.1.0.ebuild b/dev-ml/mirage-random-test/mirage-random-test-0.1.0.ebuild new file mode 100644 index 0000000000..ee179da91d --- /dev/null +++ b/dev-ml/mirage-random-test/mirage-random-test-0.1.0.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit dune + +MY_P="${PN}-v${PV}" + +DESCRIPTION="A stub implementation providing the Mirage_random.C interface for testing" +HOMEPAGE="https://github.com/mirage/mirage-random-test" +SRC_URI="https://github.com/mirage/${PN}/releases/download/v${PV}/${MY_P}.tbz" +S="${WORKDIR}/${MY_P}" + +LICENSE="ISC" +SLOT="0/${PV}" +KEYWORDS="~amd64" +IUSE="ocamlopt" + +RDEPEND=" + dev-ml/cstruct + dev-ml/mirage-random +" +DEPEND="${RDEPEND}" diff --git a/dev-ml/mirage-random/Manifest b/dev-ml/mirage-random/Manifest new file mode 100644 index 0000000000..ef33bda990 --- /dev/null +++ b/dev-ml/mirage-random/Manifest @@ -0,0 +1 @@ +DIST mirage-random-v3.0.0.tbz 2254 BLAKE2B 0c3033e97d38d1b5cc1135f31c96f20d236aa90e91755de9680d22c749ff0a589c3945f0b6a6670be9fc907065fc5709f862ffea125d879f1b9a5004754968da SHA512 5d16855740e04f8efe5bcd5a7596ccffb5b927a616c5e6de4a5f5bd96e2f9f8f3b030d8b216156cac897d49a64b0f5bd7f89c30c787c3d9be63ab952c9984160 diff --git a/dev-ml/mirage-random/metadata.xml b/dev-ml/mirage-random/metadata.xml new file mode 100644 index 0000000000..dd61869c6c --- /dev/null +++ b/dev-ml/mirage-random/metadata.xml @@ -0,0 +1,11 @@ + + + + + lssndrbarbieri@gmail.com + Alessandro Barbieri + + + mirage/mirage-random + + diff --git a/dev-ml/mirage-random/mirage-random-3.0.0.ebuild b/dev-ml/mirage-random/mirage-random-3.0.0.ebuild new file mode 100644 index 0000000000..dec9d49d0a --- /dev/null +++ b/dev-ml/mirage-random/mirage-random-3.0.0.ebuild @@ -0,0 +1,21 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit dune + +MY_P="${PN}-v${PV}" + +DESCRIPTION="Random-related devices for MirageOS" +HOMEPAGE="https://github.com/mirage/mirage-random" +SRC_URI="https://github.com/mirage/${PN}/releases/download/v${PV}/${MY_P}.tbz" +S="${WORKDIR}/${MY_P}" + +LICENSE="ISC" +SLOT="0/${PV}" +KEYWORDS="~amd64" +IUSE="ocamlopt" + +DEPEND="dev-ml/cstruct" +RDEPEND="${DEPEND}" diff --git a/dev-ml/mirage-time/Manifest b/dev-ml/mirage-time/Manifest new file mode 100644 index 0000000000..2dcef863a4 --- /dev/null +++ b/dev-ml/mirage-time/Manifest @@ -0,0 +1 @@ +DIST mirage-time-3.0.0.tar.gz 2710 BLAKE2B 0dbdfe1e995a5e297e1ed23d704ffc2fdad6cf958420cd5ff98bb440d1e03606c543a3401fdfb288a7ddb34fcec6ab2c2ae4172ac9294bb33bc00fb3a3b85b8c SHA512 a3b72b1bbc7d5794e33a1fffab0808be1b4e89a722e9ceab88fe615ea5d3921c256f1ddfa8962f80e0c8d4eea0b11df95c03248d4a47709be4e7a000659ac51e diff --git a/dev-ml/mirage-time/metadata.xml b/dev-ml/mirage-time/metadata.xml new file mode 100644 index 0000000000..a721ce060b --- /dev/null +++ b/dev-ml/mirage-time/metadata.xml @@ -0,0 +1,14 @@ + + + + + lssndrbarbieri@gmail.com + Alessandro Barbieri + + + mirage/mirage-time + + + Time operations for MirageOS on Unix + + diff --git a/dev-ml/mirage-time/mirage-time-3.0.0.ebuild b/dev-ml/mirage-time/mirage-time-3.0.0.ebuild new file mode 100644 index 0000000000..bd650d930a --- /dev/null +++ b/dev-ml/mirage-time/mirage-time-3.0.0.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit dune multiprocessing + +DESCRIPTION="Time signatures for MirageOS" +HOMEPAGE="https://github.com/mirage/mirage-time" +SRC_URI="https://github.com/mirage/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="ISC" +SLOT="0/${PV}" +KEYWORDS="~amd64" +IUSE="ocamlopt unix" + +RDEPEND=" + dev-ml/lwt + unix? ( dev-ml/duration ) +" +DEPEND="${RDEPEND}" + +src_compile() { + local pkgs="mirage-time" + use unix && pkgs="${pkgs},mirage-time-unix" + dune build -p "${pkgs}" -j $(makeopts_jobs) || die +} + +src_install() { + dune_src_install mirage-time + use unix && dune_src_install mirage-time-unix +} diff --git a/dev-ml/mirage-unix/Manifest b/dev-ml/mirage-unix/Manifest new file mode 100644 index 0000000000..ad93efac95 --- /dev/null +++ b/dev-ml/mirage-unix/Manifest @@ -0,0 +1 @@ +DIST mirage-unix-v5.0.0.tar.gz 9801 BLAKE2B c34426db046b5578f2f9130c16a5fbcf93f5c79b76da7009836d96c6476a3f4fb5e2de25ff8a595cbddb6f61527a9140322afefd1de978888fe8731434bd9907 SHA512 5ca5dc54d9e3eac5b94f59d44b70eb89b3595fb0d09368b8f9fe64f97837bc6675c9319993bde21210dec04806e6f73f0c0a93e7f183b1508941d9844c1ab5d3 diff --git a/dev-ml/mirage-unix/metadata.xml b/dev-ml/mirage-unix/metadata.xml new file mode 100644 index 0000000000..e213abe988 --- /dev/null +++ b/dev-ml/mirage-unix/metadata.xml @@ -0,0 +1,11 @@ + + + + + lssndrbarbieri@gmail.com + Alessandro Barbieri + + + mirage/mirage-unix + + diff --git a/dev-ml/mirage-unix/mirage-unix-5.0.0.ebuild b/dev-ml/mirage-unix/mirage-unix-5.0.0.ebuild new file mode 100644 index 0000000000..c40ec29f22 --- /dev/null +++ b/dev-ml/mirage-unix/mirage-unix-5.0.0.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit dune + +MYP="${PN}-v${PV}" + +DESCRIPTION="Unix core platform libraries for MirageOS" +HOMEPAGE="https://github.com/mirage/mirage-unix" +SRC_URI="https://github.com/mirage/${PN}/archive/v${PV}.tar.gz -> ${MYP}.tar.gz" +S="${WORKDIR}/${MYP}" + +LICENSE="ISC" +SLOT="0/${PV}" +KEYWORDS="~amd64" +IUSE="ocamlopt" + +RDEPEND=" + dev-ml/duration + dev-ml/io-page + dev-ml/lwt + dev-ml/mirage +" +DEPEND="${RDEPEND}" diff --git a/dev-ml/mirage-vnetif/Manifest b/dev-ml/mirage-vnetif/Manifest new file mode 100644 index 0000000000..1d08c3b65d --- /dev/null +++ b/dev-ml/mirage-vnetif/Manifest @@ -0,0 +1 @@ +DIST mirage-vnetif-0.6.0.tbz 11787 BLAKE2B 62cace0cc86cb0e167b7604c592907cfc73efbfdb97b82cbdc7957f8c689717df0ae80f6c2a1579d8e11e749f50b5c92ca847d99ca22539df84cf2672191993d SHA512 c3202e2e2d5025d8f71fab8aea60495ad7b2f864d1bee6e0909cde088a8a080305279537b3f412ea3050dc35b4e39ce224e34a0c6b944f80c7d28a524ef56111 diff --git a/dev-ml/mirage-vnetif/metadata.xml b/dev-ml/mirage-vnetif/metadata.xml new file mode 100644 index 0000000000..6d156933bb --- /dev/null +++ b/dev-ml/mirage-vnetif/metadata.xml @@ -0,0 +1,14 @@ + + + + + lssndrbarbieri@gmail.com + Alessandro Barbieri + + + mirage/mirage-vnetif + + + Vnetif implementation of mirage-stack for Mirage TCP/IP + + diff --git a/dev-ml/mirage-vnetif/mirage-vnetif-0.6.0.ebuild b/dev-ml/mirage-vnetif/mirage-vnetif-0.6.0.ebuild new file mode 100644 index 0000000000..5bf9f7f539 --- /dev/null +++ b/dev-ml/mirage-vnetif/mirage-vnetif-0.6.0.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit dune multiprocessing + +DESCRIPTION="Virtual network interface and software bridge for Mirage" +HOMEPAGE="https://github.com/mirage/mirage-vnetif" +SRC_URI="https://github.com/mirage/${PN}/releases/download/v${PV}/${P}.tbz" + +LICENSE="ISC" +SLOT="0/${PV}" +KEYWORDS="~amd64" +IUSE="ocamlopt stack test" + +RDEPEND=" + dev-ml/result + dev-ml/lwt + dev-ml/mirage-net + dev-ml/cstruct + dev-ml/ipaddr + dev-ml/mirage-profile + dev-ml/duration + dev-ml/logs + + stack? ( + dev-ml/mirage-time + dev-ml/mirage-clock + dev-ml/mirage-random + dev-ml/tcpip + dev-ml/ethernet + dev-ml/arp + ) +" +DEPEND=" + ${RDEPEND} + test? ( + dev-ml/alcotest + dev-ml/mirage-random-test + ) +" + +RESTRICT="!test? ( test )" +REQUIRED_USE="test? ( stack )" + +src_compile() { + local pkgs="mirage-vnetif" + use stack && pkgs="${pkgs},mirage-vnetif-stack" + dune build -p "${pkgs}" -j $(makeopts_jobs) || die +} + +src_install() { + dune_src_install mirage-vnetif + use stack && dune_src_install mirage-vnetif-stack +} diff --git a/dev-ml/mirage/mirage-4.0.0.ebuild b/dev-ml/mirage/mirage-4.0.0.ebuild index f8f71c5388..c92432695a 100644 --- a/dev-ml/mirage/mirage-4.0.0.ebuild +++ b/dev-ml/mirage/mirage-4.0.0.ebuild @@ -18,17 +18,17 @@ KEYWORDS="~amd64" IUSE="ocamlopt" RDEPEND=" - dev-ml/ipaddr - dev-ml/bos - dev-ml/astring - dev-ml/logs - dev-ml/lwt - dev-ml/emile - dev-ml/cmdliner - dev-ml/base - dev-ml/result - dev-ml/rresult - dev-ml/uri + dev-ml/ipaddr:= + dev-ml/bos:= + dev-ml/astring:= + dev-ml/logs:= + dev-ml/lwt:= + dev-ml/emile:= + >=dev-ml/cmdliner-1.1.1:= + dev-ml/base:= + dev-ml/result:= + dev-ml/rresult:= + dev-ml/uri:= " DEPEND="${RDEPEND}" diff --git a/dev-ml/mustache/Manifest b/dev-ml/mustache/Manifest new file mode 100644 index 0000000000..c2b5418f03 --- /dev/null +++ b/dev-ml/mustache/Manifest @@ -0,0 +1 @@ +DIST mustache-3.1.0.tar.gz 21162 BLAKE2B 6a0d54414ac0154d85023a02e9f2e6f256edb528392a89024566a8903b3d80beaa1ccf0d78af523a3c186f0ca09175848579564fcbc7c847ed7491fc527a46bf SHA512 00657c9a5a5bd07ffc2922e4e35b66e07d2da111c6a9f2d2410dda933d99c436ff93a051d1ce8b76257ae6c8d45589a223f76521ab9d3621353f696f13188503 diff --git a/dev-ml/mustache/metadata.xml b/dev-ml/mustache/metadata.xml new file mode 100644 index 0000000000..97dc892423 --- /dev/null +++ b/dev-ml/mustache/metadata.xml @@ -0,0 +1,11 @@ + + + + + lssndrbarbieri@gmail.com + Alessandro Barbieri + + + rgrinberg/ocaml-mustache + + diff --git a/dev-ml/mustache/mustache-3.1.0.ebuild b/dev-ml/mustache/mustache-3.1.0.ebuild new file mode 100644 index 0000000000..afd8eea783 --- /dev/null +++ b/dev-ml/mustache/mustache-3.1.0.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit dune + +MYPN="ocaml-${PN}" + +DESCRIPTION="mustache.js logic-less templates in OCaml" +HOMEPAGE="https://github.com/rgrinberg/ocaml-mustache" +SRC_URI="https://github.com/rgrinberg/${MYPN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/${MYPN}-${PV}" + +LICENSE="MIT" +SLOT="0/${PV}" +KEYWORDS="~amd64" +IUSE="ocamlopt test" + +DEPEND=" + dev-ml/jsonm + dev-ml/menhir + dev-ml/cmdliner +" +RDEPEND=" + ${DEPEND} + test? ( + dev-ml/ounit + dev-ml/ezjsonm + ) +" + +RESTRICT="!test? ( test )" diff --git a/dev-ml/nbd/Manifest b/dev-ml/nbd/Manifest new file mode 100644 index 0000000000..f3c31ffc7f --- /dev/null +++ b/dev-ml/nbd/Manifest @@ -0,0 +1 @@ +DIST nbd-5.0.0.tar.gz 45288 BLAKE2B 783f54a633693315493d4e6edfb900aa885a41e0233514f75dde4658f9e60bfa9a076d3c314e83987f98d41ef7b632e79d2527389d6e1232c8488fb8454a6528 SHA512 33bece2c02666b39ab671ea5ae3425780deaa542ae135d01a7c5f9c4020a0e3953a4811cc1cfc2d02bed4d143d469d8425f5c9bf0b6df4bc444c3326826f129f diff --git a/dev-ml/nbd/metadata.xml b/dev-ml/nbd/metadata.xml new file mode 100644 index 0000000000..560dfe8550 --- /dev/null +++ b/dev-ml/nbd/metadata.xml @@ -0,0 +1,15 @@ + + + + + lssndrbarbieri@gmail.com + Alessandro Barbieri + + + xapi-project/nbd + + + command line helper for serving and mirroring disks over NBD, and getting information about the disks exported by an NBD server + Lwt_unix implementation + + diff --git a/dev-ml/nbd/nbd-5.0.0.ebuild b/dev-ml/nbd/nbd-5.0.0.ebuild new file mode 100644 index 0000000000..6885181656 --- /dev/null +++ b/dev-ml/nbd/nbd-5.0.0.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit dune multiprocessing + +DESCRIPTION="Ocaml NBD library" +HOMEPAGE="https://github.com/xapi-project/nbd" +SRC_URI="https://github.com/xapi-project/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="LGPL-2.1-with-linking-exception" +SLOT="0/${PV}" +KEYWORDS="~amd64" +IUSE="ocamlopt test tool unix" + +RDEPEND=" + dev-ml/cstruct[ppx] + dev-ml/io-page + dev-ml/mirage-block-unix + dev-ml/lwt + dev-ml/lwt_log + dev-ml/ppx_sexp_conv + dev-ml/rresult + dev-ml/sexplib + dev-ml/uri + + tool? ( dev-ml/cmdliner ) + unix? ( + dev-ml/cstruct[lwt] + dev-ml/io-page[unix(-)] + dev-ml/lwt_ssl + dev-ml/ocaml-ssl + ) +" +DEPEND=" + ${RDEPEND} + test? ( + app-emulation/qemu + dev-ml/alcotest + dev-ml/io-page[unix(-)] + sys-block/nbd + || ( net-analyzer/openbsd-netcat net-analyzer/nmap[ncat] ) + ) +" + +RESTRICT="!test? ( test )" +REQUIRED_USE=" + tool? ( unix ) + test? ( tool ) +" + +src_compile() { + local pkgs="nbd" + for u in tool unix ; do + if use ${u} ; then + pkgs="${pkgs},nbd-${u}" + fi + done + dune build -p "${pkgs}" -j $(makeopts_jobs) || die +} + +src_install() { + dune_src_install nbd + use tool && dune_src_install nbd-tool + use unix && dune_src_install nbd-unix +} diff --git a/dev-ml/netlink/Manifest b/dev-ml/netlink/Manifest new file mode 100644 index 0000000000..3d0c34713c --- /dev/null +++ b/dev-ml/netlink/Manifest @@ -0,0 +1 @@ +DIST netlink-0.3.4.tar.gz 3508 BLAKE2B 778b2fea7252b03526715ef0ad400322c0d61ffcf56964f1c4e187af6dd85b5b9dfc9b66ffcb5b1ebf537b99e97bd42bde8a3e24f3b6ac5c932173c1957fae7b SHA512 fd68eaa52acaca3a044692141b1fef12db86a408f4f517c92b3d2717c2d1d98081686f7b80557b9b5653fbd78ee7b2c4c9415e65dce48b82e7818057e9af790a diff --git a/dev-ml/netlink/metadata.xml b/dev-ml/netlink/metadata.xml new file mode 100644 index 0000000000..1b255a1433 --- /dev/null +++ b/dev-ml/netlink/metadata.xml @@ -0,0 +1,11 @@ + + + + + lssndrbarbieri@gmail.com + Alessandro Barbieri + + + xapi-project/ocaml-netlink + + diff --git a/dev-ml/netlink/netlink-0.3.4.ebuild b/dev-ml/netlink/netlink-0.3.4.ebuild new file mode 100644 index 0000000000..a1f6b6e827 --- /dev/null +++ b/dev-ml/netlink/netlink-0.3.4.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit dune + +MYPN="ocaml-${PN}" + +DESCRIPTION="OCaml bindings to libnl" +HOMEPAGE="https://github.com/xapi-project/ocaml-netlink" +SRC_URI="https://github.com/xapi-project/${MYPN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/${MYPN}-${PV}" + +LICENSE="LGPL-2.1-with-linking-exception" +SLOT="0/${PV}" +KEYWORDS="~amd64" +IUSE="ocamlopt" + +DEPEND=" + dev-libs/libnl:3 + dev-ml/ocaml-ctypes +" +RDEPEND="${DEPEND}" diff --git a/dev-ml/ocaml_intrinsics/Manifest b/dev-ml/ocaml_intrinsics/Manifest new file mode 100644 index 0000000000..03876f324c --- /dev/null +++ b/dev-ml/ocaml_intrinsics/Manifest @@ -0,0 +1 @@ +DIST ocaml_intrinsics-0.15.0.tar.gz 24893 BLAKE2B 8cdefcb4f6ad3ea676dd9da417c41c0aff8cc6f3e55ca5ca72be52eb95fc1962093ad73c603e3b0beb0df681c120ca555ed9fdc8a0746f308522fafb4bcd665a SHA512 dff2fc6f1df71891fcc781e9a0b3b57c76834e3b82aca362ade86a639290a7a03d86be17bda60d862ad1ac20ea628792d60651277070b81c995d1d5a079914e1 diff --git a/dev-ml/ocaml_intrinsics/metadata.xml b/dev-ml/ocaml_intrinsics/metadata.xml new file mode 100644 index 0000000000..d9584e431e --- /dev/null +++ b/dev-ml/ocaml_intrinsics/metadata.xml @@ -0,0 +1,11 @@ + + + + + lssndrbarbieri@gmail.com + Alessandro Barbieri + + + janestreet/async_ssl + + diff --git a/dev-ml/ocaml_intrinsics/ocaml_intrinsics-0.15.0.ebuild b/dev-ml/ocaml_intrinsics/ocaml_intrinsics-0.15.0.ebuild new file mode 100644 index 0000000000..db513b3fea --- /dev/null +++ b/dev-ml/ocaml_intrinsics/ocaml_intrinsics-0.15.0.ebuild @@ -0,0 +1,18 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit dune + +DESCRIPTION="Functions to invoke amd64 instructions when available" +HOMEPAGE="https://github.com/janestreet/ocaml_intrinsics" +SRC_URI="https://github.com/janestreet/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0/${PV}" +KEYWORDS="~amd64" +IUSE="ocamlopt" + +RDEPEND="dev-ml/dune-configurator" +DEPEND="${RDEPEND}" diff --git a/dev-ml/ounit/Manifest b/dev-ml/ounit/Manifest new file mode 100644 index 0000000000..5fc736a568 --- /dev/null +++ b/dev-ml/ounit/Manifest @@ -0,0 +1 @@ +DIST ounit-2.2.6.tbz 58186 BLAKE2B 6d6305eebef450968dc0a87c01f0a591faa855cc829fd130783c1b3d1b0546e2a9e167be397314ed69bceb7afea222551940cbb60e502bb04635a7a4273ba8af SHA512 d7cb36a1fe245d02afab606cd1ee755a178ee4cb18fbbfec1df32baa88fa90ef6c9a50d9fd5bde46c7fd9c481f2debe4bafac75c4e3bdfbdb63fc18b0ccce3cc diff --git a/dev-ml/ounit/metadata.xml b/dev-ml/ounit/metadata.xml new file mode 100644 index 0000000000..6e56a9a78a --- /dev/null +++ b/dev-ml/ounit/metadata.xml @@ -0,0 +1,12 @@ + + + + + co-maintainers welcome + lssndrbarbieri@gmail.com + Alessandro Barbieri + + + This library contains helper functions for building Lwt tests using OUnit + + diff --git a/dev-ml/ounit/ounit-2.2.6.ebuild b/dev-ml/ounit/ounit-2.2.6.ebuild new file mode 100644 index 0000000000..9bbaaf352a --- /dev/null +++ b/dev-ml/ounit/ounit-2.2.6.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit dune findlib multiprocessing + +DESCRIPTION="Unit testing framework for OCaml" +HOMEPAGE="https://github.com/gildor478/ounit" +SRC_URI="https://github.com/gildor478/ounit/releases/download/v${PV}/${P}.tbz" + +LICENSE="MIT" +SLOT="0/${PV}" +KEYWORDS="~amd64" +IUSE="lwt ocamlopt" + +RDEPEND=" + dev-ml/base-bytes:= + dev-ml/base-unix:= + dev-ml/seq:= + dev-ml/stdlib-shims:= + + lwt? ( dev-ml/lwt:= ) +" +DEPEND="${RDEPEND}" + +src_compile() { + local pkgs="ounit,ounit2" + use lwt && pkgs="${pkgs},ounit-lwt,ounit2-lwt" + dune build -p "${pkgs}" -j $(makeopts_jobs) || die +} + +src_install() { + for p in ounit{,2} ; do + dune_src_install "${p}" + done + if use lwt; then + for p in ounit{,2}-lwt ; do + dune_src_install "${p}" + done + fi +} diff --git a/dev-ml/pbkdf/Manifest b/dev-ml/pbkdf/Manifest new file mode 100644 index 0000000000..32c5f4f373 --- /dev/null +++ b/dev-ml/pbkdf/Manifest @@ -0,0 +1 @@ +DIST pbkdf-1.1.0.tbz 5237 BLAKE2B 80d7e1984f30c73cfe846b665c01a4b417553430c2d0363bb5c1088fa390ccbf5d2d99106181b2ea2a91db0ecf23cc8bf361b59d58ce34c2578fe6a841b01ddf SHA512 7c31f5470b9028a5f0b3baf670494f26c632af0449e59911efbe126d71e69fe8ebd73522f4fc96761cd71b67125579a5bbd75762f8753f9fb8c746f98bbb0aa5 diff --git a/dev-ml/pbkdf/metadata.xml b/dev-ml/pbkdf/metadata.xml new file mode 100644 index 0000000000..d5235e07b9 --- /dev/null +++ b/dev-ml/pbkdf/metadata.xml @@ -0,0 +1,12 @@ + + + + + co-maintainers welcome + lssndrbarbieri@gmail.com + Alessandro Barbieri + + + abeaumont/ocaml-pbkdf + + diff --git a/dev-ml/pbkdf/pbkdf-1.1.0.ebuild b/dev-ml/pbkdf/pbkdf-1.1.0.ebuild new file mode 100644 index 0000000000..c1218918a9 --- /dev/null +++ b/dev-ml/pbkdf/pbkdf-1.1.0.ebuild @@ -0,0 +1,26 @@ +# Copyright 2020-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit dune + +DESCRIPTION="Password based key derivation functions (PBKDF) from PKCS#5" +HOMEPAGE="https://github.com/abeaumont/ocaml-pbkdf" +SRC_URI="https://github.com/abeaumont/ocaml-${PN}/releases/download/${PV}/${P}.tbz" + +LICENSE="BSD-2" +SLOT="0/${PV}" +KEYWORDS="~amd64" +IUSE="ocamlopt test" + +RDEPEND=" + dev-ml/cstruct + dev-ml/mirage-crypto +" +DEPEND=" + ${RDEPEND} + test? ( dev-ml/alcotest ) +" + +RESTRICT="!test? ( test )" diff --git a/dev-ml/pcap-format/Manifest b/dev-ml/pcap-format/Manifest new file mode 100644 index 0000000000..0d89aac10d --- /dev/null +++ b/dev-ml/pcap-format/Manifest @@ -0,0 +1 @@ +DIST pcap-format-0.5.2.tar.gz 6190 BLAKE2B c1be65a4006f6f2f5aa1f8f1af686e9d974c2188b148a60d950e86d4bc6a48924eb5e2b6d30b25d3a980a6086b774b5c2e4cad85ce0ad06f741c451d8f0d964f SHA512 aa7d58e1b30033c879ead653ed065ca418192fc37c7ec66abf8cdb52d62a0b1509b54febc519673345c1f15a24f381cb1f75cbd894ca991508461bd0a5fa139b diff --git a/dev-ml/pcap-format/metadata.xml b/dev-ml/pcap-format/metadata.xml new file mode 100644 index 0000000000..39e9c8c14e --- /dev/null +++ b/dev-ml/pcap-format/metadata.xml @@ -0,0 +1,12 @@ + + + + + co-maintainers welcome + lssndrbarbieri@gmail.com + Alessandro Barbieri + + + mirage/ocaml-pcap + + diff --git a/dev-ml/pcap-format/pcap-format-0.5.2-r2.ebuild b/dev-ml/pcap-format/pcap-format-0.5.2-r2.ebuild new file mode 100644 index 0000000000..4be1c548db --- /dev/null +++ b/dev-ml/pcap-format/pcap-format-0.5.2-r2.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit dune + +DESCRIPTION="Read and write pcap-formatted network packet traces" +HOMEPAGE="https://github.com/mirage/ocaml-pcap" +SRC_URI="https://github.com/mirage/ocaml-pcap/archive/${PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/ocaml-pcap-${PV}" + +LICENSE="ISC" +SLOT="0/${PV}" +KEYWORDS="~amd64" +IUSE="ocamlopt test" + +RDEPEND="dev-ml/cstruct[ppx]" +DEPEND=" + ${RDEPEND} + test? ( + dev-ml/ounit + dev-ml/mmap + ) +" + +RESTRICT="!test? ( test )" diff --git a/dev-ml/pci/Manifest b/dev-ml/pci/Manifest new file mode 100644 index 0000000000..7dc425435c --- /dev/null +++ b/dev-ml/pci/Manifest @@ -0,0 +1 @@ +DIST pci-1.0.1.tar.gz 71886 BLAKE2B f01544daab4156ca3c03e97aa9a16bcd054813f299e6b32c2de314a1b90f5a54bae814fb9f685049240a1231899c58b9b961a56ba1fd2897a8a9882bf10e90f3 SHA512 814d189d3cdea73363982b6c4e9dd1aa8678f40883e74da7bd65c9ac0a6c2ac069d28f56b056e7f7e10ad5d800a0323888afcb161448f6a1b1408a826440471b diff --git a/dev-ml/pci/metadata.xml b/dev-ml/pci/metadata.xml new file mode 100644 index 0000000000..784a8e785a --- /dev/null +++ b/dev-ml/pci/metadata.xml @@ -0,0 +1,11 @@ + + + + + lssndrbarbieri@gmail.com + Alessandro Barbieri + + + simonjbeaumont/ocaml-pci + + diff --git a/dev-ml/pci/pci-1.0.1.ebuild b/dev-ml/pci/pci-1.0.1.ebuild new file mode 100644 index 0000000000..070a12855c --- /dev/null +++ b/dev-ml/pci/pci-1.0.1.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit findlib opam + +MY_P="ocaml-${P}" + +DESCRIPTION="OCaml bindings to libpci using Ctypes" +HOMEPAGE="https://github.com/simonjbeaumont/ocaml-pci" +SRC_URI="https://github.com/simonjbeaumont/ocaml-pci/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/${MY_P}" + +LICENSE="LGPL-2.1-with-linking-exception" +SLOT="0/${PV}" +KEYWORDS="~amd64" +IUSE="test" + +RDEPEND=" + sys-apps/pciutils + dev-ml/ocaml-ctypes +" +DEPEND=" + ${RDEPEND} + dev-ml/ounit +" + +RESTRICT="!test? ( test )" +OPAM_FILE=opam + +src_configure() { + myconf=( + $(usex test '--enable-test' '') + --prefix "/usr" + --destdir "${D}" + --libdir "/usr/$(get_libdir)" + --docdir "/usr/share/doc/${PF}" + --htmldir "/usr/share/doc/${PF}/html" + --override debug false + --override is_native $(usex ocamlopt true false) + ) + ./configure "${myconf[@]}" || die +} + +src_compile() { + emake + use test && emake test +} + +src_install() { + findlib_src_preinst + emake install +} + +src_test() { + opam_src_test +} diff --git a/dev-ml/pecu/pecu-0.6.ebuild b/dev-ml/pecu/pecu-0.6.ebuild index fea655da1a..cb1cd0971d 100644 --- a/dev-ml/pecu/pecu-0.6.ebuild +++ b/dev-ml/pecu/pecu-0.6.ebuild @@ -13,7 +13,17 @@ S="${WORKDIR}/${PN}-v${PV}" LICENSE="MIT" SLOT="0/${PV}" KEYWORDS="~amd64" -IUSE="ocamlopt" +IUSE="ocamlopt test" -DEPEND="" -RDEPEND="${DEPEND}" +RDEPEND="" +DEPEND=" + ${RDEPEND} + test? ( + dev-ml/alcotest + dev-ml/astring + dev-ml/crowbar + dev-ml/fmt + ) +" + +RESTRICT="!test? ( test )" diff --git a/dev-ml/polly/Manifest b/dev-ml/polly/Manifest new file mode 100644 index 0000000000..5943501ed5 --- /dev/null +++ b/dev-ml/polly/Manifest @@ -0,0 +1 @@ +DIST polly-0.2.2.tar.gz 6698 BLAKE2B 0e4c7dae1314e0879504a3bdcb073649290498e90ea64aef3d3e99c10d430cc31ab19732b71257b1ba70a132eb70e04f8d4f919809e8bd71a7dcabdafcfc506b SHA512 ac5c60bdf029baf5cb50e96322b029acf270ec50361ca077f8da88f3fded6b50314b116f6a2c7d88f627b098490481391fc0190e26902088f8d689c804c8b457 diff --git a/dev-ml/polly/metadata.xml b/dev-ml/polly/metadata.xml new file mode 100644 index 0000000000..08de9a72fc --- /dev/null +++ b/dev-ml/polly/metadata.xml @@ -0,0 +1,11 @@ + + + + + lssndrbarbieri@gmail.com + Alessandro Barbieri + + + lindig/polly + + diff --git a/dev-ml/polly/polly-0.2.2.ebuild b/dev-ml/polly/polly-0.2.2.ebuild new file mode 100644 index 0000000000..a39abb639d --- /dev/null +++ b/dev-ml/polly/polly-0.2.2.ebuild @@ -0,0 +1,21 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit dune + +DESCRIPTION="OCaml bindings for Linux epoll(2)" +HOMEPAGE="https://github.com/lindig/polly" +SRC_URI="https://github.com/lindig/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0/${PV}" +KEYWORDS="~amd64" +IUSE="ocamlopt" + +DEPEND=" + dev-ml/base-unix + dev-ml/cmdliner +" +RDEPEND="${DEPEND}" diff --git a/dev-ml/psq/Manifest b/dev-ml/psq/Manifest new file mode 100644 index 0000000000..8914696b16 --- /dev/null +++ b/dev-ml/psq/Manifest @@ -0,0 +1 @@ +DIST psq-v0.2.0.tbz 10538 BLAKE2B 87626e0cac63b27d114c0497709d2b4cea55df4045b2033d5104bfacdb67b5286bcdf379a7f68936e852cd0f1260deb2258d0792691d32db406162dd3453e2d4 SHA512 0c570c5fc2bb2348b1ec03507abb4f152673a5d8f92c388c4cd5b7fc43a6e8f514007dbf4fb613503c4e8d5c8d3210b24ac37c546c79d94ebdf6b482e5cde024 diff --git a/dev-ml/psq/metadata.xml b/dev-ml/psq/metadata.xml new file mode 100644 index 0000000000..14405eed69 --- /dev/null +++ b/dev-ml/psq/metadata.xml @@ -0,0 +1,12 @@ + + + + + co-maintainers welcome + lssndrbarbieri@gmail.com + Alessandro Barbieri + + + pqwy/psq + + diff --git a/dev-ml/psq/psq-0.2.0-r2.ebuild b/dev-ml/psq/psq-0.2.0-r2.ebuild new file mode 100644 index 0000000000..aba4c1da48 --- /dev/null +++ b/dev-ml/psq/psq-0.2.0-r2.ebuild @@ -0,0 +1,27 @@ +# Copyright 2019-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit dune + +DESCRIPTION="Functional Priority Search Queues for OCaml" +HOMEPAGE="https://github.com/pqwy/psq" +SRC_URI="https://github.com/pqwy/psq/releases/download/v${PV}/${PN}-v${PV}.tbz" +S="${WORKDIR}/${PN}-v${PV}" + +LICENSE="ISC" +SLOT="0/${PV}" +KEYWORDS="~amd64" +IUSE="ocamlopt test" + +RDEPEND="dev-ml/seq" +DEPEND=" + ${RDEPEND} + test? ( + dev-ml/qcheck + dev-ml/alcotest + ) +" + +RESTRICT="!test? ( test )" diff --git a/dev-ml/qmp/Manifest b/dev-ml/qmp/Manifest new file mode 100644 index 0000000000..c636da4f02 --- /dev/null +++ b/dev-ml/qmp/Manifest @@ -0,0 +1 @@ +DIST qmp-0.17.0.tar.gz 24131 BLAKE2B bcf594c77cdcc4d6810008a841db25240bca350a2e6bd2e71919207aa6c96d7649836a916c3e38b262607dc17312ac79dce1ff97e6b5d45efb155808ff756bd1 SHA512 b8e295cb0664b6e74a5c3c536132e71185c484d008d319b0eb802959d1e11322c958739e73cf24809a323fdf8b55a9b01431d8f4d1b1e95d5d42f38645ad8892 diff --git a/dev-ml/qmp/metadata.xml b/dev-ml/qmp/metadata.xml new file mode 100644 index 0000000000..d4b0d7732a --- /dev/null +++ b/dev-ml/qmp/metadata.xml @@ -0,0 +1,11 @@ + + + + + lssndrbarbieri@gmail.com + Alessandro Barbieri + + + xapi-project/ocaml-qmp + + diff --git a/dev-ml/qmp/qmp-0.17.0.ebuild b/dev-ml/qmp/qmp-0.17.0.ebuild new file mode 100644 index 0000000000..4e3f4699cf --- /dev/null +++ b/dev-ml/qmp/qmp-0.17.0.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit dune + +MYPN="ocaml-${PN}" + +DESCRIPTION="A Qemu Message Protocol (QMP) client in OCaml" +HOMEPAGE="https://github.com/xapi-project/ocaml-qmp" +SRC_URI="https://github.com/xapi-project/${MYPN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/${MYPN}-${PV}" + +LICENSE="LGPL-2.1-with-linking-exception" +SLOT="0/${PV}" +KEYWORDS="~amd64" +IUSE="ocamlopt test" + +DEPEND=" + dev-ml/base-unix + dev-ml/yojson + dev-ml/cmdliner +" +RDEPEND=" + ${DEPEND} + test? ( dev-ml/ounit ) +" + +RESTRICT="!test? ( test )" diff --git a/dev-ml/randomconv/Manifest b/dev-ml/randomconv/Manifest new file mode 100644 index 0000000000..a8b06f6504 --- /dev/null +++ b/dev-ml/randomconv/Manifest @@ -0,0 +1 @@ +DIST randomconv-v0.1.3.tbz 2385 BLAKE2B 788fcb8ba45854d11fc556b2e17b97b6701b38bfe876fbe139dca7a693af2f2c3b11f6a4f0120455772ceaf5161d94d26aab40aa395f515a75fd9da19745044d SHA512 f5186f7669a6b1b943442fdcfcdb37cf6c8199a1c644ed815f351f50428b9b7e1e5408ff4a0fcdfb093451b5237e48602af60f87a1b93e49897576c8aa2cd23f diff --git a/dev-ml/randomconv/metadata.xml b/dev-ml/randomconv/metadata.xml new file mode 100644 index 0000000000..0f5d9b8708 --- /dev/null +++ b/dev-ml/randomconv/metadata.xml @@ -0,0 +1,12 @@ + + + + + co-maintainers welcome + lssndrbarbieri@gmail.com + Alessandro Barbieri + + + hannesm/randomconv + + diff --git a/dev-ml/randomconv/randomconv-0.1.3.ebuild b/dev-ml/randomconv/randomconv-0.1.3.ebuild new file mode 100644 index 0000000000..08921fcef5 --- /dev/null +++ b/dev-ml/randomconv/randomconv-0.1.3.ebuild @@ -0,0 +1,21 @@ +# Copyright 2020-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit dune + +MY_P="${PN}-v${PV}" + +DESCRIPTION="Convert from random bytes to random native numbers" +HOMEPAGE="https://github.com/hannesm/randomconv" +SRC_URI="https://github.com/hannesm/${PN}/releases/download/v${PV}/${MY_P}.tbz" +S="${WORKDIR}/${MY_P}" + +LICENSE="ISC" +SLOT="0/${PV}" +KEYWORDS="~amd64" +IUSE="ocamlopt" + +RDEPEND="dev-ml/cstruct" +DEPEND="${DEPEND}" diff --git a/dev-ml/rpc/metadata.xml b/dev-ml/rpc/metadata.xml index f926d92a96..a938097597 100644 --- a/dev-ml/rpc/metadata.xml +++ b/dev-ml/rpc/metadata.xml @@ -8,4 +8,9 @@ mirage/ocaml-rpc + + Async interface + html documentation generator + Bindings for js_of_ocaml + diff --git a/dev-ml/rpc/rpc-8.1.2.ebuild b/dev-ml/rpc/rpc-8.1.2.ebuild index 9f42f8ce12..7bba29c2b4 100644 --- a/dev-ml/rpc/rpc-8.1.2.ebuild +++ b/dev-ml/rpc/rpc-8.1.2.ebuild @@ -3,7 +3,7 @@ EAPI=8 -inherit dune +inherit dune multiprocessing MY_P="rpclib-${PV}" @@ -15,30 +15,50 @@ S="${WORKDIR}/${MY_P}" LICENSE="ISC" SLOT="0/${PV}" KEYWORDS="~amd64" -IUSE="ocamlopt" +IUSE="async html js ocamlopt test" DEPEND=" - dev-ml/async - dev-ml/ocaml-base64 - dev-ml/cmdliner - dev-ml/cow - dev-ml/js_of_ocaml - dev-ml/lwt - dev-ml/ppxlib - dev-ml/result - dev-ml/rresult - dev-ml/xmlm - dev-ml/yojson + dev-ml/cmdliner:= + dev-ml/lwt:= + dev-ml/ocaml-base64:= + dev-ml/ppxlib:= + dev-ml/result:= + dev-ml/rresult:= + dev-ml/xmlm:= + dev-ml/yojson:= + + async? ( dev-ml/async:= ) + html? ( dev-ml/cow:= ) + js? ( dev-ml/js_of_ocaml:=[ppx] ) +" +RDEPEND=" + ${DEPEND} + test? ( + dev-ml/alcotest + dev-ml/alcotest-lwt + sys-apps/which + ) " -RDEPEND="${DEPEND}" BDEPEND="app-text/md2mld" +RESTRICT="!test? ( test )" + +src_compile() { + local pkgs="rpclib,rpc,rpclib-lwt,ppx_deriving_rpc" + for u in async js html ; do + if use ${u} ; then + pkgs="${pkgs},rpclib-${u}" + fi + done + dune build -p "${pkgs}" -j $(makeopts_jobs) || die +} + src_install() { - dune_src_install ppx_deriving_rpc - dune_src_install rpc - dune_src_install rpclib-async - dune_src_install rpclib-html - dune_src_install rpclib-js dune_src_install rpclib-lwt dune_src_install rpclib + dune_src_install ppx_deriving_rpc + dune_src_install rpc + use async && dune_src_install rpclib-async + use html && dune_src_install rpclib-html + use js && dune_src_install rpclib-js } diff --git a/dev-ml/sexp_pretty/Manifest b/dev-ml/sexp_pretty/Manifest new file mode 100644 index 0000000000..2a8745be3a --- /dev/null +++ b/dev-ml/sexp_pretty/Manifest @@ -0,0 +1 @@ +DIST sexp_pretty-0.14.0.tar.gz 19700 BLAKE2B 21672e09c994f24d0080a6bfc8fbfc74bf43efe2131338b600ad802ec61581f401c984397036103bc1848544078a1af37b7f197b94c6d36c57c8d55422cf7dfa SHA512 7b32a7df5e66db77aef5e00279cfbb49dec185de604c31baa1ff1f4991bd930aca39fce94fcb737414279458ff942df968382090f79a011e9366e676eced9a74 diff --git a/dev-ml/sexp_pretty/metadata.xml b/dev-ml/sexp_pretty/metadata.xml new file mode 100644 index 0000000000..418a0ad297 --- /dev/null +++ b/dev-ml/sexp_pretty/metadata.xml @@ -0,0 +1,12 @@ + + + + + co-maintainers welcome + lssndrbarbieri@gmail.com + Alessandro Barbieri + + + janestreet/sexp_pretty + + diff --git a/dev-ml/sexp_pretty/sexp_pretty-0.14.0-r1.ebuild b/dev-ml/sexp_pretty/sexp_pretty-0.14.0-r1.ebuild new file mode 100644 index 0000000000..d16dc48ab0 --- /dev/null +++ b/dev-ml/sexp_pretty/sexp_pretty-0.14.0-r1.ebuild @@ -0,0 +1,23 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit dune + +DESCRIPTION="S-expression pretty-printer" +HOMEPAGE="https://github.com/janestreet/sexp_pretty" +SRC_URI="https://github.com/janestreet/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0/${PV}" +KEYWORDS="~amd64" +IUSE="ocamlopt" + +RDEPEND=" + dev-ml/base + dev-ml/ppx_base + dev-ml/sexplib + dev-ml/re +" +DEPEND="${RDEPEND}" diff --git a/dev-ml/shared-block-ring/Manifest b/dev-ml/shared-block-ring/Manifest new file mode 100644 index 0000000000..df7364e522 --- /dev/null +++ b/dev-ml/shared-block-ring/Manifest @@ -0,0 +1 @@ +DIST shared-block-ring-3.0.0.tar.gz 18503 BLAKE2B 786997d650a9094068822ba0b214e8e26658c8caaa26a0bc28f504bdf18f5f07a69896aae46ead9d337db1c7272d8198ed37b8e573e66c7e13ebd56bf94a96d8 SHA512 1f16926aaf641bcfb285d6047cb45b271c4bbb70b345aa803b51f8f966f7815a2890f6993f449aadb11c254f05064f6469cedb9020074c5a566eb6a4ca9d2a6e diff --git a/dev-ml/shared-block-ring/files/shared-block-ring-3.0.0-PR-62.patch b/dev-ml/shared-block-ring/files/shared-block-ring-3.0.0-PR-62.patch new file mode 100644 index 0000000000..90b185afdc --- /dev/null +++ b/dev-ml/shared-block-ring/files/shared-block-ring-3.0.0-PR-62.patch @@ -0,0 +1,318 @@ +From 4c8fb45a201cd15aa038d84bd792679a31bec5a8 Mon Sep 17 00:00:00 2001 +From: Hannes Mehnert +Date: Thu, 27 Jan 2022 16:24:42 +0100 +Subject: [PATCH 1/3] avoid deprecated Cstruct.len, use Cstruct.length instead + +--- a/lib/eraseBlock.ml ++++ b/lib/eraseBlock.ml +@@ -23,14 +23,14 @@ module Make(B: S.BLOCK) = struct + >>= fun info -> + let pages = Io_page.get block_size_pages in + let buffer = Io_page.to_cstruct pages in +- for i = 0 to Cstruct.len buffer - 1 do ++ for i = 0 to Cstruct.length buffer - 1 do + Cstruct.set_char buffer i (pattern.[i mod (String.length pattern)]) + done; + let rec loop n = + if n = info.Mirage_block.size_sectors + then return (Ok ()) + else +- let buffer_in_sectors = Cstruct.len buffer / info.Mirage_block.sector_size in ++ let buffer_in_sectors = Cstruct.length buffer / info.Mirage_block.sector_size in + let needed = Int64.to_int (min (Int64.sub info.Mirage_block.size_sectors n) (Int64.of_int buffer_in_sectors)) in + let towrite = Cstruct.sub buffer 0 (needed * info.Mirage_block.sector_size) in + B.write t n [ towrite ] +--- a/lib/ring.ml ++++ b/lib/ring.ml +@@ -34,7 +34,7 @@ let minimum_size_sectors = Int64.add sector_data 1L + let magic = Printf.sprintf "mirage shared-block-device 1.0" + + let zero buf = +- for i = 0 to Cstruct.len buf - 1 do ++ for i = 0 to Cstruct.length buf - 1 do + Cstruct.set_uint8 buf i 0 + done + +@@ -357,7 +357,7 @@ module Producer = struct + let open ResultM in + let _sector = alloc t.info.Mirage_block.sector_size in + (* add a 4 byte header of size, and round up to the next 4-byte offset *) +- let needed_bytes = Int64.(logand (lognot 3L) (add 7L (of_int (Cstruct.len item)))) in ++ let needed_bytes = Int64.(logand (lognot 3L) (add 7L (of_int (Cstruct.length item)))) in + let first_sector = Int64.(div t.producer.producer (of_int t.info.Mirage_block.sector_size)) in + let first_offset = Int64.(to_int (rem t.producer.producer (of_int t.info.Mirage_block.sector_size))) in + +@@ -365,23 +365,23 @@ module Producer = struct + the first page as it's only a 4-byte integer and we're padding to 4-byte offsets. *) + read_modify_write t first_sector (fun sector -> + (* Write the header and anything else we can *) +- Cstruct.LE.set_uint32 sector first_offset (Int32.of_int (Cstruct.len item)); ++ Cstruct.LE.set_uint32 sector first_offset (Int32.of_int (Cstruct.length item)); + if first_offset + 4 = t.info.Mirage_block.sector_size + then item (* We can't write anything else, so just return the item *) + else begin +- let this = min (t.info.Mirage_block.sector_size - first_offset - 4) (Cstruct.len item) in ++ let this = min (t.info.Mirage_block.sector_size - first_offset - 4) (Cstruct.length item) in + Cstruct.blit item 0 sector (first_offset + 4) this; + Cstruct.shift item this + end) >>= fun remaining -> + + let rec loop offset remaining = +- if Cstruct.len remaining = 0 ++ if Cstruct.length remaining = 0 + then return () + else begin + read_modify_write t offset (fun sector -> +- let this = min t.info.Mirage_block.sector_size (Cstruct.len remaining) in ++ let this = min t.info.Mirage_block.sector_size (Cstruct.length remaining) in + let frag = Cstruct.sub sector 0 this in +- Cstruct.blit remaining 0 frag 0 (Cstruct.len frag); ++ Cstruct.blit remaining 0 frag 0 (Cstruct.length frag); + Cstruct.shift remaining this) >>= fun remaining -> + loop (Int64.succ offset) remaining + end in +@@ -408,7 +408,7 @@ module Producer = struct + (fun () -> + let item = Item.to_cstruct item in + (* every item has a 4 byte header *) +- let needed_bytes = Int64.(add 4L (of_int (Cstruct.len item))) in ++ let needed_bytes = Int64.(add 4L (of_int (Cstruct.length item))) in + let open C in + let open ResultM in + ok_to_write t needed_bytes +@@ -535,10 +535,10 @@ module Consumer = struct + let frag = Cstruct.sub sector (4 + first_offset) this in + Cstruct.blit frag 0 result 0 this; + let rec loop consumer remaining = +- if Cstruct.len remaining = 0 ++ if Cstruct.length remaining = 0 + then return () + else +- let this = min t.info.Mirage_block.sector_size (Cstruct.len remaining) in ++ let this = min t.info.Mirage_block.sector_size (Cstruct.length remaining) in + let frag = Cstruct.sub remaining 0 this in + read Int64.(add sector_data (rem consumer total_sectors)) t.disk sector >>= fun () -> + Cstruct.blit sector 0 frag 0 this; +@@ -547,7 +547,7 @@ module Consumer = struct + (* Read the payload before updating the consumer pointer *) + let needed_bytes = Int64.(logand (lognot 3L) (add 7L (of_int (len)))) in + match Item.of_cstruct result with +- | None -> Lwt.return (Error (`Msg (Printf.sprintf "Failed to parse queue item: (%d)[%s]" (Cstruct.len result) (String.escaped (Cstruct.to_string result))))) ++ | None -> Lwt.return (Error (`Msg (Printf.sprintf "Failed to parse queue item: (%d)[%s]" (Cstruct.length result) (String.escaped (Cstruct.to_string result))))) + | Some result -> + return (Int64.(add t.consumer.consumer needed_bytes),result) + end +--- a/lib_test/test.ml ++++ b/lib_test/test.ml +@@ -47,7 +47,7 @@ let alloc sector_size = + sector + + let fill_with_message buffer message = +- for i = 0 to Cstruct.len buffer - 1 do ++ for i = 0 to Cstruct.length buffer - 1 do + Cstruct.set_char buffer i (message.[i mod (String.length message)]) + done + +--- a/shared-block-ring.opam ++++ b/shared-block-ring.opam +@@ -13,7 +13,7 @@ depends: [ + "ocaml" {>= "4.06.0"} + "bisect_ppx" {dev & >= "2.5.0"} + "cmdliner" +- "cstruct" {>= "3.0.0"} ++ "cstruct" {>= "6.0.0"} + "dune" {>= "2.7.0"} + "duration" + "io-page" + +From f0b61e87f809dce36fb93e31349d02d9a679253a Mon Sep 17 00:00:00 2001 +From: Hannes Mehnert +Date: Thu, 27 Jan 2022 16:26:39 +0100 +Subject: [PATCH 2/3] adapt to mirage-block 3.0.0 changes + +--- a/lib/ring.ml ++++ b/lib/ring.ml +@@ -92,14 +92,12 @@ module Common(Log: S.LOG)(B: S.BLOCK) = struct + m >>= function + | Error `Is_read_only -> Lwt.return (Error `Is_read_only) + | Error `Disconnected -> Lwt.return (Error `Disconnected) +- | Error `Unimplemented -> Lwt.return (Error `Unimplemented) + | Error x -> Lwt.return (Error x) + | Ok x -> f x + let to_msg m = + let open Lwt.Infix in + m >>= function + | Error `Disconnected -> Lwt.return (Error (`Msg "BLOCK device has already disconnected")) +- | Error `Unimplemented -> Lwt.return (Error (`Msg "BLOCK function is unimplemented")) + | Error `Is_read_only -> Lwt.return (Error (`Msg "BLOCK device is read-only")) + | Error _ -> Lwt.return (Error (`Msg "Unknown error from BLOCK device")) + | Ok x -> Lwt.return (Ok x) +@@ -110,14 +108,12 @@ module Common(Log: S.LOG)(B: S.BLOCK) = struct + let open Lwt.Infix in + m >>= function + | Error `Disconnected -> Lwt.return (Error `Disconnected) +- | Error `Unimplemented -> Lwt.return (Error `Unimplemented) + | Error x -> Lwt.return (Error x) + | Ok x -> f x + let to_msg m = + let open Lwt.Infix in + m >>= function + | Error `Disconnected -> Lwt.return (Error (`Msg "BLOCK device has already disconnected")) +- | Error `Unimplemented -> Lwt.return (Error (`Msg "BLOCK function is unimplemented")) + | Error _ -> Lwt.return (Error (`Msg "Unknown error from BLOCK device")) + | Ok x -> Lwt.return (Ok x) + let return x = Lwt.return (Ok x) +--- a/shared-block-ring.opam ++++ b/shared-block-ring.opam +@@ -21,8 +21,8 @@ depends: [ + "logs" + "lwt" + "lwt_log" +- "mirage-block" {>= "2.0.1"} +- "mirage-block-unix" ++ "mirage-block" {>= "3.0.0"} ++ "mirage-block-unix" {>= "2.13.0"} + "mirage-clock" {>= "3.0.0"} + "mirage-clock-unix" {with-test} + "mirage-time" {>= "2.0.1"} + +From 1c99469a8f6ce12455c1e5e27c54eb5fe5611251 Mon Sep 17 00:00:00 2001 +From: Hannes Mehnert +Date: Mon, 11 Apr 2022 11:18:01 +0200 +Subject: [PATCH 3/3] update to cmdliner 1.1.0, remove io-page-unix dependency + +--- a/example/dune ++++ b/example/dune +@@ -6,7 +6,6 @@ + cmdliner + cstruct + io-page +- io-page-unix + logs + logs.fmt + logs.lwt +--- a/example/main.ml ++++ b/example/main.ml +@@ -171,8 +171,10 @@ let produce_cmd = + `S "DESCRIPTION"; + `P "Read lines of text from stdin and push them as individual items onto the ring."; + ] @ help in +- Term.(ret(pure produce $ filename $ interval)), +- Term.info "produce" ~doc ~man ++ let term = Term.(ret(const produce $ filename $ interval)) ++ and info = Cmd.info "produce" ~doc ~man ++ in ++ Cmd.v info term + + let consume_cmd = + let doc = "Pop data from the ring" in +@@ -180,8 +182,10 @@ let consume_cmd = + `S "DESCRIPTION"; + `P "Read lines of text from the ring and print them to stdout."; + ] @ help in +- Term.(ret(pure consume $ filename $ interval)), +- Term.info "consume" ~doc ~man ++ let term = Term.(ret(const consume $ filename $ interval)) ++ and info = Cmd.info "consume" ~doc ~man ++ in ++ Cmd.v info term + + let create_cmd = + let doc = "Create an empty ring" in +@@ -189,8 +193,10 @@ let create_cmd = + `S "DESCRIPTION"; + `P "Initialise a device or file with an empty ring." + ] @ help in +- Term.(ret(pure create $ filename)), +- Term.info "create" ~doc ~man ++ let term = Term.(ret(const create $ filename)) ++ and info = Cmd.info "create" ~doc ~man ++ in ++ Cmd.v info term + + let diagnostics_cmd = + let doc = "Display the current state of a ring." in +@@ -199,8 +205,10 @@ let diagnostics_cmd = + `P "Display the current ring state including producer and consumer pointers, together with the current ring contents for diagnostic purposes."; + `P "Note: the ring will not be modified." + ] @ help in +- Term.(ret(pure diagnostics $ filename)), +- Term.info "diagnostics" ~doc ~man ++ let term = Term.(ret(const diagnostics $ filename)) ++ and info = Cmd.info "diagnostics" ~doc ~man ++ in ++ Cmd.v info term + + let suspend_cmd = + let doc = "Suspend the ring." in +@@ -208,8 +216,10 @@ let suspend_cmd = + `S "DESCRIPTION"; + `P "Perform a co-operative suspend of the ring. Once finished, the producer will have acknowledged and promise not to send any more data."; + ] @ help in +- Term.(ret(pure suspend $ filename)), +- Term.info "suspend" ~doc ~man ++ let term = Term.(ret(const suspend $ filename)) ++ and info = Cmd.info "suspend" ~doc ~man ++ in ++ Cmd.v info term + + let resume_cmd = + let doc = "Resume the ring." in +@@ -217,19 +227,19 @@ let resume_cmd = + `S "DESCRIPTION"; + `P "Perform a co-operative resume of the ring. Once finished, the producer will have acknowledged and will be able to produce data."; + ] @ help in +- Term.(ret(pure resume $ filename)), +- Term.info "resume" ~doc ~man ++ let term = Term.(ret(const resume $ filename)) ++ and info = Cmd.info "resume" ~doc ~man ++ in ++ Cmd.v info term + +-let default_cmd = +- let doc = "manipulate shared rings on block devices" in +- let man = help in +- Term.(ret (pure (`Help (`Pager, None)))), +- Term.info (Sys.argv.(0)) ~version:"1.0.0" ~doc ~man ++let default_cmd = Term.(ret (const (`Help (`Pager, None)))) + + let cmds = [create_cmd; produce_cmd; consume_cmd; suspend_cmd; resume_cmd; diagnostics_cmd] + +-let _ = ++let () = + Logs.set_reporter (Logs_fmt.reporter ()); +- match Term.eval_choice default_cmd cmds with +- | `Error _ -> exit 1 +- | _ -> exit 0 ++ let doc = "manipulate shared rings on block devices" in ++ let man = help in ++ let info = Cmd.info (Sys.argv.(0)) ~version:"%%VERSION%%" ~doc ~man in ++ let group = Cmd.group ~default:default_cmd info cmds in ++ exit (Cmd.eval group) +--- a/lib_test/dune ++++ b/lib_test/dune +@@ -4,7 +4,6 @@ + cstruct + duration + io-page +- io-page-unix + logs + logs.fmt + logs.lwt +--- a/shared-block-ring.opam ++++ b/shared-block-ring.opam +@@ -12,12 +12,11 @@ bug-reports: "https://github.com/mirage/shared-block-ring/issues/" + depends: [ + "ocaml" {>= "4.06.0"} + "bisect_ppx" {dev & >= "2.5.0"} +- "cmdliner" ++ "cmdliner" {>= "1.1.0"} + "cstruct" {>= "6.0.0"} + "dune" {>= "2.7.0"} + "duration" +- "io-page" +- "io-page-unix" {>= "2.0.0"} ++ "io-page" {>= "2.4.0"} + "logs" + "lwt" + "lwt_log" diff --git a/dev-ml/shared-block-ring/metadata.xml b/dev-ml/shared-block-ring/metadata.xml new file mode 100644 index 0000000000..393a3ec738 --- /dev/null +++ b/dev-ml/shared-block-ring/metadata.xml @@ -0,0 +1,11 @@ + + + + + lssndrbarbieri@gmail.com + Alessandro Barbieri + + + mirage/shared-block-ring + + diff --git a/dev-ml/shared-block-ring/shared-block-ring-3.0.0.ebuild b/dev-ml/shared-block-ring/shared-block-ring-3.0.0.ebuild new file mode 100644 index 0000000000..ad7e707b04 --- /dev/null +++ b/dev-ml/shared-block-ring/shared-block-ring-3.0.0.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit dune + +DESCRIPTION="A simple on-disk fixed length queue" +HOMEPAGE="https://github.com/mirage/shared-block-ring" +SRC_URI="https://github.com/mirage/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="ISC" +SLOT="0/${PV}" +KEYWORDS="~amd64" +IUSE="ocamlopt test" + +RDEPEND=" + >=dev-ml/cstruct-6.0.0:=[ppx] + dev-ml/lwt:= + dev-ml/lwt_log:= + dev-ml/cmdliner:= + dev-ml/duration:= + >=dev-ml/io-page-2.4.0:= + dev-ml/logs:= + >=dev-ml/mirage-block-2.0.1:= + dev-ml/mirage-block-unix:= + dev-ml/mirage-clock:= + >=dev-ml/mirage-time-2.0.1:= + >=dev-ml/ppx_sexp_conv-0.10.0:= + dev-ml/result:= + dev-ml/rresult:= + dev-ml/sexplib:= + dev-ml/sexplib0:= +" +DEPEND=" + ${RDEPEND} + test? ( >=dev-ml/ounit-2 ) +" + +RESTRICT="!test? ( test )" +PATCHES="${FILESDIR}/${P}-PR-62.patch" diff --git a/dev-ml/stringext/stringext-1.6.0-r2.ebuild b/dev-ml/stringext/stringext-1.6.0-r2.ebuild index 6322071c55..95464acb20 100644 --- a/dev-ml/stringext/stringext-1.6.0-r2.ebuild +++ b/dev-ml/stringext/stringext-1.6.0-r2.ebuild @@ -12,9 +12,15 @@ SRC_URI="https://github.com/rgrinberg/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" LICENSE="MIT" SLOT="0/${PV}" KEYWORDS="~amd64" -IUSE="ocamlopt" +IUSE="ocamlopt test" -RDEPEND=" - dev-ml/base +RDEPEND="" +DEPEND=" + ${RDEPEND} + test? ( + dev-ml/ounit + dev-ml/qtest + ) " -DEPEND="${RDEPEND}" + +RESTRICT="!test? ( test )" diff --git a/dev-ml/systemd/Manifest b/dev-ml/systemd/Manifest new file mode 100644 index 0000000000..a935d689ad --- /dev/null +++ b/dev-ml/systemd/Manifest @@ -0,0 +1 @@ +DIST systemd-1.2.tar.gz 47912 BLAKE2B b41e5e38f4bce5460449fec46755ea37ffddf8c30b0459f2d70f4714c6f63dffd62c67ed44cb8385e67243b4e0518f1626f5340e24112730c1d058b5a1d30f99 SHA512 a04cb75a425882af95a31a22643cea5620d3f6683c099f9a21e250f1935143db85b12637a8636842463e25b18a18df389026b6950931015f2e612c6c407c67a4 diff --git a/dev-ml/systemd/metadata.xml b/dev-ml/systemd/metadata.xml new file mode 100644 index 0000000000..e4a496827d --- /dev/null +++ b/dev-ml/systemd/metadata.xml @@ -0,0 +1,11 @@ + + + + + lssndrbarbieri@gmail.com + Alessandro Barbieri + + + juergenhoetzel/ocaml-systemd + + diff --git a/dev-ml/systemd/systemd-1.2.ebuild b/dev-ml/systemd/systemd-1.2.ebuild new file mode 100644 index 0000000000..e9aa7435f7 --- /dev/null +++ b/dev-ml/systemd/systemd-1.2.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit findlib opam + +MY_P="ocaml-${P}" + +DESCRIPTION="OCaml module for native access to the systemd facilities" +HOMEPAGE="https://github.com/juergenhoetzel/ocaml-systemd" +SRC_URI="https://github.com/juergenhoetzel/ocaml-${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/${MY_P}" + +LICENSE="LGPL-3-with-linking-exception" +SLOT="0/${PV}" +KEYWORDS="~amd64" +IUSE="ocamlopt" + +RDEPEND="sys-apps/systemd" +DEPEND=" + ${RDEPEND} + dev-ml/ocamlbuild +" + +OPAM_FILE=opam + +src_configure() { + myconf=( + --prefix "/usr" + --destdir "${D}" + --libdir "/usr/$(get_libdir)" + --docdir "/usr/share/doc/${PF}" + --htmldir "/usr/share/doc/${PF}/html" + --override debug false + --override is_native $(usex ocamlopt true false) + ) + ./configure "${myconf[@]}" || die +} + +src_compile() { + emake +} + +src_install() { + findlib_src_preinst + emake install +} diff --git a/dev-ml/tar/Manifest b/dev-ml/tar/Manifest new file mode 100644 index 0000000000..96729e50ab --- /dev/null +++ b/dev-ml/tar/Manifest @@ -0,0 +1 @@ +DIST tar-2.0.1.tar.gz 26751 BLAKE2B a381c258c75350198c25c105f8ca33f33dd8d946f88cb102186ece414def2fa5e25191c2ed43d5d0e9286a0bc352ffec8b6999d17f18479642900b59f4d1cc17 SHA512 fd2e302497eb673a4e8000d0bcfd9012b1f118021e1d071a7c56cc6652ec6da9c6f755c18aa4b275daf1f722409d71cbb4519285096682344bfa65bbe800cbd1 diff --git a/dev-ml/tar/metadata.xml b/dev-ml/tar/metadata.xml new file mode 100644 index 0000000000..76d46cfa29 --- /dev/null +++ b/dev-ml/tar/metadata.xml @@ -0,0 +1,15 @@ + + + + + lssndrbarbieri@gmail.com + Alessandro Barbieri + + + mirage/ocaml-tar + + + Read and write tar format files via MirageOS interfaces + Decode and encode tar format files from Unix + + diff --git a/dev-ml/tar/tar-2.0.1.ebuild b/dev-ml/tar/tar-2.0.1.ebuild new file mode 100644 index 0000000000..8ddc49ac34 --- /dev/null +++ b/dev-ml/tar/tar-2.0.1.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit dune multiprocessing + +MYPN="ocaml-${PN}" + +DESCRIPTION="Pure OCaml library to read and write tar files" +HOMEPAGE="https://github.com/mirage/ocaml-tar" +SRC_URI="https://github.com/mirage/${MYPN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/${MYPN}-${PV}" + +LICENSE="ISC" +SLOT="0/${PV}" +KEYWORDS="~amd64" +IUSE="mirage ocamlopt test unix" + +RDEPEND=" + dev-ml/camlp-streams + dev-ml/cstruct + dev-ml/re + dev-ml/lwt + + mirage? ( + dev-ml/io-page + dev-ml/mirage-block + dev-ml/mirage-kv + dev-ml/ptime + ) +" +DEPEND=" + ${RDEPEND} + test? ( + dev-ml/mirage-block-unix + >=dev-ml/ounit-2[lwt] + ) +" + +RESTRICT="!test? ( test )" +REQUIRED_USE=" + test? ( mirage unix ) +" + +src_compile() { + local pkgs="tar" + for u in mirage unix ; do + if use ${u} ; then + pkgs="${pkgs},tar-${u}" + fi + done + dune build -p "${pkgs}" -j $(makeopts_jobs) || die +} + +src_install() { + dune_src_install tar + use mirage && dune_src_install tar-mirage + use unix && dune_src_install tar-unix +} diff --git a/dev-ml/tcpip/Manifest b/dev-ml/tcpip/Manifest new file mode 100644 index 0000000000..e7402133a9 --- /dev/null +++ b/dev-ml/tcpip/Manifest @@ -0,0 +1 @@ +DIST tcpip-7.1.0.tbz 103853 BLAKE2B 157c6a45dfe05e43e0f36182060b75e7910a9ef1c4701c0145056a164e743a00f73f07ccb953a29f6468ee88e03fa0b5363c36aabc1a41a9ac93a9f3e0876d10 SHA512 fae605ba30b0bb5ae28cbedc32f220c5a5166db4af9e060d82007cd020132f1e334fa8fcb7e9bd68851fc838f7e6fb1b4e1d3cba8fb787dcec79d2107b8ffd4a diff --git a/dev-ml/tcpip/metadata.xml b/dev-ml/tcpip/metadata.xml new file mode 100644 index 0000000000..ee477510cb --- /dev/null +++ b/dev-ml/tcpip/metadata.xml @@ -0,0 +1,11 @@ + + + + + lssndrbarbieri@gmail.com + Alessandro Barbieri + + + mirage/mirage-tcpip + + diff --git a/dev-ml/tcpip/tcpip-7.1.0.ebuild b/dev-ml/tcpip/tcpip-7.1.0.ebuild new file mode 100644 index 0000000000..5d3645a7e9 --- /dev/null +++ b/dev-ml/tcpip/tcpip-7.1.0.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit dune + +MYPN="mirage-${PN}" + +DESCRIPTION="TCP/IP networking stack in pure OCaml, using the Mirage platform libraries" +HOMEPAGE="https://github.com/mirage/mirage-tcpip" +SRC_URI="https://github.com/mirage/${MYPN}/releases/download/v${PV}/${P}.tbz" + +LICENSE="ISC" +SLOT="0/${PV}" +KEYWORDS="~amd64" +IUSE="ocamlopt test" + +RDEPEND=" + dev-ml/cstruct[lwt,ppx] + dev-ml/mirage-net + dev-ml/mirage-clock + dev-ml/mirage-random + dev-ml/mirage-time + dev-ml/ipaddr[macaddr-cstruct] + dev-ml/mirage-profile + dev-ml/fmt + dev-ml/lwt + dev-ml/lwt-dllist + dev-ml/logs + dev-ml/duration + dev-ml/randomconv + dev-ml/ethernet + dev-ml/arp + dev-ml/mirage-flow + dev-ml/lru + dev-ml/metrics +" +DEPEND=" + ${RDEPEND} + test? ( + dev-ml/mirage-vnetif + dev-ml/alcotest + dev-ml/pcap-format + dev-ml/mirage-clock + dev-ml/mirage-random-test + dev-ml/ipaddr[cstruct] + ) +" +BDEPEND="virtual/pkgconfig" + +RESTRICT="!test? ( test )" diff --git a/dev-ml/tls/Manifest b/dev-ml/tls/Manifest new file mode 100644 index 0000000000..c5b08613cf --- /dev/null +++ b/dev-ml/tls/Manifest @@ -0,0 +1 @@ +DIST tls-v0.13.1.tbz 299082 BLAKE2B e366f0135233c67aac72cb930d9c702ff660bb2eeaa4e2105a695026866d7723a6e41657d3f4d1a107742325d875612183ed51d96d2a9d5da50d358a99688fa3 SHA512 f5ec06a9401c5bba7b9ba011fbec14136685b673f4ec87d0eefedb9cb53f93d02142bb9a75955b8c2c5832cdcebec8751c63ce092d2b6e361a19fe1a8a1e36b1 diff --git a/dev-ml/tls/metadata.xml b/dev-ml/tls/metadata.xml new file mode 100644 index 0000000000..ec20f745d5 --- /dev/null +++ b/dev-ml/tls/metadata.xml @@ -0,0 +1,16 @@ + + + + + co-maintainers welcome + lssndrbarbieri@gmail.com + Alessandro Barbieri + + + mirleft/ocaml-tls + + + Async laye + MirageOS layer + + diff --git a/dev-ml/tls/tls-0.13.1.ebuild b/dev-ml/tls/tls-0.13.1.ebuild new file mode 100644 index 0000000000..8be88f06b0 --- /dev/null +++ b/dev-ml/tls/tls-0.13.1.ebuild @@ -0,0 +1,75 @@ +# Copyright 2020-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit dune multiprocessing + +MY_P="${PN}-v${PV}" + +DESCRIPTION="Transport Layer Security purely in OCaml" +HOMEPAGE="https://github.com/mirleft/ocaml-tls" +SRC_URI="https://github.com/mirleft/ocaml-tls/releases/download/v${PV}/${MY_P}.tbz" +S="${WORKDIR}/${MY_P}" + +LICENSE="BSD-2" +SLOT="0/${PV}" +KEYWORDS="~amd64" +IUSE="async mirage ocamlopt test" + +RDEPEND=" + dev-ml/ppx_sexp_conv + dev-ml/cstruct[ppx,sexp] + dev-ml/sexplib + dev-ml/mirage-crypto[ec,pk,rng] + dev-ml/x509 + dev-ml/domain-name + dev-ml/fmt + dev-ml/lwt + dev-ml/ptime + dev-ml/hkdf + dev-ml/logs + dev-ml/ipaddr[sexp] + + async? ( + dev-ml/async + dev-ml/async_unix + dev-ml/core + dev-ml/cstruct[async] + dev-ml/ppx_jane + dev-ml/mirage-crypto[rng-async] + ) + mirage? ( + dev-ml/mirage-flow + dev-ml/mirage-kv + dev-ml/mirage-clock + dev-ml/mirage-crypto[pk] + ) +" +DEPEND=" + ${RDEPEND} + test? ( + dev-ml/cstruct[unix] + dev-ml/alcotest + dev-ml/randomconv + >=dev-ml/ounit-2 + ) +" + +RESTRICT="!test? ( test )" + +src_compile() { + local pkgs="tls" + for u in async mirage ; do + if use ${u} ; then + pkgs="${pkgs},tls-${u}" + fi + done + dune build -p "${pkgs}" -j $(makeopts_jobs) || die +} + +src_install() { + dune_src_install tls + use async && dune_src_install tls-async + use mirage && dune_src_install tls-mirage +} diff --git a/dev-ml/uri/metadata.xml b/dev-ml/uri/metadata.xml index 982af7c50a..57acd83577 100644 --- a/dev-ml/uri/metadata.xml +++ b/dev-ml/uri/metadata.xml @@ -9,4 +9,8 @@ mirage/ocaml-uri + + This is an OCaml implementation of the RFC3986 specification for parsing URI or URLs + ocaml-uri with sexp support + diff --git a/dev-ml/uri/uri-4.2.0.ebuild b/dev-ml/uri/uri-4.2.0.ebuild index e8103d4f00..afff9437d7 100644 --- a/dev-ml/uri/uri-4.2.0.ebuild +++ b/dev-ml/uri/uri-4.2.0.ebuild @@ -3,7 +3,7 @@ EAPI=8 -inherit dune +inherit dune multiprocessing DESCRIPTION="RFC3986 URI parsing library for OCaml" HOMEPAGE="https://github.com/mirage/ocaml-uri" @@ -13,19 +13,42 @@ S="${WORKDIR}/ocaml-${P}" LICENSE="ISC" SLOT="0/${PV}" KEYWORDS="~amd64" -IUSE="ocamlopt" +IUSE="ocamlopt re sexp test" RDEPEND=" dev-ml/angstrom - dev-ml/ppx_sexp_conv - dev-ml/re - dev-ml/sexplib0 dev-ml/stringext + + re? ( + dev-ml/re + ) + sexp? ( + dev-ml/ppx_sexp_conv + dev-ml/sexplib0 + ) " -DEPEND="${RDEPEND}" +DEPEND=" + ${RDEPEND} + test? ( + dev-ml/ounit + dev-ml/ppx_sexp_conv + ) +" + +RESTRICT="!test? ( test )" + +src_compile() { + local pkgs="uri" + for u in sexp re ; do + if use ${u} ; then + pkgs="${pkgs},uri-${u}" + fi + done + dune build -p "${pkgs}" -j $(makeopts_jobs) || die +} src_install() { dune_src_install uri - dune_src_install uri-re - dune_src_install uri-sexp + use re && dune_src_install uri-re + use sexp && dune_src_install uri-sexp } diff --git a/dev-ml/vchan/Manifest b/dev-ml/vchan/Manifest new file mode 100644 index 0000000000..737b763b61 --- /dev/null +++ b/dev-ml/vchan/Manifest @@ -0,0 +1 @@ +DIST vchan-6.0.1.tbz 21954 BLAKE2B 01a8cea18ac7a94176f969323d765aadaf0ebb95ab781019caa7473fc1c0807bde3f432d81fbdd8d72261952ef36c5b7cd58fc6182d9477fe4db092bb523ec55 SHA512 8507095e49d2c47d3aa71a62a2856dea3bce0607ee3f03cd9c4a7a93b2a0f6b53788ef0345ce1193a10048251f4bd0f6d1af74ba2191682686ec463653b17622 diff --git a/dev-ml/vchan/metadata.xml b/dev-ml/vchan/metadata.xml new file mode 100644 index 0000000000..19eeb5aaef --- /dev/null +++ b/dev-ml/vchan/metadata.xml @@ -0,0 +1,15 @@ + + + + + lssndrbarbieri@gmail.com + Alessandro Barbieri + + + mirage/vchan + + + Unix support + Xen support + + diff --git a/dev-ml/vchan/vchan-6.0.1.ebuild b/dev-ml/vchan/vchan-6.0.1.ebuild new file mode 100644 index 0000000000..d21da75dc7 --- /dev/null +++ b/dev-ml/vchan/vchan-6.0.1.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit dune multiprocessing + +MY_PN="ocaml-${PN}" + +DESCRIPTION="Pure OCaml implementation of the vchan shared-memory communication protocol" +HOMEPAGE="https://github.com/mirage/ocaml-vchan" +SRC_URI="https://github.com/mirage/${MY_PN}/releases/download/v${PV}/${P}.tbz" + +LICENSE="ISC" +SLOT="0/${PV}" +KEYWORDS="~amd64" +IUSE="ocamlopt test unix xen" + +RDEPEND=" + dev-ml/lwt + dev-ml/ppx_sexp_conv + dev-ml/io-page + dev-ml/mirage-flow + dev-ml/xenstore + dev-ml/xenstore-clients + dev-ml/sexplib + dev-ml/cstruct[ppx] + + unix? ( + dev-ml/xen-evtchn[unix] + dev-ml/xen-gnt[unix] + dev-ml/fmt + ) + xen? ( dev-ml/mirage-xen ) +" +DEPEND=" + ${RDEPEND} + test? ( + dev-ml/cmdliner + dev-ml/ounit + ) +" + +RESTRICT="!test? ( test )" +REQUIRED_USE="test? ( unix xen )" + +src_compile() { + local pkgs="vchan" + for u in xen unix ; do + if use ${u} ; then + pkgs="${pkgs},vchan-${u}" + fi + done + dune build -p "${pkgs}" -j $(makeopts_jobs) || die +} + +src_install() { + dune_src_install vchan + use unix && dune_src_install vchan-unix + use xen && dune_src_install vchan-xen +} diff --git a/dev-ml/vhd/Manifest b/dev-ml/vhd/Manifest new file mode 100644 index 0000000000..d18356c4de --- /dev/null +++ b/dev-ml/vhd/Manifest @@ -0,0 +1 @@ +DIST vhd-0.12.2.tar.gz 51907 BLAKE2B 55c08d3dc7ec6f3611fe081860942f0e68eb6e1cdb284d5190baac70d5f2145ea8af3adb80ab51a388b9810b13bece8654d0c49814fecba212d0a400b9cd1662 SHA512 bea4b97492b9c5304418ed220e9303d8d94b3a7db6b7dc3566a967a9878da7dc69b655be6a66edb0ff22806de13c75693cf2dbe93e6e57a736fab0964872d99d diff --git a/dev-ml/vhd/metadata.xml b/dev-ml/vhd/metadata.xml new file mode 100644 index 0000000000..909764cf19 --- /dev/null +++ b/dev-ml/vhd/metadata.xml @@ -0,0 +1,14 @@ + + + + + lssndrbarbieri@gmail.com + Alessandro Barbieri + + + mirage/ocaml-vhd + + + provide an Lwt compatible interface to the library + + diff --git a/dev-ml/vhd/vhd-0.12.2.ebuild b/dev-ml/vhd/vhd-0.12.2.ebuild new file mode 100644 index 0000000000..07ba2d35fb --- /dev/null +++ b/dev-ml/vhd/vhd-0.12.2.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit dune multiprocessing + +MYPN="ocaml-${PN}" + +DESCRIPTION="Read and write .vhd-format format data" +HOMEPAGE="https://github.com/mirage/ocaml-vhd-format" +SRC_URI="https://github.com/mirage/${MYPN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/${MYPN}-${PV}" + +LICENSE="LGPL-2.1-with-linking-exception" +SLOT="0/${PV}" +KEYWORDS="~amd64" +IUSE="lwt ocamlopt test" + +RDEPEND=" + dev-ml/cstruct + dev-ml/io-page + dev-ml/rresult + dev-ml/uuidm + dev-ml/stdlib-shims + + lwt? ( + dev-ml/mirage-block + dev-ml/lwt + ) +" +DEPEND=" + ${RDEPEND} + test? ( + dev-ml/ounit + dev-ml/io-page[unix(-)] + ) +" + +RESTRICT="!test? ( test )" +REQUIRED_USE="test? ( lwt )" + +src_compile() { + local pkgs="vhd-format" + use lwt && pkgs="${pkgs},vhd-format-lwt" + dune build -p "${pkgs}" -j $(makeopts_jobs) || die +} + +src_install() { + dune_src_install vhd-format + use lwt && dune_src_install vhd-format-lwt +} diff --git a/dev-ml/x509/Manifest b/dev-ml/x509/Manifest new file mode 100644 index 0000000000..9de5accc46 --- /dev/null +++ b/dev-ml/x509/Manifest @@ -0,0 +1 @@ +DIST x509-v0.13.0.tbz 143302 BLAKE2B d4079a5cce87617ea611ed5624697577b97cf69a1df830fe2b4775ffa47ab557a72cb01bf24b6b56478f6fb22afb87e971ab260ae6acd7e75ef6ad0ff4052c24 SHA512 ab6d4df7e6b6796b962d4ec3d949723c2a039fc9d534a196d8ebd71499dce310716aba3be7bd9600428b534f5eadf7b8b106f77633a63f46c16eceb447e946cc diff --git a/dev-ml/x509/metadata.xml b/dev-ml/x509/metadata.xml new file mode 100644 index 0000000000..973e19557b --- /dev/null +++ b/dev-ml/x509/metadata.xml @@ -0,0 +1,12 @@ + + + + + co-maintainers welcome + lssndrbarbieri@gmail.com + Alessandro Barbieri + + + mirleft/ocaml-x509 + + diff --git a/dev-ml/x509/x509-0.13.0.ebuild b/dev-ml/x509/x509-0.13.0.ebuild new file mode 100644 index 0000000000..ff84020ed1 --- /dev/null +++ b/dev-ml/x509/x509-0.13.0.ebuild @@ -0,0 +1,41 @@ +# Copyright 2020-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit dune + +MY_P="${PN}-v${PV}" + +DESCRIPTION="Public Key Infrastructure purely in OCaml" +HOMEPAGE="https://github.com/mirleft/ocaml-x509" +SRC_URI="https://github.com/mirleft/ocaml-x509/releases/download/v${PV}/${MY_P}.tbz" +S="${WORKDIR}/${MY_P}" + +LICENSE="BSD-2" +SLOT="0/${PV}" +KEYWORDS="~amd64" +IUSE="ocamlopt test" + +RDEPEND=" + dev-ml/asn1-combinators + dev-ml/cstruct + dev-ml/domain-name + dev-ml/fmt + dev-ml/gmap + dev-ml/ipaddr + dev-ml/logs + dev-ml/mirage-crypto[ec,pk,rng] + dev-ml/ocaml-base64 + dev-ml/pbkdf + dev-ml/ptime +" +DEPEND=" + ${RDEPEND} + test? ( + dev-ml/alcotest + dev-ml/cstruct[unix] + ) +" + +RESTRICT="!test? ( test )" diff --git a/dev-ml/xapi-test-utils/Manifest b/dev-ml/xapi-test-utils/Manifest new file mode 100644 index 0000000000..0a08c7f46a --- /dev/null +++ b/dev-ml/xapi-test-utils/Manifest @@ -0,0 +1 @@ +DIST xapi-test-utils-1.4.0.tar.gz 13201 BLAKE2B 7d2afe32bf71289922ec13413a013ce4255e078a6736f58c92f39fbbad37461e5fced7d1258c1147d1ec896b5458c14ee9c0b4a5b3894b333dc369a7128bd337 SHA512 dc939b0a7fe9cca227a7dc797c3c6e4cf1d6f7f851f20e50d0d97f03a25f89503be671defbab58bbb9638dbed2a57ebf07ae216fa612bef6f6c4ea38f3d38579 diff --git a/dev-ml/xapi-test-utils/metadata.xml b/dev-ml/xapi-test-utils/metadata.xml new file mode 100644 index 0000000000..70ada5d582 --- /dev/null +++ b/dev-ml/xapi-test-utils/metadata.xml @@ -0,0 +1,11 @@ + + + + + lssndrbarbieri@gmail.com + Alessandro Barbieri + + + xapi-project/xapi-test-utils + + diff --git a/dev-ml/xapi-test-utils/xapi-test-utils-1.4.0.ebuild b/dev-ml/xapi-test-utils/xapi-test-utils-1.4.0.ebuild new file mode 100644 index 0000000000..9700d133a9 --- /dev/null +++ b/dev-ml/xapi-test-utils/xapi-test-utils-1.4.0.ebuild @@ -0,0 +1,23 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit dune + +DESCRIPTION="An OCaml package with modules for easy unit testing" +HOMEPAGE="https://github.com/xapi-project/xapi-test-utils" +SRC_URI="https://github.com/xapi-project/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="LGPL-2.1-with-linking-exception" +SLOT="0/${PV}" +KEYWORDS="~amd64" +IUSE="ocamlopt test" + +DEPEND="" +RDEPEND=" + ${DEPEND} + test? ( dev-ml/alcotest ) +" + +RESTRICT="!test? ( test )" diff --git a/dev-ml/xen-evtchn/Manifest b/dev-ml/xen-evtchn/Manifest new file mode 100644 index 0000000000..72bf6af24d --- /dev/null +++ b/dev-ml/xen-evtchn/Manifest @@ -0,0 +1 @@ +DIST xen-evtchn-v2.1.0.tbz 6877 BLAKE2B 458250df905a5b32f62161e06c637823c35933463418d13ee0b6aa2e7fd8146d9a019bf0bb6f8a125e73c0470789254728fceb27cfd24887660f246b87d48ea6 SHA512 df7d767432d450c19b5f26a85f9d442f5b5eab2013a1733c5b04b820043b61cad814813c322f7c6ce2f000b7428941b8a83f6c1059d0ee88947df9f16029d92d diff --git a/dev-ml/xen-evtchn/metadata.xml b/dev-ml/xen-evtchn/metadata.xml new file mode 100644 index 0000000000..d19b9659ba --- /dev/null +++ b/dev-ml/xen-evtchn/metadata.xml @@ -0,0 +1,14 @@ + + + + + lssndrbarbieri@gmail.com + Alessandro Barbieri + + + mirage/evtchn + + + Xen event channel interface for Linux + + diff --git a/dev-ml/xen-evtchn/xen-evtchn-2.1.0.ebuild b/dev-ml/xen-evtchn/xen-evtchn-2.1.0.ebuild new file mode 100644 index 0000000000..ae76783a04 --- /dev/null +++ b/dev-ml/xen-evtchn/xen-evtchn-2.1.0.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit dune multiprocessing + +MY_P="${PN}-v${PV}" + +DESCRIPTION="Xen event channel interface for Mirage" +HOMEPAGE="https://github.com/mirage/ocaml-evtchn" +SRC_URI="https://github.com/mirage/ocaml-evtchn/releases/download/v${PV}/${MY_P}.tbz" +S="${WORKDIR}/${MY_P}" + +LICENSE="ISC" +SLOT="0/${PV}" +KEYWORDS="~amd64" +IUSE="ocamlopt test unix" + +RDEPEND=" + dev-ml/lwt + dev-ml/lwt-dllist + dev-ml/cmdliner + + unix? ( app-emulation/xen ) +" +DEPEND=" + ${RDEPEND} + test? ( dev-ml/ounit ) +" + +RESTRICT="!test? ( test )" +REQUIRED_USE="test? ( unix )" + +src_compile() { + local pkgs="xen-evtchn" + use unix && pkgs="${pkgs},xen-evtchn-unix" + dune build -p "${pkgs}" -j $(makeopts_jobs) || die +} + +src_install() { + dune_src_install xen-evtchn + use unix && dune_src_install xen-evtchn-unix +} diff --git a/dev-ml/xen-gnt/Manifest b/dev-ml/xen-gnt/Manifest index c541047b7b..94ee082a7a 100644 --- a/dev-ml/xen-gnt/Manifest +++ b/dev-ml/xen-gnt/Manifest @@ -1 +1 @@ -DIST xen-gnt-v4.0.0.tbz 11113 BLAKE2B fc96116ad592e5ba64169cbb56c9ff7837fbe512e74185b4b64aae5f37318c41ffa1944596e69c87352e0241de54717aea6ae65d02fe0929616b7be6bf9d2022 SHA512 add0a28fc21bde76cc84b2735efdff1dba1849a95e79cf5946eca9af9c1698a5cc68f0701459631b8eea15b0234942bbeb12e744fef6fccd84e29549303f57d0 +DIST xen-gnt-4.0.1.tbz 11525 BLAKE2B ff979644451edf867251a16e855760adfa90d248f6cf74d45271072d0e0cdda84c8d1263478670a4e013e846993d9f7b9e8bdbf8dee2ec5e48365131427127c6 SHA512 24d34dc8d21eb65a0ead77b47a772120c084844732d3c4243aa7a6b61a269668c380eb8e625faf06d7d53fe69fc986cc19caec9a188717bdcf850ddee968f839 diff --git a/dev-ml/xen-gnt/metadata.xml b/dev-ml/xen-gnt/metadata.xml index e5f4c8ec96..ad55fc5375 100644 --- a/dev-ml/xen-gnt/metadata.xml +++ b/dev-ml/xen-gnt/metadata.xml @@ -8,4 +8,7 @@ mirage/ocaml-gnt + + build the userspace library + diff --git a/dev-ml/xen-gnt/xen-gnt-4.0.0.ebuild b/dev-ml/xen-gnt/xen-gnt-4.0.0.ebuild deleted file mode 100644 index 843fe2e4cf..0000000000 --- a/dev-ml/xen-gnt/xen-gnt-4.0.0.ebuild +++ /dev/null @@ -1,31 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit dune - -DESCRIPTION="OCaml bindings to the Xen grant tables libraries" -HOMEPAGE="https://github.com/mirage/ocaml-gnt" -SRC_URI="https://github.com/mirage/ocaml-gnt/releases/download/v${PV}/${PN}-v${PV}.tbz" -S="${WORKDIR}/${PN}-v${PV}" - -LICENSE="ISC" -SLOT="0/${PV}" -KEYWORDS="~amd64" -IUSE="ocamlopt" - -DEPEND=" - dev-ml/cstruct - dev-ml/cmdliner - <=dev-ml/io-page-2.2.0 - dev-ml/lwt - dev-ml/lwt-dllist - dev-ml/mirage-profile -" -RDEPEND="${DEPEND}" - -src_install() { - dune_src_install xen-gnt - dune_src_install xen-gnt-unix -} diff --git a/dev-ml/xen-gnt/xen-gnt-4.0.1.ebuild b/dev-ml/xen-gnt/xen-gnt-4.0.1.ebuild new file mode 100644 index 0000000000..e92657c4fe --- /dev/null +++ b/dev-ml/xen-gnt/xen-gnt-4.0.1.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit dune multiprocessing + +DESCRIPTION="OCaml bindings to the Xen grant tables libraries" +HOMEPAGE="https://github.com/mirage/ocaml-gnt" +SRC_URI="https://github.com/mirage/ocaml-gnt/releases/download/v${PV}/${P}.tbz" + +LICENSE="ISC" +SLOT="0/${PV}" +KEYWORDS="~amd64" +IUSE="ocamlopt unix" + +DEPEND=" + >=dev-lang/ocaml-4.08.0:=[ocamlopt?] + dev-ml/cstruct:= + dev-ml/cmdliner:= + >=dev-ml/io-page-2.4.0:= + dev-ml/lwt:= + dev-ml/lwt-dllist:= + dev-ml/mirage-profile:= + + unix? ( app-emulation/xen ) +" +RDEPEND="${DEPEND}" + +src_compile() { + local pkgs="xen-gnt" + if use unix ; then + pkgs="${pkgs},xen-gnt-unix" + fi + dune build -p "${pkgs}" -j $(makeopts_jobs) || die +} + +src_install() { + dune_src_install xen-gnt + use unix && dune_src_install xen-gnt-unix +} diff --git a/dev-ml/xenstore-clients/xenstore-clients-1.1.0.ebuild b/dev-ml/xenstore-clients/xenstore-clients-1.1.0.ebuild index 4fd43e2026..8c480bfc5f 100644 --- a/dev-ml/xenstore-clients/xenstore-clients-1.1.0.ebuild +++ b/dev-ml/xenstore-clients/xenstore-clients-1.1.0.ebuild @@ -13,13 +13,18 @@ S="${WORKDIR}/ocaml-${P}" LICENSE="LGPL-2.1-with-linking-exception" SLOT="0/${PV}" KEYWORDS="~amd64" -IUSE="ocamlopt" +IUSE="ocamlopt test" DEPEND=" - dev-ml/cstruct + dev-ml/lwt dev-ml/xenstore " -RDEPEND="${DEPEND}" +RDEPEND=" + ${DEPEND} + test? ( dev-ml/ounit ) +" + +RESTRICT="!test? ( test )" src_install() { dune_src_install xenstore_transport diff --git a/dev-python/XenAPI/XenAPI-22.14.0.ebuild b/dev-python/XenAPI/XenAPI-22.14.0.ebuild index 0ecf932e72..4097ba38b5 100644 --- a/dev-python/XenAPI/XenAPI-22.14.0.ebuild +++ b/dev-python/XenAPI/XenAPI-22.14.0.ebuild @@ -19,32 +19,95 @@ S="${WORKDIR}/xen-api-${PV}" LICENSE="LGPL-2" SLOT="0" -KEYWORDS="" -IUSE="ocamlopt pam python" +KEYWORDS="~amd64" +IUSE="ocamlopt pam python test" RDEPEND=" python? ( ${PYTHON_DEPS} ) + app-emulation/xen + dev-libs/openssl dev-libs/xxhash - dev-ml/cstruct - dev-ml/ezjsonm - dev-ml/ezxenstore - dev-ml/mtime - dev-ml/rpc - dev-ml/uuidm - dev-ml/xapi-backtrace - dev-ml/xapi-stdext - dev-ml/xcp-inventory - dev-ml/xcp-rrd - dev-ml/xen-gnt - dev-ml/xenctrl - dev-ml/xenstore - dev-ml/xenstore-clients - dev-ml/xmlm + dev-ml/alcotest:= + dev-ml/angstrom:= + dev-ml/astring:= + dev-ml/async_inotify:= + dev-ml/async_unix:= + dev-ml/async:= + dev-ml/base-threads:= + dev-ml/base-unix:= + dev-ml/cdrom:= + dev-ml/cmdliner:= + dev-ml/cohttp:=[async,lwt,lwt-unix] + dev-ml/core:= + dev-ml/crc:= + dev-ml/cstruct:=[ppx,unix] + dev-ml/domain-name:= + dev-ml/dune-build-info:= + dev-ml/ezjsonm:= + dev-ml/ezxenstore:= + dev-ml/fd-send-recv:= + dev-ml/fmt:= + dev-ml/fpath:= + dev-ml/inotify:= + dev-ml/io-page:=[unix(-)] + dev-ml/ipaddr:= + dev-ml/logs:= + dev-ml/lwt:= + dev-ml/lwt_log:= + dev-ml/lwt_ssl:= + dev-ml/mirage-block-unix:= + dev-ml/mirage-crypto:=[pk] + dev-ml/mtime:= + dev-ml/mustache:= + dev-ml/nbd:=[unix] + dev-ml/netlink:= + dev-ml/ocaml-base64:= + dev-ml/ocaml-ctypes:= + dev-ml/ocaml-migrate-parsetree:= + dev-ml/ocaml-sha:= + dev-ml/pci:= + dev-ml/polly:= + dev-ml/ppx_sexp_conv:= + dev-ml/qmp:= + dev-ml/re:= + dev-ml/result:= + dev-ml/rpc:=[async] + dev-ml/rresult:= + dev-ml/sexplib:= + dev-ml/sexplib0:= + dev-ml/shared-block-ring:= + dev-ml/systemd:= + dev-ml/tar:=[unix] + dev-ml/uri:= + dev-ml/uuidm:= + dev-ml/uutf:= + dev-ml/vhd:=[lwt] + dev-ml/x509:= + dev-ml/xapi-backtrace:= + dev-ml/xapi-stdext:= + dev-ml/xapi-test-utils:= + dev-ml/xcp-inventory:= + dev-ml/xcp-rrd:= + dev-ml/xenctrl:= + dev-ml/xen-gnt:=[unix] + dev-ml/xenstore:= + dev-ml/xenstore-clients:= + dev-ml/xmlm:= + dev-ml/yojson:= + sys-libs/pam +" +DEPEND=" + ${RDEPEND} + test? ( + dev-ml/mirage-crypto[rng] + >=dev-ml/ounit-2 + dev-ml/qcheck + ) " -DEPEND="${RDEPEND}" REQUIRED_USE="${PYTHON_REQUIRED_USE}" +RESTRICT="!test? ( test )" src_compile() { dune_src_compile diff --git a/dev-python/asyncssh/asyncssh-2.10.0.ebuild b/dev-python/asyncssh/asyncssh-2.10.0.ebuild index b874e75e0c..b3e8af92f9 100644 --- a/dev-python/asyncssh/asyncssh-2.10.0.ebuild +++ b/dev-python/asyncssh/asyncssh-2.10.0.ebuild @@ -5,6 +5,11 @@ EAPI=8 DOCS_BUILDER="sphinx" DOCS_DIR="docs" +EPYTEST_DESELECT=( + tests/test_connection.py::_TestConnection::test_connect_timeout_exceeded + tests/test_connection.py::_TestConnection::test_connect_timeout_exceeded_string + tests/test_connection.py::_TestConnection::test_connect_timeout_exceeded_tunnel +) # network tests PYTHON_COMPAT=( python3_{8..9} ) inherit distutils-r1 docs optfeature diff --git a/dev-python/dotmap/Manifest b/dev-python/dotmap/Manifest index e144385b38..0d06fae4db 100644 --- a/dev-python/dotmap/Manifest +++ b/dev-python/dotmap/Manifest @@ -1,2 +1,2 @@ -DIST dotmap-1.3.26.tar.gz 12070 BLAKE2B 28023eebf6437530f3f1ee541f138eaffbc632f441bc9698e2329ab8d9894510e04122f797a77416cbe498fde5092f5c0a821615c4e9fbd1959c75cce94f7cfc SHA512 5083fec8f9e909f68f0fa12db8709ca064d0fd134230f6d0fe315c66613983290bf7de35db29d805013b13024babf250e9110308817265d4e70b9dea5b9a132f DIST dotmap-1.3.28.tar.gz 12097 BLAKE2B c172a3c4b8f4b10e2351d342cf38eed1ea8cac510eb4a66fa7df5660628fcf57056083af519f8360e78dce1d494185d2b09edfc7a4e7e604af658af15335fcc3 SHA512 9d16b1886884464cbe9df5d0af6426c869969767b9fee527cf108551d8f0d5d81f479d429350e31c89b9db2d3cc6d395945321f56688850dca7bfa2bbf273451 +DIST dotmap-1.3.30.tar.gz 12391 BLAKE2B f6e5713704d2f7c828c0a373174348900ebe39b72fd85456ed374a62f474c67e916b5956afeec246d8a6e9253b08c5e495c781d2915cecb38bee0d0b256810d2 SHA512 8e6d3e4419c3dbd1c0a3209dfc7bcda859bf547ab3fe88471c04a7f4c34219c9ca13b848788e6a24c6d3ece539f9ba0a16600f7941abdbd99c4e6d0badf4af27 diff --git a/dev-python/dotmap/dotmap-1.3.26.ebuild b/dev-python/dotmap/dotmap-1.3.30.ebuild similarity index 100% rename from dev-python/dotmap/dotmap-1.3.26.ebuild rename to dev-python/dotmap/dotmap-1.3.30.ebuild diff --git a/dev-python/ncclient/Manifest b/dev-python/ncclient/Manifest index 923800b635..15fe4be7d4 100644 --- a/dev-python/ncclient/Manifest +++ b/dev-python/ncclient/Manifest @@ -1 +1,2 @@ DIST ncclient-0.6.12.tar.gz 129189 BLAKE2B 456791d422928b134aefc568f2ffa31ada9246c3e10e481724d57c56e8eb44353e402e828dfa34ee12edc7edb40e86a8e1ad12797666a7d12ecd9931e4377323 SHA512 ba1547579c830733f2f450ecafaf146a364b3a123f4cb0a3395e0ed19ad31025823b928d06acb537a531203a5ac65fc757b6fb34fefdde0f1e357e5f57bf73d0 +DIST ncclient-0.6.13.tar.gz 130399 BLAKE2B b6084b967d4099d5c40075bf1ea0a70a19f8b1eb75225113e74469ce3d6fa381d8398b920ae570895fb0d39af1dd2523816a343c1e110640324fd10e784fdfbe SHA512 650d07477d48cd209ef758ebd1716e48c4021c3d681f0ce2e9065ca5f34ace82079f5577884d26fc99e552c6f4cd7b59a9bf8866008e7b2985f1d8b23cc8d61f diff --git a/dev-python/ncclient/ncclient-0.6.13.ebuild b/dev-python/ncclient/ncclient-0.6.13.ebuild new file mode 100644 index 0000000000..5637bac607 --- /dev/null +++ b/dev-python/ncclient/ncclient-0.6.13.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_SETUPTOOLS=rdepend +PYTHON_COMPAT=( python3_{8..10} ) + +inherit distutils-r1 + +DESCRIPTION="Python library for NETCONF clients" +HOMEPAGE=" + https://github.com/ncclient/ncclient + https://pypi.org/project/ncclient/ +" +SRC_URI="https://github.com/ncclient/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + dev-python/lxml[${PYTHON_USEDEP}] + dev-python/paramiko[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}] +" +DEPEND="${RDEPEND}" +BDEPEND="test? ( dev-python/mock[${PYTHON_USEDEP}] )" + +distutils_enable_tests nose diff --git a/dev-python/ovsdbapp/Manifest b/dev-python/ovsdbapp/Manifest index dc1a3c89f8..cd0401a7eb 100644 --- a/dev-python/ovsdbapp/Manifest +++ b/dev-python/ovsdbapp/Manifest @@ -1 +1 @@ -DIST ovsdbapp-1.15.1.tar.gz 106361 BLAKE2B 754195e6ed1c9f6e43c34df66976403e84390febf3dba71a73245a34fd0c277a72def3f5b8ce6ed56c0897d3de80737ce4be521a9aec0a6d3c24ca4a36b5503a SHA512 f4d6e983c883ca23827e8216f90f352926600e0cdcf32d524a1c912505e4672c143ed66bf2e1e1bbbba1578469befc559077828910862d7fc81db2b6ceb68887 +DIST ovsdbapp-1.16.0.tar.gz 105855 BLAKE2B 4aad43209c9c51c526fd101b8dc34108cd331b455ba36564fd3d2c1907f7eded0b7811926fb1cbae692d53f878d8f058928a796d310ab222143cdb0aa181f8d0 SHA512 035db0ebb6677cd43c8943f027d61f09f7413fed42cc9e1d84bc71cdb87bab0a44660c0d8df9ab6239df118952e0a5ead0cca67dfc2bf28d5f4c50f4930ed672 diff --git a/dev-python/ovsdbapp/ovsdbapp-1.15.1.ebuild b/dev-python/ovsdbapp/ovsdbapp-1.16.0.ebuild similarity index 100% rename from dev-python/ovsdbapp/ovsdbapp-1.15.1.ebuild rename to dev-python/ovsdbapp/ovsdbapp-1.16.0.ebuild diff --git a/dev-python/rchitect/Manifest b/dev-python/rchitect/Manifest new file mode 100644 index 0000000000..0016442365 --- /dev/null +++ b/dev-python/rchitect/Manifest @@ -0,0 +1 @@ +DIST rchitect-0.3.36.tar.gz 32682 BLAKE2B dbd9dec8d60f0b3558d0b8fac5c3a02e5ce210778b941b4cd994ee7f815205a34897605a8a7cd29e96791f223ba9d611bdf3064b93f13647c98084e9d07747bc SHA512 53b9cd3cc5cd566d39e74fd70dcb9b6eeb259885b57dde6c42beaea775db07b12f0745abc996218d0df0522d3db39919e953eb1bc13b8e89f69f583b6323476c diff --git a/dev-python/rchitect/files/rchitect-0.3.36-no-pytest-runner.patch b/dev-python/rchitect/files/rchitect-0.3.36-no-pytest-runner.patch new file mode 100644 index 0000000000..41ee0be51f --- /dev/null +++ b/dev-python/rchitect/files/rchitect-0.3.36-no-pytest-runner.patch @@ -0,0 +1,12 @@ +--- a/setup.py ++++ b/setup.py +@@ -44,8 +44,7 @@ + python_requires='>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*', + install_requires=install_requires, + setup_requires=[ +- 'cffi>=1.10.0', +- "pytest-runner" ++ 'cffi>=1.10.0' + ], + extras_require={ + "test": [ diff --git a/dev-python/rchitect/metadata.xml b/dev-python/rchitect/metadata.xml new file mode 100644 index 0000000000..0a6791078c --- /dev/null +++ b/dev-python/rchitect/metadata.xml @@ -0,0 +1,16 @@ + + + + + lssndrbarbieri@gmail.com + Alessandro Barbieri + + + randy3k/rchitect + rchitect + + randy.cs.lai@gmail.com + Randy Lai + + + diff --git a/dev-python/rchitect/rchitect-0.3.36.ebuild b/dev-python/rchitect/rchitect-0.3.36.ebuild new file mode 100644 index 0000000000..7210f6e6c2 --- /dev/null +++ b/dev-python/rchitect/rchitect-0.3.36.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..9} ) + +inherit distutils-r1 + +DESCRIPTION="Interoperate R with Python" +HOMEPAGE=" + https://pypi.org/project/rchitect/ + https://github.com/randy3k/rchitect +" +SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=">=dev-python/cffi-1.10.0[${PYTHON_USEDEP}]" +DEPEND=" + ${RDEPEND} + >=dev-python/six-1.9.0[${PYTHON_USEDEP}] + dev-python/wheel[${PYTHON_USEDEP}] +" +BDEPEND="test? ( dev-python/pytest-mock[${PYTHON_USEDEP}] )" + +PATCHES=( "${FILESDIR}/${P}-no-pytest-runner.patch" ) + +distutils_enable_tests pytest diff --git a/dev-python/ufo2ft/Manifest b/dev-python/ufo2ft/Manifest index fe175322b9..28493d4249 100644 --- a/dev-python/ufo2ft/Manifest +++ b/dev-python/ufo2ft/Manifest @@ -1,2 +1,2 @@ -DIST ufo2ft-2.25.3.tar.gz 173168 BLAKE2B 365a14dff4704f98a8c6ad1904420d01e367099e96d35fe9275e93dd30c4224d3c0f573fc5d0cb4bede7625e6eaeea58f14a1864fa22355ce4ee259f18a82f18 SHA512 eec5ddd997830bfb93c7545e94569d447f31f23ac74babe66bf5a3f552c709ef9add6da43b02a92f6990413aaa64b411dc8ed79151cf4debf5c38aadeb4ff856 DIST ufo2ft-2.26.0.tar.gz 173354 BLAKE2B 6271498143219e7a6870dc66eacf99a0ef4f6a0216d6d41e20b74517b0efa68f9a0a950c17c92d0a080a26c0761a86cf88d4918efb76658e233d9b08b76d1e9d SHA512 6a6d07603c0335adbe74f6913bfa3cb33d5eaaf6fb8b3ff0d92744bb2aaddcfa14bbfeedfd18215d3483fe39e4c6166352387b639768ce90a7d9c4905a79900d +DIST ufo2ft-2.27.0.tar.gz 174521 BLAKE2B 2b80fa7bf234860e2d61940c662435d3f1a0f7a254e9a79a2acda1aded5b2948840a8e74455f177b6a76e6d5dc2950fc2328589cdc517a98b863cef228326594 SHA512 f1475424730a98d8eee4b1c3fcbcace97b55e8b5109cae5ad5a1de191d30483ac9ecfc8e1ade3eabb0d04e12dfb2bfc73478b17d637d65c566b7ddf41dc0caec diff --git a/dev-python/ufo2ft/ufo2ft-2.25.3.ebuild b/dev-python/ufo2ft/ufo2ft-2.27.0.ebuild similarity index 100% rename from dev-python/ufo2ft/ufo2ft-2.25.3.ebuild rename to dev-python/ufo2ft/ufo2ft-2.27.0.ebuild diff --git a/dev-util/annobin/Manifest b/dev-util/annobin/Manifest index a38c6d64be..2704283dd1 100644 --- a/dev-util/annobin/Manifest +++ b/dev-util/annobin/Manifest @@ -1 +1,2 @@ DIST annobin-10.60.tar.xz 848432 BLAKE2B df7dafd25af009bf0cbe779088892bd11120cf99f587293f7730083007586d84c452737d4e3b32e2b73586ab51958ba8f16d358cef9041ccb493198e72bc1b37 SHA512 7d5158da6a59000d686fb837b0ac1a86351898c00a93e29c2cb599ec6eccb325b66fbd775855bd3661d2d9541e3d2cb2493b087b6670fca137f9992f33c68082 +DIST annobin-10.62.tar.xz 849684 BLAKE2B 363cc54f56199e210edb82549b7743f9d70e62f481faab7363f715ce3ab2f127e9025f04cf92ccbd0402804df4fe8ff1c92259639b32b6c76f47eb82de0c022b SHA512 60f65d80158dc074f9293ae4d35e312a8b2129b20e10eb3268d335be215e8eee9f6bb0efc341bcaae7169a32a5fbdbf8d81fd372e6b3c793d7380682e1baf595 diff --git a/dev-util/annobin/annobin-10.62.ebuild b/dev-util/annobin/annobin-10.62.ebuild new file mode 100644 index 0000000000..2a3dfe7f1a --- /dev/null +++ b/dev-util/annobin/annobin-10.62.ebuild @@ -0,0 +1,89 @@ +# Copyright 2018-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +LLVM_MAX_SLOT=14 + +inherit autotools llvm toolchain-funcs + +DESCRIPTION="Binary annotation compiler plugin and tools" +HOMEPAGE="https://nickc.fedorapeople.org" +SRC_URI="https://nickc.fedorapeople.org/${P}.tar.xz" + +KEYWORDS="~amd64" +LICENSE="GPL-3" +SLOT="0" +IUSE="clang doc llvm test" + +RDEPEND=" + app-arch/rpm + dev-libs/elfutils + sys-libs/binutils-libs + + clang? ( ] +# @DESCRIPTION: +# will contain symlinks to everything in +_movelink() { if [ -e "${1}" ]; then - dodoc -r "${1}" - rm -rf "${1}" || die + local rp1="$(realpath ${1})" || die + mv "${rp1}" "${2}" || die + cp -rsf "${2}" "${rp1}" || die fi } +# @FUNCTION: R-packages_src_unpack +# @DESCRIPTION: +# function to unpack R packages into the right folder R-packages_src_unpack() { unpack ${A} if [[ -d "${PN//_/.}" ]] && [[ ! -d "${P}" ]]; then @@ -27,43 +53,91 @@ R-packages_src_unpack() { fi } +# @FUNCTION: R-packages_src_prepare +# @DESCRIPTION: +# function to remove unwanted files from the sources R-packages_src_prepare() { rm -f LICENSE || die default } +# @FUNCTION: R-packages_src_configure +# @DESCRIPTION: +# dummy function to disable configure +R-packages_src_configure() { :; } + +# @FUNCTION: R-packages_src_compile +# @DESCRIPTION: +# function that will pass some environment variables to R and then build/install the package R-packages_src_compile() { - MAKEFLAGS="AR=$(tc-getAR) CFLAGS=${CFLAGS// /\\ } CXXFLAGS=${CXXFLAGS// /\\ } FFLAGS=${FFLAGS// /\\ } FCFLAGS=${FCFLAGS// /\\ } LDFLAGS=${LDFLAGS// /\\ }" R CMD INSTALL . -l "${WORKDIR}" "--byte-compile" || die + MAKEFLAGS=" \ + ${MAKEFLAGS// /\\ } \ + AR=$(tc-getAR) \ + CC=$(tc-getCC) \ + CPP=$(tc-getCPP) \ + CXX=$(tc-getCXX) \ + FC=$(tc-getFC) \ + LD=$(tc-getLD) \ + NM=$(tc-getNM) \ + RANLIB=$(tc-getRANLIB) \ + CFLAGS=${CFLAGS// /\\ } \ + CPPFLAGS=${CPPFLAGS// /\\ } \ + CXXFLAGS=${CXXFLAGS// /\\ } \ + FFLAGS=${FFLAGS// /\\ } \ + FCFLAGS=${FCFLAGS// /\\ } \ + LDFLAGS=${LDFLAGS// /\\ } \ + MAKEOPTS=${MAKEOPTS// /\\ } \ + " \ + R CMD INSTALL . -l "${WORKDIR}" "--byte-compile" || die } + +# @FUNCTION: R-packages_src_install +# @DESCRIPTION: +# function to move the files in the right folders +# documentation and examples to docsdir, symlinked back to R site-library (to allow access from within R) +# everything else to R site-library R-packages_src_install() { - cd "${WORKDIR}/${PN//_/.}" || die + pushd "${WORKDIR}/${PN//_/.}" || die - dodocrm examples || die - #dodocrm DESCRIPTION || die #keep this - dodocrm NEWS.md || die - dodocrm README.md || die - dodocrm html || die + local DOCS_DIR="${ED}/usr/share/doc/${PF}" - if [ -e doc ]; then - if [ -e doc/html ]; then - docinto "${DOCSDIR}/html" - dodoc -r doc/*.html - rm -r doc/*.html || die - docompress -x "${DOCSDIR}/html" - fi + mkdir -p "${DOCS_DIR}" || die - docinto "${DOCSDIR}" - dodoc -r doc/. - rm -r doc || die + for i in NEWS.md README.md DESCRIPTION examples ; do + _movelink "${i}" "${DOCS_DIR}/${i}" || die + done + + if [ -e html ]; then + _movelink html "${DOCS_DIR}/html" || die + docompress -x "${DOCS_DIR}/html" fi + if [ -e doc ]; then + pushd doc || die + for i in * ; do + _movelink "${i}" "${DOCS_DIR}/${i}" || die + done + popd || die + fi + if [ -e doc/html ]; then + docompress -x "${DOCS_DIR}/html" + fi + docompress -x "${DOCS_DIR}" insinto "/usr/$(get_libdir)/R/site-library" doins -r "${WORKDIR}/${PN//_/.}" } +# @FUNCTION: R-packages_pkg_postinst +# @DESCRIPTION: +# function that will prompt to install the suggested packages if they exist R-packages_pkg_postinst() { if [ -v SUGGESTED_PACKAGES ]; then - optfeature "having the upstream suggested packages" "${SUGGESTED_PACKAGES}" + for p in ${SUGGESTED_PACKAGES} ; do + pexist=$(pquery -n1 "${p}" 2>/dev/null) || die + if [ -n "${pexist}" ]; then + optfeature "having the upstream suggested package" "${p}" + fi + done fi } diff --git a/eclass/octaveforge.eclass b/eclass/octaveforge.eclass index 8a7fe03963..b9303884cf 100644 --- a/eclass/octaveforge.eclass +++ b/eclass/octaveforge.eclass @@ -1,43 +1,72 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -# -# Original Author: Rafael G. Martins -# Purpose: octaveforge helper eclass. -# +# @ECLASS: octaveforge.eclass +# @AUTHOR: +# Rafael G. Martins +# Alessandro Barbieri +# @BLURB: octaveforge helper eclass. +# @MAINTAINER: +# Alessandro Barbieri +# @SUPPORTED_EAPIS: 8 + +inherit autotools + +case ${EAPI} in + 8) ;; + *) die "${ECLASS}: EAPI ${EAPI} unsupported." +esac + +EXPORT_FUNCTIONS src_unpack src_prepare src_install pkg_postinst pkg_prerm pkg_postrm # @ECLASS-VARIABLE: OCTAVEFORGE_CAT # @DESCRIPTION: # the octave-forge category of the package. OCTAVEFORGE_CAT="${OCTAVEFORGE_CAT:-main}" +# @ECLASS-VARIABLE: REPO_URI +# @DESCRIPTION: +# URI to the sourceforge octave-forge repository REPO_URI="http://svn.code.sf.net/p/octave/code/trunk/octave-forge" -inherit autotools -SRC_URI="mirror://sourceforge/octave/${P}.tar.gz" +# defining some paths + +# @ECLASS-VARIABLE: OCT_ROOT +# @DESCRIPTION: +# full path to octave share +OCT_ROOT="/usr/share/octave" + +# @ECLASS-VARIABLE: OCT_PKGDIR +# @DESCRIPTION: +# path to octave pkgdir +OCT_PKGDIR="${OCT_ROOT}/packages" + +# @ECLASS-VARIABLE: OCT_BIN +# @DESCRIPTION: +# full path to octave binary +OCT_BIN="$(type -p octave)" SRC_URI=" - ${SRC_URI} + mirror://sourceforge/octave/${P}.tar.gz ${REPO_URI}/packages/package_Makefile.in -> octaveforge_Makefile ${REPO_URI}/packages/package_configure.in -> octaveforge_configure " SLOT="0" -# defining some paths -OCT_ROOT="/usr/share/octave" -OCT_PKGDIR="${OCT_ROOT}/packages" -OCT_BIN="$(type -p octave)" - -EXPORT_FUNCTIONS src_unpack src_prepare src_install pkg_postinst pkg_prerm pkg_postrm - +# @FUNCTION: octaveforge_src_unpack +# @DESCRIPTION: +# function to unpack and set the correct S octaveforge_src_unpack() { default if [ ! -d "${WORKDIR}/${P}" ]; then S="${WORKDIR}/${PN}" - cd "${S}" || die + pushd "${S}" || die fi } +# @FUNCTION: octaveforge_src_prepare +# @DESCRIPTION: +# function to add octaveforge specific makefile and configure and run autogen.sh if available octaveforge_src_prepare() { for filename in Makefile configure; do cp "${DISTDIR}/octaveforge_${filename}" "${S}/${filename}" || die @@ -48,7 +77,9 @@ octaveforge_src_prepare() { chmod 0755 "${S}/configure" || die if [ -e "${S}/src/autogen.sh" ]; then - cd "${S}/src" && ./autogen.sh || die 'failed to run autogen.sh' + pushd "${S}/src" || die + ./autogen.sh || die 'failed to run autogen.sh' + popd || die fi if [ -e "${S}/src/Makefile" ]; then sed -i 's/ -s / /g' "${S}/src/Makefile" || die 'sed failed.' @@ -56,6 +87,10 @@ octaveforge_src_prepare() { eapply_user } +# @FUNCTION: octaveforge_src_install +# @DESCRIPTION: +# function to install the octave package +# documentation to docsdir octaveforge_src_install() { emake DESTDIR="${D}" DISTPKG='Gentoo' install if [ -d doc/ ]; then @@ -63,12 +98,20 @@ octaveforge_src_install() { fi } +# @FUNCTION: octaveforge_pkg_postinst +# @DESCRIPTION: +# function that will rebuild the octave package database octaveforge_pkg_postinst() { einfo "Registering ${CATEGORY}/${PF} on the Octave package database." - [ -d "${OCT_PKGDIR}" ] || mkdir -p "${OCT_PKGDIR}" || die + if [ ! -d "${OCT_PKGDIR}" ] ; then + mkdir -p "${OCT_PKGDIR}" || die + fi "${OCT_BIN}" -H -q --no-site-file --eval "pkg('rebuild');" &> /dev/null || die 'failed to register the package.' } +# @FUNCTION: octaveforge_pkg_prerm +# @DESCRIPTION: +# function that will run on_uninstall routines to prepare the package to remove octaveforge_pkg_prerm() { einfo 'Running on_uninstall routines to prepare the package to remove.' local pkgdir=$( @@ -89,8 +132,13 @@ octaveforge_pkg_prerm() { fi } +# @FUNCTION: octaveforge_pkg_postrm +# @DESCRIPTION: +# function that will rebuild the octave package database octaveforge_pkg_postrm() { einfo 'Rebuilding the Octave package database.' - [ -d "${OCT_PKGDIR}" ] || mkdir -p "${OCT_PKGDIR}" || die + if [ ! -d "${OCT_PKGDIR}" ] ; then + mkdir -p "${OCT_PKGDIR}" || die + fi "${OCT_BIN}" -H --silent --eval 'pkg rebuild' &> /dev/null || die 'failed to rebuild the package database' } diff --git a/media-gfx/gephi-bin/Manifest b/media-gfx/gephi-bin/Manifest index 76e18d1cfa..b09f60de1a 100644 --- a/media-gfx/gephi-bin/Manifest +++ b/media-gfx/gephi-bin/Manifest @@ -1 +1,2 @@ DIST gephi-0.9.2-linux.tar.gz 80846981 BLAKE2B fccf8bc9ce1e1d422582ba5ac223c0608ac130150cb76eb079409f2357a24d097487d5b05d63c34a607757c2fb11d822202618c331fe3148c20a545ad36504cf SHA512 ea90a2f7c8e4cb63364dd0245bde68527048e5d2a807422c4ab3bf7d05373af982c4cde50774131d0a810ef0c31a7cbfaef3f4b1c46e458c7696c856072d20cd +DIST gephi-0.9.3-linux-x64.tar.gz 141499507 BLAKE2B eb7f31f9f33308678a7429bf1eddf7fd5a89d3a175ab84505d57e3de9f8c387eb951bcc435c3d0075248847f11b5ed99a7eb8110ebd875c4dbd2a164d41deb53 SHA512 4d88d2c1371f54f2bdefc1b9b7ee1e6d68ba29e8c447c55ba29fc75acdc1b69c21e1c236efe95605cc5ef4a4ca0237615cbcec0293fa73a91d7b3d7ecf3e67b1 diff --git a/media-gfx/gephi-bin/gephi-bin-0.9.3.ebuild b/media-gfx/gephi-bin/gephi-bin-0.9.3.ebuild new file mode 100644 index 0000000000..f953a0958e --- /dev/null +++ b/media-gfx/gephi-bin/gephi-bin-0.9.3.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +MYPN="${PN/-bin/}" +MYP="${MYPN}-${PV}" + +DESCRIPTION="The Open Graph Viz Platform" +HOMEPAGE=" + https://gephi.org/ + https://github.com/gephi/gephi +" +SRC_URI="https://github.com/gephi/gephi/releases/download/v${PV}/${MYP}-linux-x64.tar.gz" +S="${WORKDIR}" + +LICENSE="CDDL GPL-3" +SLOT="0" +KEYWORDS="-* ~amd64" +RDEPEND="virtual/jre:1.8" + +RESTRICT="strip" + +QA_PREBUILT="/opt/${MYPN}/platform/modules/lib/amd64/linux/libjnidispatch-nb.so" + +src_prepare() { + sed -e 's|jdkhome=.*|jdkhome=\$(java-config -O)|g' -i "${S}/${MYP}/etc/gephi.conf" || die + + #remove windows things + rm -r "${S}/${MYP}"/bin/*.exe || die + rm -r "${S}/${MYP}"/platform/lib/*.exe || die + rm -r "${S}/${MYP}"/platform/lib/*.dll || die + rm -r "${S}/${MYP}/platform/modules/lib/x86" || die #windows only + rm -r "${S}/${MYP}"/platform/modules/lib/amd64/*.dll || die + + rm -rf "${S}/${MYP}/platform/modules/lib/i386" || die + rm -rf "${S}/${MYP}/platform/modules/lib/aarch64" || die + + # remove bundled jre + rm -rf "${S}/${MYP}/jre-x64" || die + + eapply_user +} + +src_install() { + insinto "/opt/${MYPN}" + doins -r "${MYP}"/* + keepdir "/opt/${MYPN}/etc" + fperms a+x "/opt/${MYPN}/bin/gephi" + fperms a+x "/opt/${MYPN}/platform/lib/nbexec" + dosym "../../opt/${MYPN}/bin/gephi" "${EPREFIX}/usr/bin/gephi" +} diff --git a/media-libs/imgui/Manifest b/media-libs/imgui/Manifest index 9bbf158f09..582ac2320d 100644 --- a/media-libs/imgui/Manifest +++ b/media-libs/imgui/Manifest @@ -1,2 +1,3 @@ +DIST cimgui-1.87.tar.gz 385460 BLAKE2B 0916d53a00234343536ee412035a2c405b01e31a26c3d059cff4d446188ee8a1835a1233a68f671ccebb67be480801b85203a90b0e79fa729f7ac1efdc8bf4a2 SHA512 bf2ed9461e8c12514d29914e6da7f8fae7cd31fcc587c7d89122c950541aed3b4b908d8cd298b3975e9a955a47789335a88db7223ca558cbdf459693a0081bda DIST imgui-1.83.tar.gz 1448389 BLAKE2B 648306bd69181ad8315f12fc5b2c319b23005d6b3fc790ad64caaf1f80304e81b33af5d6f435fa97151fcf1e77eb15455838a09570b7a9c7dd9c56a61510b5a1 SHA512 2150e7101f384b1c749b2e89876b2085a7ff43435f04e88602d0e5e00db7a41c1ace5176bdb0963326845d1c8303b5092a7ca1c9c8e70c522ba96f899ed5bb9c DIST imgui-1.87.tar.gz 1460834 BLAKE2B f73b71400311e7c5f82248e242a932add5090670c78077ca2239f349730bab88a00bfe4deca4e854772ef7f6a2cff1fc0f38f7174a026995f93c9e7b55eb2a1d SHA512 3255b06698ab9c8951953e1e0b6d160d64adfa4c011b21a4288547292a7f8fff586875faf9dae0677818bde65bd7e98da92f16f6beb1e6a66aa835edf32e8ce2 diff --git a/media-libs/imgui/files/cimgui-1.87-fix-cmake.patch b/media-libs/imgui/files/cimgui-1.87-fix-cmake.patch new file mode 100644 index 0000000000..b3bae1cfeb --- /dev/null +++ b/media-libs/imgui/files/cimgui-1.87-fix-cmake.patch @@ -0,0 +1,69 @@ +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -1,21 +1,13 @@ + cmake_minimum_required(VERSION 3.1) + +-project(cimgui) ++project(libcimgui) + +-if (EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/imgui/imgui_tables.cpp) +- set(TABLES_SOURCE "imgui/imgui_tables.cpp") +-else() + set(TABLES_SOURCE "") +-endif() + + + #general settings + file(GLOB IMGUI_SOURCES + cimgui.cpp +- imgui/imgui.cpp +- imgui/imgui_draw.cpp +- imgui/imgui_demo.cpp +- imgui/imgui_widgets.cpp + ${TABLES_SOURCE} + ) + +@@ -24,34 +16,30 @@ + set(IMGUI_LIBRARIES ) + + if(IMGUI_FREETYPE) +- FIND_PACKAGE(freetype REQUIRED PATHS ${FREETYPE_PATH}) +- list(APPEND IMGUI_LIBRARIES freetype) +- list(APPEND IMGUI_SOURCES imgui/misc/freetype/imgui_freetype.cpp) ++ list(APPEND IMGUI_LIBRARIES -lfreetype) + add_definitions("-DCIMGUI_FREETYPE=1") + endif(IMGUI_FREETYPE) + + #add library and link + if (IMGUI_STATIC) +- add_library(cimgui STATIC ${IMGUI_SOURCES}) ++ add_library(libcimgui STATIC ${IMGUI_SOURCES}) + else (IMGUI_STATIC) +- add_library(cimgui SHARED ${IMGUI_SOURCES}) ++ add_library(libcimgui SHARED ${IMGUI_SOURCES}) + endif (IMGUI_STATIC) + +-target_compile_definitions(cimgui PUBLIC IMGUI_DISABLE_OBSOLETE_FUNCTIONS=1) + if (WIN32) +- target_compile_definitions(cimgui PUBLIC IMGUI_IMPL_API=extern\t\"C\"\t__declspec\(dllexport\)) ++ target_compile_definitions(libcimgui PUBLIC IMGUI_IMPL_API=extern\t\"C\"\t__declspec\(dllexport\)) + list(APPEND IMGUI_LIBRARIES imm32) + else (WIN32) +- target_compile_definitions(cimgui PUBLIC IMGUI_IMPL_API=extern\t\"C\"\t) ++ target_compile_definitions(libcimgui PUBLIC IMGUI_IMPL_API=extern\t\"C\"\t) + endif (WIN32) + +-target_include_directories(cimgui PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}) +-target_include_directories(cimgui PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/imgui) +-set_target_properties(cimgui PROPERTIES PREFIX "") +-target_link_libraries(cimgui ${IMGUI_LIBRARIES}) ++target_include_directories(libcimgui PUBLIC ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_SOURCE_DIR}/imgui) ++set_target_properties(libcimgui PROPERTIES PREFIX "") ++target_link_libraries(libcimgui PUBLIC -limgui) + + #install +-install(TARGETS cimgui ++install(TARGETS libcimgui + RUNTIME DESTINATION . + LIBRARY DESTINATION . + ARCHIVE DESTINATION . diff --git a/media-libs/imgui/imgui-1.87-r1.ebuild b/media-libs/imgui/imgui-1.87-r2.ebuild similarity index 64% rename from media-libs/imgui/imgui-1.87-r1.ebuild rename to media-libs/imgui/imgui-1.87-r2.ebuild index 4339ad3865..f51097b79e 100644 --- a/media-libs/imgui/imgui-1.87-r1.ebuild +++ b/media-libs/imgui/imgui-1.87-r2.ebuild @@ -3,16 +3,25 @@ EAPI=8 -inherit flag-o-matic toolchain-funcs +inherit cmake flag-o-matic toolchain-funcs + +CMAKE_IN_SOURCE_BUILD=1 DESCRIPTION="Bloat-free graphical user interface library for C++" -HOMEPAGE="https://github.com/ocornut/imgui" -SRC_URI="https://github.com/ocornut/imgui/archive/v${PV}.tar.gz -> ${P}.tar.gz" +HOMEPAGE=" + https://github.com/ocornut/imgui + https://github.com/cimgui/cimgui +" +SRC_URI=" + https://github.com/ocornut/imgui/archive/v${PV}.tar.gz -> ${P}.tar.gz + https://github.com/cimgui/cimgui/archive/refs/tags/${PV}.tar.gz -> c${P}.tar.gz +" LICENSE="MIT" SLOT="0" KEYWORDS="~amd64" -IUSE="allegro examples freetype glfw glut opengl sdl vulkan" +IUSE="allegro bindings examples freetype glfw glut opengl sdl vulkan" +S="${WORKDIR}/c${P}" RDEPEND=" allegro? ( media-libs/allegro:5 ) @@ -27,12 +36,20 @@ DEPEND=" ${RDEPEND} vulkan? ( dev-util/vulkan-headers ) " -BDEPEND="virtual/pkgconfig" +BDEPEND=" + bindings? ( dev-lang/luajit ) + virtual/pkgconfig +" +PATCHES=( "${FILESDIR}/c${P}-fix-cmake.patch" ) REQUIRED_USE=" || ( allegro - || ( glfw glut sdl ) + || ( + glfw + glut + sdl + ) || ( opengl vulkan ) ) examples? ( @@ -46,45 +63,75 @@ REQUIRED_USE=" " src_prepare() { + pushd ../ || die + rm -rf "${S}/imgui" || die + mv "${P}" "${S}/imgui" || die + pushd "${S}/imgui" || die + + # imgui rm -r examples/libs || die rm -r misc/*/*.ttf || die rm -r misc/single_file || die - default + + # cimgui + if use bindings; then + pushd "${S}" || die + cmake_src_prepare + else + eapply_user + fi } src_configure() { + pushd imgui || die + + # imgui tc-export CXX append-cppflags "-DIMGUI_USE_WCHAR32" - append-cxxflags "-I${S} -I${S}/backends -I${S}/misc/freetype -fPIC -fpermissive" + COMMONFLAGS="-I${S}/imgui -I${S}/imgui/backends -I${S}/imgui/misc/freetype -fPIC -fpermissive" local PKGCONF="$(tc-getPKG_CONFIG)" || die use allegro && append-libs "-lallegro -lallegro_main -lallegro_primitives" if use freetype; then append-cppflags "-DIMGUI_ENABLE_FREETYPE -DIMGUI_ENABLE_STB_TRUETYPE" - append-cxxflags "$(${PKGCONF} --cflags freetype2)" || die + COMMONFLAGS="${COMMONFLAGS} $(${PKGCONF} --cflags freetype2)" || die append-libs "$(${PKGCONF} --libs freetype2)" || die fi if use glfw; then append-libs "$(${PKGCONF} --libs glfw3)" || die - append-cxxflags "$(${PKGCONF} --cflags glfw3)" || die + COMMONFLAGS="${COMMONFLAGS} $(${PKGCONF} --cflags glfw3)" || die fi if use glut; then append-libs "$(${PKGCONF} --libs freeglut)" || die - append-cxxflags "$(${PKGCONF} --cflags freeglut)" || die + COMMONFLAGS="${COMMONFLAGS} $(${PKGCONF} --cflags freeglut)" || die fi use opengl && append-libs "-lGL" if use sdl; then append-libs "-ldl $(sdl2-config --libs)" || die - append-cxxflags "$(sdl2-config --cflags)" || die + COMMONFLAGS="${COMMONFLAGS} $(sdl2-config --cflags)" || die fi if use vulkan; then append-libs "$(${PKGCONF} --libs vulkan)" || die - append-cxxflags "$(${PKGCONF} --cflags vulkan)" || die + COMMONFLAGS="${COMMONFLAGS} $(${PKGCONF} --cflags vulkan)" || die append-cppflags "-DImTextureID=ImU64" || die fi + append-cxxflags "${COMMONFLAGS}" + popd || die + + # cimgui + if use bindings; then + local mycmakeargs=( + -DIMGUI_FREETYPE=$(usex freetype) + -DIMGUI_STATIC=OFF + ) + cmake_src_configure + fi } src_compile() { + pushd imgui || die + + # imgui set -x || die local objects=() @@ -137,14 +184,39 @@ src_compile() { if use examples; then mkdir ex || die for f in allegro5 glfw_opengl{2,3} glfw_vulkan null sdl_opengl{2,3} sdl_{sdlrenderer,vulkan} glut_opengl2 ; do - ${CXX} ${CXXFLAGS} ${CPPFLAGS} ${LDFLAGS} -fPIE examples/example_${f}/main.cpp "-L${S}" -limgui ${LIBS} -o "${S}/ex/example_${f}" || die + ${CXX} ${CXXFLAGS} ${CPPFLAGS} ${LDFLAGS} -fPIE examples/example_${f}/main.cpp "-L${S}/imgui" -limgui ${LIBS} -o "${S}/imgui/ex/example_${f}" || die done fi set +x || die + popd || die + + # cimgui + if use bindings; then + pushd generator || die + local myargs=() + use allegro && myargs+=( allegro5 ) + use glfw && myargs+=( glfw ) + use glut && myargs+=( glut ) + use opengl && myargs+=( opengl3 opengl2 ) + use sdl && myargs+=( sdl sdlrenderer ) + use vulkan && myargs+=( vulkan ) + myargs+=( ${CFLAGS} ${COMMONFLAGS} ${CPPFLAGS} ) + + if use freetype ; then + luajit ./generator.lua gcc "internal freetype" ${myargs[@]} || die + else + luajit ./generator.lua gcc "internal" ${myargs[@]} || die + fi + popd || die + cmake_src_compile + fi } src_install() { + pushd imgui || die + + # imgui dolib.so libimgui.so dodoc docs/* insinto "/usr/include/imgui" @@ -164,4 +236,14 @@ src_install() { dodoc -r examples docompress -x "/usr/share/doc/${PF}/examples" fi + + popd || die + + # cimgui + if use bindings; then + dolib.so libcimgui.so + insinto "/usr/share/doc/${PF}/cimgui" + doins README.md TODO.txt + doheader cimgui.h + fi } diff --git a/media-libs/imgui/metadata.xml b/media-libs/imgui/metadata.xml index 2a6d52b5da..766c22dfc3 100644 --- a/media-libs/imgui/metadata.xml +++ b/media-libs/imgui/metadata.xml @@ -9,9 +9,11 @@ https://github.com/ocornut/imgui/issues ocornut/imgui + cimgui/cimgui Enable allegro backend and renderer + Build the cimgui C bindigs Use FreeType to build and rasterize the font atlas Enable glfw backend Enable glut backen diff --git a/sci-mathematics/radian/Manifest b/sci-mathematics/radian/Manifest new file mode 100644 index 0000000000..9b2202d0a2 --- /dev/null +++ b/sci-mathematics/radian/Manifest @@ -0,0 +1 @@ +DIST radian-0.6.0.tar.gz 53164 BLAKE2B e2384beb41b1099830afb4f48ad4d220da2fc0267df2968ec51164dd1b592705c63c185767a2a229528ac0156391b41299c747c3ea552da31dea6a0eda6e65f8 SHA512 e7b1b22347c9d6cf7b80b1c07cdbb30942b4c285fea211a0ee53b1874f7dac33d0c139fc04a8efb19a19161dbac6642a98c6a134b36371b1c2f6514c79be5407 diff --git a/sci-mathematics/radian/files/radian-0.6.0-no-pytest-runner.patch b/sci-mathematics/radian/files/radian-0.6.0-no-pytest-runner.patch new file mode 100644 index 0000000000..a1ce1ddc78 --- /dev/null +++ b/sci-mathematics/radian/files/radian-0.6.0-no-pytest-runner.patch @@ -0,0 +1,9 @@ +--- a/setup.py ++++ b/setup.py +@@ -55,6 +55,5 @@ + extras_require={ + "test": tests_deps + }, +- setup_requires=["pytest-runner"], + tests_require=tests_deps + ) diff --git a/sci-mathematics/radian/metadata.xml b/sci-mathematics/radian/metadata.xml new file mode 100644 index 0000000000..8411a8632b --- /dev/null +++ b/sci-mathematics/radian/metadata.xml @@ -0,0 +1,35 @@ + + + + + lssndrbarbieri@gmail.com + Alessandro Barbieri + + +radian is an alternative console for the R program with multiline editing and rich syntax highlight. One would consider radian as a ipython clone for R, though its design is more aligned to julia. + +Features + cross platform, runs on Windows, macOS and Linux + shell mode: hit ; to enter and <backspace> to leave + reticulate python repl mode: hit ~ to enter + improved R prompt and reticulate python prompt + multiline editing + syntax highlight + auto completion (reticulate autocompletion depends on jedi) + unicode support + latex completion + auto matching parens/quotes. + bracketed paste mode + emacs/vi editing mode + automatically adjust to terminal width + read more than 4096 bytes per line + + + randy3k/radian + radian + + randy.cs.lai@gmail.com + Randy Lai + + + diff --git a/sci-mathematics/radian/radian-0.6.0.ebuild b/sci-mathematics/radian/radian-0.6.0.ebuild new file mode 100644 index 0000000000..f82d06ee17 --- /dev/null +++ b/sci-mathematics/radian/radian-0.6.0.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..9} ) + +inherit distutils-r1 optfeature + +DESCRIPTION="A 21 century R console" +HOMEPAGE=" + https://pypi.org/project/radian/ + https://github.com/randy3k/radian +" +SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +DEPEND=" + >=dev-python/rchitect-0.3.36[${PYTHON_USEDEP}] + >=dev-python/prompt_toolkit-3.0[${PYTHON_USEDEP}] + >=dev-python/pygments-2.5.0[${PYTHON_USEDEP}] +" +RDEPEND=" + ${DEPEND} + dev-lang/R +" +BDEPEND=" + test? ( + >=dev-python/pyte-0.8.0[${PYTHON_USEDEP}] + dev-python/pexpect[${PYTHON_USEDEP}] + dev-python/ptyprocess[${PYTHON_USEDEP}] + ) +" + +PATCHES=( "${FILESDIR}/${P}-no-pytest-runner.patch" ) + +distutils_enable_tests pytest + +pkg_postinst() { + optfeature "prompt completions" dev-python/jedi +} diff --git a/sys-apps/ov/Manifest b/sys-apps/ov/Manifest index 2973c0041a..0cc7e9e0d7 100644 --- a/sys-apps/ov/Manifest +++ b/sys-apps/ov/Manifest @@ -264,14 +264,16 @@ DIST github.com%2Fjstemmer%2Fgo-junit-report%2F@v%2Fv0.9.1.mod 51 BLAKE2B 4cf5f8 DIST github.com%2Fjulienschmidt%2Fhttprouter%2F@v%2Fv1.2.0.mod 43 BLAKE2B 2b7883d00bddf90261a91670917e335bf5c59101032ed3ef5ab6752eb4da25e8417071b1d0021441fd887158b519f4fca4b028b6ea52fe3ae9a41b84441c8c06 SHA512 60340233f2a0205ee4b1a7b2d78ed52d88fe5d39887413d0e62d6ed006c51eda83ac117454b0c1a31ab29c5aceae13810ec719dadc554d10480219c1afc3e5bc DIST github.com%2Fjwalton%2Fgchalk%2F@v%2Fv1.2.1.mod 230 BLAKE2B 83aa0eac54991fef7a46a76a4b98ef83440fc16458396026b1afe0d82baf4856a950dc8ddfe9d5e710a10fadf87825b7c999df45d245303c0e5c88373d560b00 SHA512 09e988d73da9ae377c3996c62b5028d6aec6bfaebc5157021795c1e86dfd19aab658f38291702ae2697d4355073a73302cc4f6e17e8d972603d2ff56c9b60d11 DIST github.com%2Fjwalton%2Fgchalk%2F@v%2Fv1.2.1.zip 106052 BLAKE2B 8e30a5849ccaa47b643863f1d3c690551068cb0f344c1e84768213f13f4e4ad4dae102cd2a079eae01cda9111b2a24972971d5f741451a2e723b8b5c75f83bdc SHA512 1254a0485161792700f0ace743ab3c5add790a0a0605e44651db95cf48857c4e2c7faee8cf664654328412d3ba0eda04bad4e504b6c4210eba6ba689f66316f0 +DIST github.com%2Fjwalton%2Fgchalk%2F@v%2Fv1.3.0.mod 230 BLAKE2B 83aa0eac54991fef7a46a76a4b98ef83440fc16458396026b1afe0d82baf4856a950dc8ddfe9d5e710a10fadf87825b7c999df45d245303c0e5c88373d560b00 SHA512 09e988d73da9ae377c3996c62b5028d6aec6bfaebc5157021795c1e86dfd19aab658f38291702ae2697d4355073a73302cc4f6e17e8d972603d2ff56c9b60d11 +DIST github.com%2Fjwalton%2Fgchalk%2F@v%2Fv1.3.0.zip 106166 BLAKE2B c9d1380ef59934a6b776d47ff5f4b0d9cb53d13a3b152a694bd4204d56642c7c0ca757a341b2f682f38e97c2ef8e6942254838dbb7f65520e7bae028d268d043 SHA512 c6a3ccc6b6233a00b35e981d38d738225e14e7d2cfe32a31ecf1de35130ac9e4dad47ea7e49215a8a7ddbf3d7e4cc1e6cb8a4839a41cfccad04e4490b4143dcb DIST github.com%2Fjwalton%2Fgo-supportscolor%2F@v%2Fv1.1.0.mod 172 BLAKE2B 5171bccc410d931dae17e236666d627a4fee1a296e09e9cf46ed67e454a23a5b3922a63cee659a1e0499d63b44b2ad4e74a7a8d5e0a127304c7d187ba0852ce9 SHA512 7ca8ad945a44a113cb34ed4273c629a2550e7d49f775d89e9f1680eeb11887db1407ac5436318c960549160da800c90e89fe6f53b51fe6f7e7616b5b50a8d02e DIST github.com%2Fjwalton%2Fgo-supportscolor%2F@v%2Fv1.1.0.zip 16936 BLAKE2B eb6d0eea79a721440c565d4b82bbbaf431a172eea5cd5fd88711b34367a43450f8b0658aaeb4858a825d675d5c28193360e85a1362835045dc18b964ca02b862 SHA512 28add2a0aadbe4c5546144b2d8c66f1e5e254c67acab0c69198fb6d3a0d7e15a455fc8efd1588cee663bb5575901aba75d03748c569753833326e2561fd83bc0 DIST github.com%2Fkisielk%2Ferrcheck%2F@v%2Fv1.5.0.mod 107 BLAKE2B cd132ab287312d1ae53abd542a75e6bdd5cecdcd46c5311be91da88d54e1a114019440b12d71a9357851585672f440dc66eaf359a99b7682ce1bd4ee03869325 SHA512 302828b5c2b6eec77f4a2ed075cd8b721da8d62a8747883d4382d5674a7c82dcea01a7de664d15d5eeba7e35b9667347dceae9b4ec93858ed3acf8adee692967 DIST github.com%2Fkisielk%2Fgotool%2F@v%2Fv1.0.0.mod 35 BLAKE2B 2f43dcbab430f12316fde243db4bafe24372c74d60874b05917269e249a36660309c23da151db31d89c0d0a8fd0f179e2dd7f386af3ca533c95ef74017609af9 SHA512 86aca37f7f94ada381e0528a535b344c8fdbab9e0dcc7b71d716083501ad3d61db701ee159ccfb5455a351fc18a405301abe798037dd1200f9950bdd805d3dc9 -DIST github.com%2Fklauspost%2Fcompress%2F@v%2Fv1.13.6.mod 46 BLAKE2B 97cd2e64d41bcc24a2f5b5c52fd150cad9d7d7758e910216bdff8bc764c3b84d7a07ec3d22113991ec9981c69688d7727eff66c8b5ed0ec8282287cb1ee2042a SHA512 169f465555b08e51a41783d4e2740c09d1a19b146b3ff99a8ca32b008569adedf6515b3f6d94aca6e11e98c0dd47ff561926daf2ba5f5d24dcba3407eda6aefc -DIST github.com%2Fklauspost%2Fcompress%2F@v%2Fv1.13.6.zip 15597164 BLAKE2B d7df7ac3fc15e51dace8013ef0a994e6f813d66c92777ed0e2570337ee047a4dd18feac61fe7fe33f5295af1bdbc78b0137ec1ab63b56c38145af9291e20cd82 SHA512 61f0a7b258aac9064a238e669f6cc168780cd4a2d25cbd0d8145059e0befff3ab56306881e5085182417a412ac6287c31d45efe298876638cc048df83f398865 DIST github.com%2Fklauspost%2Fcompress%2F@v%2Fv1.14.2.mod 46 BLAKE2B 97cd2e64d41bcc24a2f5b5c52fd150cad9d7d7758e910216bdff8bc764c3b84d7a07ec3d22113991ec9981c69688d7727eff66c8b5ed0ec8282287cb1ee2042a SHA512 169f465555b08e51a41783d4e2740c09d1a19b146b3ff99a8ca32b008569adedf6515b3f6d94aca6e11e98c0dd47ff561926daf2ba5f5d24dcba3407eda6aefc DIST github.com%2Fklauspost%2Fcompress%2F@v%2Fv1.14.2.zip 15613998 BLAKE2B 22aa12b434d0e8a44c0ce5eb0545ecafdee15b28f741f8916c2a44cf4693f334272e742c90248eb34369f1cf1fd83ee53a4c1281ebd0c6e10cf1379e776f8760 SHA512 d3f5b28dd2558b92d985cad1a199b238d92b479e1c62880ec38637f659dd325bfe897184fd1f8c91df32039af5cd5dcea5dd024ed9168a5f32d0087e3cb41aab +DIST github.com%2Fklauspost%2Fcompress%2F@v%2Fv1.15.1.mod 46 BLAKE2B 97cd2e64d41bcc24a2f5b5c52fd150cad9d7d7758e910216bdff8bc764c3b84d7a07ec3d22113991ec9981c69688d7727eff66c8b5ed0ec8282287cb1ee2042a SHA512 169f465555b08e51a41783d4e2740c09d1a19b146b3ff99a8ca32b008569adedf6515b3f6d94aca6e11e98c0dd47ff561926daf2ba5f5d24dcba3407eda6aefc +DIST github.com%2Fklauspost%2Fcompress%2F@v%2Fv1.15.1.zip 15188175 BLAKE2B 6fc90c3143aa264b1098bc823d57d00c8917011c4fa9374e9f0dcf3ff44064af24749e08a343611daa13355f4b75b3973200fbd82d19ea6217ac17db31093d4d SHA512 c70d85d7f1888e9aca4215e18452b18dd878d6891b68044fb9c107d8b896c3cc156bc21610ddcb6a450ff75c0960c90c0c222f2c2245dc4bf71d1afa84a5ee4b DIST github.com%2Fkonsorten%2Fgo-windows-terminal-sequences%2F@v%2Fv1.0.1.mod 58 BLAKE2B 4cf48282c28d2b8237fe9ff852ad25d102cce038fbd1852a1938bcf69c895df05dfdef6e533b3c0b4da28103eb5e3a9561f802414ccdd99b2d3ec2e2db0807ee SHA512 fe33ca4de6588b95f0155458b8b6daab218553b58de5dac220efe54019dfab085838cc6a22012a106fa36a6094447f744825cad04aaf0b158fce5aa676048fe5 DIST github.com%2Fkr%2Ffs%2F@v%2Fv0.1.0.mod 26 BLAKE2B cb393cd37dc2b7c07fc316b588fac0f245ee33a37ff3d4ca0df67ce952976463df9a79d600a37d5cbd3f596c0135c2c0330aba871cc941cea13325eb24e6e56d SHA512 c151e8d0c5002b25d399fe4a7420e5735cca46dc6f3bd18837f110f5a72659406a3b92d7f870898c97f58b6f42364d4c97e9457491a0534ce456ec46d15b1697 DIST github.com%2Fkr%2Flogfmt%2F@v%2Fv0.0.0-20140226030751-b84e30acd515.mod 28 BLAKE2B fddd4b3cdef60f53bc3f8da5a3154d10b49dd180c12837d3740c22b442947cba2025649f3ac7321bcf0c73a272527659b0ccd9be141ddca13caa7594bf6ad3fe SHA512 3c623d077e39697506174a50c0380cb7787a05a52819b1a73c2f64ba8dd819fd500777de83c83d8d9e80f19c828128a569b4cd783667b4d6b9a375b0e3d527a7 @@ -288,6 +290,8 @@ DIST github.com%2Flucasb-eyer%2Fgo-colorful%2F@v%2Fv1.2.0.zip 958042 BLAKE2B 62b DIST github.com%2Flyft%2Fprotoc-gen-star%2F@v%2Fv0.5.3.mod 163 BLAKE2B 040cc5cbe4405c586564755250cf5a647850deb1a64650d439fff402384fd7e7c4af6a19fe6e3086cb879f4415dea29ab11a424f47b000328a3ba96feb6a5758 SHA512 fd14078fc9db6e8b6bad178ca6dc01b2ae571903af5e9643e51108b5e7d4dfbc80296718471f7aa5c914ca5c9ac999129cf6d34f9274b165d68db68b786c2bf3 DIST github.com%2Fmagiconair%2Fproperties%2F@v%2Fv1.8.5.mod 49 BLAKE2B 8b2bef1b80fd800e2e85a5d1e9ce4758dd3f23f58e1fe842bb31d6003794d571877f0f00f24eaf71e108ade573694b03456f06d326343816b2f12193d8c6c602 SHA512 c1b6e77c86f654480988e8a2c7f80b30739ce7d784a57e0d1b26b8fe41fce8c1d26dbeed5d23f3ad9a6aeb8953c07889ce3458ce837d92652aa5c825a318d4d4 DIST github.com%2Fmagiconair%2Fproperties%2F@v%2Fv1.8.5.zip 39629 BLAKE2B 35f0b15ac328b7c0be9d4409d947d3c0441f414c388e9da82a3e0fca807056c60feacf52d1d16dfceea1129c3b9cbcc475adaac2b650219cf11aaf612afd2583 SHA512 cbe51edd014a5a1a32daf08830c0be67e6e5a860c12852215bb256867ce2abbbd7d8d6387244e29662b5738e3e9962a7bfb5984f840c35297b56945b71dd785f +DIST github.com%2Fmagiconair%2Fproperties%2F@v%2Fv1.8.6.mod 49 BLAKE2B 8b2bef1b80fd800e2e85a5d1e9ce4758dd3f23f58e1fe842bb31d6003794d571877f0f00f24eaf71e108ade573694b03456f06d326343816b2f12193d8c6c602 SHA512 c1b6e77c86f654480988e8a2c7f80b30739ce7d784a57e0d1b26b8fe41fce8c1d26dbeed5d23f3ad9a6aeb8953c07889ce3458ce837d92652aa5c825a318d4d4 +DIST github.com%2Fmagiconair%2Fproperties%2F@v%2Fv1.8.6.zip 40523 BLAKE2B 81c11d5ff12c17282fc28640b436f3fd9fc93b3fbac6ffbb779ae578de170ff5cef2fb8f69896712a8c2ef90b840008b2d140dac5359340d9109fe6100bbf986 SHA512 7e08422bacfa0b91236e0536a88558e0559d3a26cc32c04315d68f77e1542d0196ce5d2ba40067ffeeb42ed3e4804157d8060d4c019aef53466108a043be592d DIST github.com%2Fmattn%2Fgo-colorable%2F@v%2Fv0.0.9.mod 37 BLAKE2B 6bd675a05c0bb6f9dc12d09203d13de115801888cf8c02cb5d609f72d214b7e7ebf13a72ddfa2eb9172e9c2ba1f3e5a040f089a86ce9fe873d49288d5f7dc5a7 SHA512 3cc3ae26618b96a0fc076b18bab6f8f0f6a1064d6a9913c1015a9867fd3571d17f5d2867d72cec008e9bc7005883a596edb21424084f82ad5b572443de90f976 DIST github.com%2Fmattn%2Fgo-colorable%2F@v%2Fv0.1.12.mod 160 BLAKE2B 63be9d239ea8c5ad48c5bdefaf634f1ef2e3913f9c1f1eb0c48ccf9185a2c14c1030d1542048acd9c7c42399ebb752a8c943e70ed7b11d199ed9067b6e906480 SHA512 f2fa86449f7da9a73f3f8781e6b3dc6ad6e7d491cb37854be0dfb5c3ee086c36f509646e6fa383b4f00c3cb96c535e581016b2a43aedbfd9fe5861bada2f7ce0 DIST github.com%2Fmattn%2Fgo-colorable%2F@v%2Fv0.1.4.mod 80 BLAKE2B 486156a648d66786de2a05b45b054ffbc6ccbb45ffe98230d3b3126ff533fd546af1b348fdcf67b1b3ae9310918869355fc39390a4f67b99cd7a1bbd1c6cf891 SHA512 f69ecc2e8097c17a9c0002181451d56a8a7496f62e87f437802420e9af27c5f80da2be189597759f2a5ee2656dca8c1cf91a5374b8e46919f7a6e0f9579d2526 @@ -362,14 +366,16 @@ DIST github.com%2Fsirupsen%2Flogrus%2F@v%2Fv1.4.2.mod 337 BLAKE2B 94ce7d2e232810 DIST github.com%2Fspaolacci%2Fmurmur3%2F@v%2Fv0.0.0-20180118202830-f09979ecbc72.mod 36 BLAKE2B 1ba81fe6a6b84ed40868e0fff431dc8485b912700c192d90181c22588345e7250af63160673c297129add94a41281d7f0ddca5733c2b32e20f65ca7c27046306 SHA512 d14779867dcbbe24d451e82ac72c823f80551cec89758ecd39c9e72fd75560694a0b8261726020b738ad4f447ce1093f910c12797c58b8dede38f6bc737b9a25 DIST github.com%2Fspf13%2Fafero%2F@v%2Fv1.3.3.mod 163 BLAKE2B 5cecd3bfae0def43e66d7e0a3b9e0240347622d8a870fbf81842c5f6e0c571d8e0c1cf7781235ab099007cba42c279945ea15787ce48ceece3e4647f9ce1a8ae SHA512 720370b4db1be6751f3debb415a04955507c24b6d4be6e6bb3fbd2f0e609c23217538c6d24e53da421f54f0fbc3c95249c981b839f84911f0f158cbe9e6db2d8 DIST github.com%2Fspf13%2Fafero%2F@v%2Fv1.6.0.mod 163 BLAKE2B 78976e3b857b07f201d0e0d65209cab8ed73cc9aa10f2977646b655d541e9a6a3dbf1d40e037ef0dd36c0c6f6813cf807e7211afc3683b9bc95f3b3e4bf5e6fb SHA512 1f0348cb522ec6a39f5667339dbdad2a16521eab1d7cf710e6b939c8156c928d7ed1da3c4cf1d976f6c8b9e41e74a43ef1328407119fd55d8fcbc0d91eb1dd7b -DIST github.com%2Fspf13%2Fafero%2F@v%2Fv1.7.1.mod 369 BLAKE2B 7e023961f2fc0861eaeb3638600ac0fa3c19220d2ca588483c41a427b6bdf2bbb1bc8a9ead08630d89fa3d2b040065fc933685c80b9549b5fc235e1b6ba84022 SHA512 3d08ed1b02d991b022aa86fb8b9c9ced91a0f5f38affe76b28c260d6d233d4425f244d4fd68c5a318fb6c309ba1b005fb857ede3c91d63f0649889f882101986 -DIST github.com%2Fspf13%2Fafero%2F@v%2Fv1.7.1.zip 123302 BLAKE2B 209d0b243bc358eb6041337c9804029ce76dd574f8578e8b0a139a28af08fbd3705b9f7022f8f11032b104ff416bf6853125d8ce9cd4b4cbb6a4f28ed722cd27 SHA512 d15f810849f9b63e570546647335261cef86c6f7a1678e5a9b3bbb26f5fb0c2df1481558faeeb4a0fb4292e30fb5ea64d5b0dcff99bef55e1a7df6480d9e1d96 DIST github.com%2Fspf13%2Fafero%2F@v%2Fv1.8.1.mod 369 BLAKE2B 7e023961f2fc0861eaeb3638600ac0fa3c19220d2ca588483c41a427b6bdf2bbb1bc8a9ead08630d89fa3d2b040065fc933685c80b9549b5fc235e1b6ba84022 SHA512 3d08ed1b02d991b022aa86fb8b9c9ced91a0f5f38affe76b28c260d6d233d4425f244d4fd68c5a318fb6c309ba1b005fb857ede3c91d63f0649889f882101986 DIST github.com%2Fspf13%2Fafero%2F@v%2Fv1.8.1.zip 122859 BLAKE2B 61974479b63a4d9941c3ab87f0ce83a4f0f7716b7972941c5ed051d26a0ffa179b67883d52204a73f1d7263ba77c7a5add76041c7462479e16762569f2b09769 SHA512 c6a2c1cbed718d3b9c085823cb66b6b9e781559c4746b59526b67cd7b2c9188a10a1659e3d643a78aa2c0af44ee053b689b3f61379eadaa11228f3cf8c5f3266 +DIST github.com%2Fspf13%2Fafero%2F@v%2Fv1.8.2.mod 369 BLAKE2B 7e023961f2fc0861eaeb3638600ac0fa3c19220d2ca588483c41a427b6bdf2bbb1bc8a9ead08630d89fa3d2b040065fc933685c80b9549b5fc235e1b6ba84022 SHA512 3d08ed1b02d991b022aa86fb8b9c9ced91a0f5f38affe76b28c260d6d233d4425f244d4fd68c5a318fb6c309ba1b005fb857ede3c91d63f0649889f882101986 +DIST github.com%2Fspf13%2Fafero%2F@v%2Fv1.8.2.zip 123734 BLAKE2B 83acf470fd28c2debc89a876ce866aa2493d4602eea40f3442a1c3af81d2b0f3ceba6369b95958b0350852278fa1b1123319a9d77de346346eb4848dd5e34620 SHA512 a1f80d84973e5296169b82130d49fb628e4d5a53ba37dd73fc6b2006dcbcf61d74f240b1e72c07637c811fa8c56bc5b2447e7fddf094827bf128363172c146b8 DIST github.com%2Fspf13%2Fcast%2F@v%2Fv1.4.1.mod 175 BLAKE2B 9077c3a2c65f4025500a3215c440b1b3856e09f1543cad7ca6a37fe5b42d51af01c2032b905c72cce445807bb311ed461c4a5fd4fe680a81ac7a1c0d94759c67 SHA512 7a0a21f6a7564b3261bccc8b1e1cd39d5d1a95bd0dd3debea914b1d37b687fbacdaee5f1dd5f1f74e4da11664c12f7ee63b484d690cd79389423cb79ff38dee9 DIST github.com%2Fspf13%2Fcast%2F@v%2Fv1.4.1.zip 15383 BLAKE2B 3a288a6541be7e34774cf990cc8727e1b5b7a1320467c0369e7117437d92b429c1c8e054623e10d55023149c11d661c6031ff7820c366c607083467d5703afe4 SHA512 2b79c43aabd65436b7b3bf9e5e53fca5b3185297ff09f43effafeed932344b3d72ab4e011da6fba95755025596753c5e39f0e65e010211543d3b9342a5f7e5db DIST github.com%2Fspf13%2Fcobra%2F@v%2Fv1.3.0.mod 226 BLAKE2B 6c3dedfa6b14e756b1f747afe6e4b9a83a4144b9ccaf15d36c2040a315e44e0f6ce1ace087c7fc44a9e9abc6fb15686e52febd6b460e10e418a119ad771a3ce0 SHA512 9b689d1d2cb1f3a23c6b02d8684bf9ad967c1a5695ea6496e1787ccb01014391301ba4a519477802bc4f393b2f1698273d20f7f304d2840b82fe689f9013f7ba DIST github.com%2Fspf13%2Fcobra%2F@v%2Fv1.3.0.zip 216450 BLAKE2B 1dc10bc7774dc0d68e5846f6db6221ce3705c994c28e20349355560a24c75230ce42df6092c2c949e1172775901f64b81b94d1dae1b1e056836699508b259bf5 SHA512 2dfde14f65a5b3f486f58f627278be742fab1a8e1afc1bfa7d1cb962845385240d67e07a868484da22d7747a4d11fd8ca6e964aceb90ea6e4ab5c83d9cfd212d +DIST github.com%2Fspf13%2Fcobra%2F@v%2Fv1.4.0.mod 194 BLAKE2B bca6cf3bf139265a90a323767f3e78cea9b9bc609542f106c19baebbfc6c8cca7a979ba20244f22e6ed35f16a73bfa615e2ad3f85470e70d6ab1ff8dfd9b83dd SHA512 bb6036a34112c5cb6b215156e3dcc9298f083cb052b02e6c1e7cf060a0330613d627359c92231b80df34b7929808f948030c16175e4307d1fe743b797f9db186 +DIST github.com%2Fspf13%2Fcobra%2F@v%2Fv1.4.0.zip 122602 BLAKE2B 68e09ef53e4f8813a6356a3795610e9df28be3c5f8c26018939c4a30c75286100663a669adcf49e60e43eceb20e65db432c5fb4d6e9394ce429f1df94921ea92 SHA512 6ea080e8b7507948e598a9efb64f35ab5213d0180b71d474cb622822d0c57ee96deac9c6347eb44ae9deb9406b323545dea9d9510b58b03c511b28b46adbe531 DIST github.com%2Fspf13%2Fjwalterweatherman%2F@v%2Fv1.1.0.mod 188 BLAKE2B 26b2922f8d9ebbb77872bc280b6a40ce569be69e78a0734cf7f75def7709fd86183506274ff8b9e5853cb0dc29043ce315acdda631102497a8178cd749fb0c03 SHA512 a5da49fe5d41b33c03cd1af18affc92ca2572f0c735da70c55f06d668ff33ae4a231fcb6cfa2e85ab4b04ef4c7808d895739d0121ae874c43b01edad791f2735 DIST github.com%2Fspf13%2Fjwalterweatherman%2F@v%2Fv1.1.0.zip 9825 BLAKE2B 19f73014efe76cce5fe92a4956b494f58093416931f8b71a6f3a25c7220c34f3e8b981ccbc80a6711d11b5b706feaffa84b5ad288927ea2e35c73ffd2973b915 SHA512 e92d5ce203ba7e7f9cdfc4e9c383a6b25a7afaa2a14c057cd51397a51f6fb21eac97e6fb3df1cf810f82d7a5d055ddd354ab0178edc9ddf433e2cb09f1125939 DIST github.com%2Fspf13%2Fpflag%2F@v%2Fv1.0.5.mod 39 BLAKE2B c9d700f96874e0a3977c2ffc7fd321acfffd8081aaa70ca50421ca55253fbe0636d48eca8f7093df202861f0a5f908fa00303533232c83c78bdba84e2973bba7 SHA512 8071c316d33aff1d8ffcabaeb42e8f9320465d83600cb57ac5ef071569f948d5cfd69e1bd2e92855c061395c1b814e84d1705f42e37f00d5bc713b6e724f29f5 @@ -599,10 +605,10 @@ DIST golang.org%2Fx%2Fsys%2F@v%2Fv0.0.0-20211007075335-d3039528d8ac.mod 33 BLAKE DIST golang.org%2Fx%2Fsys%2F@v%2Fv0.0.0-20211124211545-fe61309f8881.mod 33 BLAKE2B b74677ab15ab6b31640d71b052db667b0fb585ed6d1044e26bc5e4cf8da90e1ede81f8876babea843dd322b8b707189138e70c24d13d931f1f6dd04978ac222c SHA512 85e511b1261c1935f5ee4754ad31d1d946f9e10f0af9905f44c4348d6ce5104319c03fb38517dde616698f6487b0c62788cfa96bc0ffb3b6db80accd7e552655 DIST golang.org%2Fx%2Fsys%2F@v%2Fv0.0.0-20211205182925-97ca703d548d.mod 33 BLAKE2B b74677ab15ab6b31640d71b052db667b0fb585ed6d1044e26bc5e4cf8da90e1ede81f8876babea843dd322b8b707189138e70c24d13d931f1f6dd04978ac222c SHA512 85e511b1261c1935f5ee4754ad31d1d946f9e10f0af9905f44c4348d6ce5104319c03fb38517dde616698f6487b0c62788cfa96bc0ffb3b6db80accd7e552655 DIST golang.org%2Fx%2Fsys%2F@v%2Fv0.0.0-20211210111614-af8b64212486.mod 33 BLAKE2B b74677ab15ab6b31640d71b052db667b0fb585ed6d1044e26bc5e4cf8da90e1ede81f8876babea843dd322b8b707189138e70c24d13d931f1f6dd04978ac222c SHA512 85e511b1261c1935f5ee4754ad31d1d946f9e10f0af9905f44c4348d6ce5104319c03fb38517dde616698f6487b0c62788cfa96bc0ffb3b6db80accd7e552655 -DIST golang.org%2Fx%2Fsys%2F@v%2Fv0.0.0-20211216021012-1d35b9e2eb4e.mod 33 BLAKE2B b74677ab15ab6b31640d71b052db667b0fb585ed6d1044e26bc5e4cf8da90e1ede81f8876babea843dd322b8b707189138e70c24d13d931f1f6dd04978ac222c SHA512 85e511b1261c1935f5ee4754ad31d1d946f9e10f0af9905f44c4348d6ce5104319c03fb38517dde616698f6487b0c62788cfa96bc0ffb3b6db80accd7e552655 -DIST golang.org%2Fx%2Fsys%2F@v%2Fv0.0.0-20211216021012-1d35b9e2eb4e.zip 1700805 BLAKE2B eba5cde04a342c8b8f7f5454174a94d1b94f1de12484b1294737b7339bdb13527db645febecc08184d88d812ad1bd1831efff5dcdd7064f1d8fcc00b7953446e SHA512 f45aeb4c0d945f0998827625a96ad5ff1dbc52a45b3763fcad430a532cbbbeeab247e78bc3cdd8fa15a1e61be9008b63b36d35b596e0d34969c64d2f3e6a856c DIST golang.org%2Fx%2Fsys%2F@v%2Fv0.0.0-20220209214540-3681064d5158.mod 33 BLAKE2B b74677ab15ab6b31640d71b052db667b0fb585ed6d1044e26bc5e4cf8da90e1ede81f8876babea843dd322b8b707189138e70c24d13d931f1f6dd04978ac222c SHA512 85e511b1261c1935f5ee4754ad31d1d946f9e10f0af9905f44c4348d6ce5104319c03fb38517dde616698f6487b0c62788cfa96bc0ffb3b6db80accd7e552655 DIST golang.org%2Fx%2Fsys%2F@v%2Fv0.0.0-20220209214540-3681064d5158.zip 1705205 BLAKE2B 7dbb357942b0c0b68473d25b05df1bfc47dc5af98b702a2a4f372409e669b631f99311146d4e4dfd7c15917c0fec6993134d44ef21407b8db615cd5f4aec2188 SHA512 541db3174ff73c4266f351e687a52c7d54bec4ff2320f4e2baf34d6327c46b46fac8156b602a97739aaa483a821b731a4579033bbc48e3a591bcf7970246cf15 +DIST golang.org%2Fx%2Fsys%2F@v%2Fv0.0.0-20220319134239-a9b59b0215f8.mod 33 BLAKE2B b74677ab15ab6b31640d71b052db667b0fb585ed6d1044e26bc5e4cf8da90e1ede81f8876babea843dd322b8b707189138e70c24d13d931f1f6dd04978ac222c SHA512 85e511b1261c1935f5ee4754ad31d1d946f9e10f0af9905f44c4348d6ce5104319c03fb38517dde616698f6487b0c62788cfa96bc0ffb3b6db80accd7e552655 +DIST golang.org%2Fx%2Fsys%2F@v%2Fv0.0.0-20220319134239-a9b59b0215f8.zip 1735340 BLAKE2B ade81a9642274244fa63f4fa51ce2b35d3e9d42caa8cc34c08a8798b653dafb015446d5505a0b5f7ee946bdee07453aa3d4a1a2d833f355477e1cbf2eecaa879 SHA512 dd91ef801992c0c89a922c3f3b96dad96f86c77598ab2922156ab9df92fbce9dbe9f3960e36713f3ae1b8f34a84c926ec8a91a9757da2ddc7f58757697873d2f DIST golang.org%2Fx%2Fterm%2F@v%2Fv0.0.0-20201126162022-7de9c90e9dd1.mod 95 BLAKE2B 8385688f2081360fc2694f05d128ff0c587ef131e1b5757a942d9335870200e06545318afb1a7d1f059d060f51fe94fc16a48a1d7ec31a9a83e07b3c93f34ce3 SHA512 a3401e3d20dc1aaaebbf3c296a783668003f2182ed77ec830431f97339e07eda1859fe8c3c7fdfb0125b3ed331d23208519df520f86e20c1a05c822b3d766b08 DIST golang.org%2Fx%2Fterm%2F@v%2Fv0.0.0-20201210144234-2321bbc49cbf.mod 95 BLAKE2B 8385688f2081360fc2694f05d128ff0c587ef131e1b5757a942d9335870200e06545318afb1a7d1f059d060f51fe94fc16a48a1d7ec31a9a83e07b3c93f34ce3 SHA512 a3401e3d20dc1aaaebbf3c296a783668003f2182ed77ec830431f97339e07eda1859fe8c3c7fdfb0125b3ed331d23208519df520f86e20c1a05c822b3d766b08 DIST golang.org%2Fx%2Fterm%2F@v%2Fv0.0.0-20210220032956-6a3ed077a48d.mod 95 BLAKE2B 8385688f2081360fc2694f05d128ff0c587ef131e1b5757a942d9335870200e06545318afb1a7d1f059d060f51fe94fc16a48a1d7ec31a9a83e07b3c93f34ce3 SHA512 a3401e3d20dc1aaaebbf3c296a783668003f2182ed77ec830431f97339e07eda1859fe8c3c7fdfb0125b3ed331d23208519df520f86e20c1a05c822b3d766b08 @@ -835,7 +841,6 @@ DIST gopkg.in%2Fcheck.v1%2F@v%2Fv1.0.0-20190902080502-41f04d3bba15.mod 25 BLAKE2 DIST gopkg.in%2Fcheck.v1%2F@v%2Fv1.0.0-20190902080502-41f04d3bba15.zip 41481 BLAKE2B b952f04dc8d4717c839de5a5b7780ec2434915d11f897cc759647f71073dd3df717e1195ff2f4f804457195886c63620b342a089fc489f5deafa9c928708d4bb SHA512 40a523fc1dcc36677a0dc0e626313d44a308fa2ad5eedf7b616470ae2972dd8f5b78c18384efffa65d58391e60b704ed35db5557a5dce8362ae45204f64b721d DIST gopkg.in%2Ferrgo.v2%2F@v%2Fv2.1.0.mod 133 BLAKE2B c4ac637e2bf2d6635065be5213d73f23a1870054c58e9f1cce93af4627ed6fdefa96798b0fbbd27666573757f8b4a48c694ddf3f86c98e898124294459500771 SHA512 cac59fd7470fc9d3203dab6b9e881d4182cfca5acf0a19207a9aff2964d42f20422f9a164bb52b2fa73c523e3caafd63028189bd4190a1670870154dbf3e8178 DIST gopkg.in%2Fini.v1%2F@v%2Fv1.66.2.mod 23 BLAKE2B 4e15082dd2b6e386e93baa78307538fba456343420c52605d453c6309f256e8062ea4b821d70c926096ae58a8feb33c6b796726d2dcc886c58e8293f99ac92a7 SHA512 7650ff592e6f5a0393f794fbdf17a28ad228a2d29ca79685c9ab8d9ec395554f1691b2a0d061e6248cf542f89be4d9a68884f7b24de7c8ddfef9c02cfeedda73 -DIST gopkg.in%2Fini.v1%2F@v%2Fv1.66.2.zip 67100 BLAKE2B 47ebe3fbb4bb104147053565f9df7b80df0c05582d37f09d057fd434a2246d2b142fc578df21da14d4de4ac66403da7a5d25db693b160697c926c4c4b2b813cc SHA512 dac276ad1107e8bbb684164cd0f4e8ead7c577c151c2b6ec477b81a1d91777ffc1e4f7f6fdd52d910ec30ab693f831c5613373c614f8668419e917a655a50e59 DIST gopkg.in%2Fini.v1%2F@v%2Fv1.66.4.mod 23 BLAKE2B 4e15082dd2b6e386e93baa78307538fba456343420c52605d453c6309f256e8062ea4b821d70c926096ae58a8feb33c6b796726d2dcc886c58e8293f99ac92a7 SHA512 7650ff592e6f5a0393f794fbdf17a28ad228a2d29ca79685c9ab8d9ec395554f1691b2a0d061e6248cf542f89be4d9a68884f7b24de7c8ddfef9c02cfeedda73 DIST gopkg.in%2Fini.v1%2F@v%2Fv1.66.4.zip 71583 BLAKE2B 3f86181e263d5d7c421a1f51b45bb68182cd61bca0365942ddc3a42df92425bbfa0763089323c2b57cda0398c160364eba0fbe999021b9594cf630206001103b SHA512 7f6efb9fb3804a84295ca653677e9a05b89456300922e66c81d89c863c69b89f6ae1e1954120da7eee79c06cb3c2f8885644cd70c51f38a501fccacbb0a5e73d DIST gopkg.in%2Fyaml.v2%2F@v%2Fv2.2.1.mod 95 BLAKE2B adb3684980f1d8e6c23444e91028f8db55f1bc496114eb3508dbecf9917dbc8a0a4bed7c0d761123335a75b9ffe727e180f2d6aa5f84312edb05a798185c8362 SHA512 916ff67ddb6c2ba39905db4277ce42596d9ca5a42f8aa7f47f16335e78d91a1b30419fd1b7b6967b37e248363397ec527b38d2f500b3546edda5d2bce1944379 @@ -857,7 +862,7 @@ DIST honnef.co%2Fgo%2Ftools%2F@v%2Fv0.0.1-2019.2.3.mod 300 BLAKE2B 3e3f5a2be0918 DIST honnef.co%2Fgo%2Ftools%2F@v%2Fv0.0.1-2020.1.3.mod 300 BLAKE2B 3aa707c72ce7e402cc1765fed30253eb87e9e87aecc8096130e973623f53ded2a7572ca3d464e4db9de524cd651b3aa8fbc9fa0ef6bdc4eb9670b4d8652f4dfc SHA512 d814675e448688f6a506397bedb262fb2583c913ec1f8ca9ffc11206bdcd7e1f4ee3c561aee366eb2cdaede8c522a6f58f116236f3033bc7e91ec139bdd140f9 DIST honnef.co%2Fgo%2Ftools%2F@v%2Fv0.0.1-2020.1.4.mod 300 BLAKE2B 3aa707c72ce7e402cc1765fed30253eb87e9e87aecc8096130e973623f53ded2a7572ca3d464e4db9de524cd651b3aa8fbc9fa0ef6bdc4eb9670b4d8652f4dfc SHA512 d814675e448688f6a506397bedb262fb2583c913ec1f8ca9ffc11206bdcd7e1f4ee3c561aee366eb2cdaede8c522a6f58f116236f3033bc7e91ec139bdd140f9 DIST ov-0.10.0.tar.gz 3762674 BLAKE2B 313e7bd4b2f7f985d93e4ccb45e796d41ab77bc99f3791d799b871d2f0561e6da7e0a585f22ce57c93a331a51286567b7b312e2953a8e95be8231f64d8ff88ef SHA512 e70d6a71b5c6e87fc4fbc3bcc385c85d17959a682aef0a8e9ba6ae998564e70853a0db06b63a853618e0b41e4bd81ebb559636a75df9bdc1650304505eb10002 -DIST ov-0.9.6.tar.gz 3754918 BLAKE2B d0320c03f335a0d683839f0c96b32dd94ba7ee1a868406e37c55d816d6a6ede3b00bcf9eed6cd7367ac87934eb0820308f05e174c871579e583c1ac151fdb3a2 SHA512 a25ed3f183b94073d09ee332c0bd965de0ef93e34f8dadbec988e0472b8fd2899046922b51220d168f90c232468288925d27e00da07ca87ab6e2d1cd112d715c +DIST ov-0.10.1.tar.gz 3763713 BLAKE2B 64efd201160338c6547a71b59f60fd17ad4f352c81366d66e51dba9a7bd4b7adbfd81340feec5a070b2591b49af09de1903491784c6ea17eacca0e03efab8972 SHA512 88c96bec0a35e0da315d8c55f1d351631b6be3b37577cbe0d9b1cc42e12a746fb28b220a4e78609733541913c7304e2c05f3452eac195f638a41ce1d4e7e6734 DIST rsc.io%2Fbinaryregexp%2F@v%2Fv0.2.0.mod 36 BLAKE2B 61110bed2b9e99e0250cf6e8b842257202c89b3462edf9368b73cab29f9dbd4dcc66c3e290a1d6329b7d62321eecc52082a8c4c0797eac743a29a8a00910a93f SHA512 db50ff677b0bdccbc1a1ad3df7c5cc76f2fcccf3ab99d08d1c2868440eb9b893fe89452f4286f7d42f2f16abf0f4acda67fe86e174dcfa730a743aafcc166774 DIST rsc.io%2Fquote%2Fv3%2F@v%2Fv3.1.0.mod 55 BLAKE2B f1f0ba35f0ffd200ed37c06b2025c1fd436e3fd857bd525b9295c0cbcade7e1f037e3f566124a7ef428384d50525426f0d40468c967e39bac6057174710e2566 SHA512 e6357ddd7d09692c60e59e6cb80469ade8284052cdd3ea520ec4dbcb42c1cabe045c599e43cce94bec022bd82e87a554ecac42f8c917cf2ff44daff9c1a147d5 DIST rsc.io%2Fsampler%2F@v%2Fv1.3.0.mod 88 BLAKE2B c2ac3c9619e396db470c9951dfc11cdacccd56ae09b3b353015ee7e5fbb023df288dbf48d81b44c309241d1ea89a2e0ee42ee1d17e536fcfa531aaee0e651ab7 SHA512 2137507eb25fbae419605e0cd6bca4cfa584110eebc276cd759a4dcb6f97e52928e5b2d9b276e76bcabcec3bbfc2c42f97fa29f54695d27fb00f9423e1638863 diff --git a/sys-apps/ov/ov-0.9.6.ebuild b/sys-apps/ov/ov-0.10.1.ebuild similarity index 97% rename from sys-apps/ov/ov-0.9.6.ebuild rename to sys-apps/ov/ov-0.10.1.ebuild index 43db5555bd..90959f64c5 100644 --- a/sys-apps/ov/ov-0.9.6.ebuild +++ b/sys-apps/ov/ov-0.10.1.ebuild @@ -38,7 +38,6 @@ EGO_SUM=( "cloud.google.com/go v0.93.3/go.mod" "cloud.google.com/go v0.94.1/go.mod" "cloud.google.com/go v0.97.0/go.mod" - "cloud.google.com/go v0.98.0/go.mod" "cloud.google.com/go v0.99.0/go.mod" "cloud.google.com/go/bigquery v1.0.1/go.mod" "cloud.google.com/go/bigquery v1.3.0/go.mod" @@ -229,7 +228,6 @@ EGO_SUM=( "github.com/googleapis/gax-go/v2 v2.1.1/go.mod" "github.com/googleapis/google-cloud-go-testing v0.0.0-20200911160855-bcd43fbb19e8/go.mod" "github.com/grpc-ecosystem/grpc-gateway v1.16.0/go.mod" - "github.com/hashicorp/consul/api v1.11.0/go.mod" "github.com/hashicorp/consul/api v1.12.0/go.mod" "github.com/hashicorp/consul/sdk v0.8.0/go.mod" "github.com/hashicorp/errwrap v1.0.0/go.mod" @@ -255,11 +253,8 @@ EGO_SUM=( "github.com/hashicorp/hcl v1.0.0" "github.com/hashicorp/hcl v1.0.0/go.mod" "github.com/hashicorp/logutils v1.0.0/go.mod" - "github.com/hashicorp/mdns v1.0.1/go.mod" "github.com/hashicorp/mdns v1.0.4/go.mod" - "github.com/hashicorp/memberlist v0.2.2/go.mod" "github.com/hashicorp/memberlist v0.3.0/go.mod" - "github.com/hashicorp/serf v0.9.5/go.mod" "github.com/hashicorp/serf v0.9.6/go.mod" "github.com/iancoleman/strcase v0.2.0/go.mod" "github.com/ianlancetaylor/demangle v0.0.0-20181102032728-5e5cf60278f6/go.mod" @@ -273,14 +268,14 @@ EGO_SUM=( "github.com/jstemmer/go-junit-report v0.0.0-20190106144839-af01ea7f8024/go.mod" "github.com/jstemmer/go-junit-report v0.9.1/go.mod" "github.com/julienschmidt/httprouter v1.2.0/go.mod" - "github.com/jwalton/gchalk v1.2.1" - "github.com/jwalton/gchalk v1.2.1/go.mod" + "github.com/jwalton/gchalk v1.3.0" + "github.com/jwalton/gchalk v1.3.0/go.mod" "github.com/jwalton/go-supportscolor v1.1.0" "github.com/jwalton/go-supportscolor v1.1.0/go.mod" "github.com/kisielk/errcheck v1.5.0/go.mod" "github.com/kisielk/gotool v1.0.0/go.mod" - "github.com/klauspost/compress v1.13.6" - "github.com/klauspost/compress v1.13.6/go.mod" + "github.com/klauspost/compress v1.15.1" + "github.com/klauspost/compress v1.15.1/go.mod" "github.com/konsorten/go-windows-terminal-sequences v1.0.1/go.mod" "github.com/kr/fs v0.1.0/go.mod" "github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515/go.mod" @@ -295,8 +290,9 @@ EGO_SUM=( "github.com/lucasb-eyer/go-colorful v1.2.0" "github.com/lucasb-eyer/go-colorful v1.2.0/go.mod" "github.com/lyft/protoc-gen-star v0.5.3/go.mod" - "github.com/magiconair/properties v1.8.5" "github.com/magiconair/properties v1.8.5/go.mod" + "github.com/magiconair/properties v1.8.6" + "github.com/magiconair/properties v1.8.6/go.mod" "github.com/mattn/go-colorable v0.0.9/go.mod" "github.com/mattn/go-colorable v0.1.4/go.mod" "github.com/mattn/go-colorable v0.1.6/go.mod" @@ -312,7 +308,6 @@ EGO_SUM=( "github.com/mattn/go-runewidth v0.0.13" "github.com/mattn/go-runewidth v0.0.13/go.mod" "github.com/matttproud/golang_protobuf_extensions v1.0.1/go.mod" - "github.com/miekg/dns v1.0.14/go.mod" "github.com/miekg/dns v1.1.26/go.mod" "github.com/miekg/dns v1.1.41/go.mod" "github.com/mitchellh/cli v1.1.0/go.mod" @@ -363,7 +358,6 @@ EGO_SUM=( "github.com/rogpeppe/go-internal v1.3.0/go.mod" "github.com/russross/blackfriday/v2 v2.1.0/go.mod" "github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f/go.mod" - "github.com/sagikazarmark/crypt v0.3.0/go.mod" "github.com/sagikazarmark/crypt v0.4.0/go.mod" "github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529/go.mod" "github.com/sirupsen/logrus v1.2.0/go.mod" @@ -371,17 +365,16 @@ EGO_SUM=( "github.com/spaolacci/murmur3 v0.0.0-20180118202830-f09979ecbc72/go.mod" "github.com/spf13/afero v1.3.3/go.mod" "github.com/spf13/afero v1.6.0/go.mod" - "github.com/spf13/afero v1.7.1" - "github.com/spf13/afero v1.7.1/go.mod" + "github.com/spf13/afero v1.8.2" + "github.com/spf13/afero v1.8.2/go.mod" "github.com/spf13/cast v1.4.1" "github.com/spf13/cast v1.4.1/go.mod" - "github.com/spf13/cobra v1.3.0" - "github.com/spf13/cobra v1.3.0/go.mod" + "github.com/spf13/cobra v1.4.0" + "github.com/spf13/cobra v1.4.0/go.mod" "github.com/spf13/jwalterweatherman v1.1.0" "github.com/spf13/jwalterweatherman v1.1.0/go.mod" "github.com/spf13/pflag v1.0.5" "github.com/spf13/pflag v1.0.5/go.mod" - "github.com/spf13/viper v1.10.0/go.mod" "github.com/spf13/viper v1.10.1" "github.com/spf13/viper v1.10.1/go.mod" "github.com/stretchr/objx v0.1.0/go.mod" @@ -418,7 +411,6 @@ EGO_SUM=( "go.uber.org/multierr v1.6.0/go.mod" "go.uber.org/zap v1.17.0/go.mod" "golang.org/x/crypto v0.0.0-20180904163835-0709b304e793/go.mod" - "golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3/go.mod" "golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod" "golang.org/x/crypto v0.0.0-20190510104115-cbcb75029529/go.mod" "golang.org/x/crypto v0.0.0-20190605123033-f99c8df09eb5/go.mod" @@ -467,7 +459,6 @@ EGO_SUM=( "golang.org/x/mod v0.5.0/go.mod" "golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod" "golang.org/x/net v0.0.0-20180826012351-8a410e7b638d/go.mod" - "golang.org/x/net v0.0.0-20181023162649-9b4f9f5ad519/go.mod" "golang.org/x/net v0.0.0-20181114220301-adae6a3d119a/go.mod" "golang.org/x/net v0.0.0-20190108225652-1e06a53dbb7e/go.mod" "golang.org/x/net v0.0.0-20190213061140-3a22650c66bd/go.mod" @@ -539,7 +530,6 @@ EGO_SUM=( "golang.org/x/sys v0.0.0-20180823144017-11551d06cbcc/go.mod" "golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/go.mod" "golang.org/x/sys v0.0.0-20180905080454-ebe1bf3edb33/go.mod" - "golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5/go.mod" "golang.org/x/sys v0.0.0-20181116152217-5ac8a444bdc5/go.mod" "golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod" "golang.org/x/sys v0.0.0-20190222072716-a9d3bda3a223/go.mod" @@ -604,10 +594,9 @@ EGO_SUM=( "golang.org/x/sys v0.0.0-20211004093028-2c5d950f24ef/go.mod" "golang.org/x/sys v0.0.0-20211007075335-d3039528d8ac/go.mod" "golang.org/x/sys v0.0.0-20211124211545-fe61309f8881/go.mod" - "golang.org/x/sys v0.0.0-20211205182925-97ca703d548d/go.mod" "golang.org/x/sys v0.0.0-20211210111614-af8b64212486/go.mod" - "golang.org/x/sys v0.0.0-20211216021012-1d35b9e2eb4e" - "golang.org/x/sys v0.0.0-20211216021012-1d35b9e2eb4e/go.mod" + "golang.org/x/sys v0.0.0-20220319134239-a9b59b0215f8" + "golang.org/x/sys v0.0.0-20220319134239-a9b59b0215f8/go.mod" "golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod" "golang.org/x/term v0.0.0-20201210144234-2321bbc49cbf/go.mod" "golang.org/x/term v0.0.0-20210220032956-6a3ed077a48d/go.mod" @@ -717,7 +706,6 @@ EGO_SUM=( "google.golang.org/api v0.57.0/go.mod" "google.golang.org/api v0.59.0/go.mod" "google.golang.org/api v0.61.0/go.mod" - "google.golang.org/api v0.62.0/go.mod" "google.golang.org/api v0.63.0/go.mod" "google.golang.org/appengine v1.1.0/go.mod" "google.golang.org/appengine v1.4.0/go.mod" @@ -787,8 +775,6 @@ EGO_SUM=( "google.golang.org/genproto v0.0.0-20211008145708-270636b82663/go.mod" "google.golang.org/genproto v0.0.0-20211028162531-8db9c33dc351/go.mod" "google.golang.org/genproto v0.0.0-20211118181313-81c1377c94b1/go.mod" - "google.golang.org/genproto v0.0.0-20211129164237-f09f9a12af12/go.mod" - "google.golang.org/genproto v0.0.0-20211203200212-54befc351ae9/go.mod" "google.golang.org/genproto v0.0.0-20211206160659-862468c7d6e0/go.mod" "google.golang.org/genproto v0.0.0-20211208223120-3a66f561d7aa/go.mod" "google.golang.org/grpc v1.19.0/go.mod" @@ -817,7 +803,6 @@ EGO_SUM=( "google.golang.org/grpc v1.39.1/go.mod" "google.golang.org/grpc v1.40.0/go.mod" "google.golang.org/grpc v1.40.1/go.mod" - "google.golang.org/grpc v1.42.0/go.mod" "google.golang.org/grpc v1.43.0/go.mod" "google.golang.org/grpc/cmd/protoc-gen-go-grpc v1.1.0/go.mod" "google.golang.org/protobuf v0.0.0-20200109180630-ec00e32a8dfd/go.mod" @@ -839,8 +824,9 @@ EGO_SUM=( "gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15" "gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15/go.mod" "gopkg.in/errgo.v2 v2.1.0/go.mod" - "gopkg.in/ini.v1 v1.66.2" "gopkg.in/ini.v1 v1.66.2/go.mod" + "gopkg.in/ini.v1 v1.66.4" + "gopkg.in/ini.v1 v1.66.4/go.mod" "gopkg.in/yaml.v2 v2.2.1/go.mod" "gopkg.in/yaml.v2 v2.2.2/go.mod" "gopkg.in/yaml.v2 v2.2.3/go.mod" @@ -862,7 +848,7 @@ EGO_SUM=( "rsc.io/binaryregexp v0.2.0/go.mod" "rsc.io/quote/v3 v3.1.0/go.mod" "rsc.io/sampler v1.3.0/go.mod" - ) +) go-module_set_globals SRC_URI="https://github.com/noborus/ov/archive/v${PV}.tar.gz -> ${P}.tar.gz @@ -873,6 +859,7 @@ LICENSE="MIT Apache-2.0 BSD-2 BSD MPL-2.0" SLOT="0" KEYWORDS="~amd64" IUSE="test" + RESTRICT="!test? ( test )" src_compile() { diff --git a/sys-auth/keystone/Manifest b/sys-auth/keystone/Manifest index 03002791a8..bec258260e 100644 --- a/sys-auth/keystone/Manifest +++ b/sys-auth/keystone/Manifest @@ -1,2 +1 @@ -DIST keystone-21.0.0.0rc1.tar.gz 1698152 BLAKE2B 703fb7b56a12cc3909a8990a2c21df2fca056f5eda43bd562ff8dcaeb06aa61db60b6d2ba6010d5c987f74f8d529eb66f086e648cbef25f96867e6c6b2644b29 SHA512 290e7ce13de1d7a232ef41166d51585460f6be745daf5477b8d83a8537f09eaecb82d6fabf554be777108b4a281ffb2e65457fe815a0405355a9e19c6f31f442 DIST keystone-21.0.0.tar.gz 1697791 BLAKE2B e7c81ffa3d94ff12bd3aaeeaf4d8d7238b6d62c124419af9c8572ac47ace6eaa290bf922642d3c517dbd7ffab8b4a65705868ccea2c3715d85373bd830894961 SHA512 2214a96e058e553da5ab61423f3ebe3ba0e56a4a431d8109f845c2b967c4f2b98f5f1a15102b3b0c68ec48ebb1a3397b96576be98e991db601e916ff4e947043 diff --git a/sys-auth/keystone/keystone-21.0.0.0_rc1-r1.ebuild b/sys-auth/keystone/keystone-21.0.0.0_rc1-r1.ebuild deleted file mode 100644 index 662dd4ae7c..0000000000 --- a/sys-auth/keystone/keystone-21.0.0.0_rc1-r1.ebuild +++ /dev/null @@ -1,169 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -MYP="${P/_/}" -PYTHON_COMPAT=( python3_{8..9} ) - -inherit distutils-r1 tmpfiles - -DESCRIPTION="The Openstack authentication, authorization, and service catalog" -HOMEPAGE=" - https://opendev.org/openstack/keystone - https://launchpad.net/keystone - https://pypi.org/project/keystone/ -" -SRC_URI="https://tarballs.openstack.org/${PN}/${MYP}.tar.gz" -S="${WORKDIR}/${MYP}" - -KEYWORDS="~amd64" -LICENSE="Apache-2.0" -SLOT="0" -IUSE="+sqlite ldap memcached mongo mysql postgres" - -RDEPEND=" - >=dev-python/pbr-2.0.0[${PYTHON_USEDEP}] - >=dev-python/webob-1.7.1[${PYTHON_USEDEP}] - >=dev-python/flask-1.0.2[${PYTHON_USEDEP}] - >=dev-python/flask-restful-0.3.5[${PYTHON_USEDEP}] - >=dev-python/cryptography-2.7[${PYTHON_USEDEP}] - >=dev-python/sqlalchemy-migrate-0.13.0[${PYTHON_USEDEP}] - >=dev-python/stevedore-1.20.0[${PYTHON_USEDEP}] - >=dev-python/passlib-1.7.0[${PYTHON_USEDEP}] - >=dev-python/python-keystoneclient-3.8.0[${PYTHON_USEDEP}] - >=dev-python/keystonemiddleware-7.0.0[${PYTHON_USEDEP}] - >=dev-python/bcrypt-3.1.3[${PYTHON_USEDEP}] - >=dev-python/scrypt-0.8.0[${PYTHON_USEDEP}] - >=dev-python/oslo-cache-1.26.0[${PYTHON_USEDEP}] - >=dev-python/oslo-config-6.8.0[${PYTHON_USEDEP}] - >=dev-python/oslo-context-2.22.0[${PYTHON_USEDEP}] - >=dev-python/oslo-messaging-5.29.0[${PYTHON_USEDEP}] - >=dev-python/oslo-db-6.0.0[${PYTHON_USEDEP}] - >=dev-python/oslo-i18n-3.15.3[${PYTHON_USEDEP}] - >=dev-python/oslo-log-3.44.0[${PYTHON_USEDEP}] - >=dev-python/oslo-middleware-3.31.0[${PYTHON_USEDEP}] - >=dev-python/oslo-policy-3.7.0[${PYTHON_USEDEP}] - >=dev-python/oslo-serialization-2.18.0[${PYTHON_USEDEP}] - >=dev-python/oslo-upgradecheck-1.3.0[${PYTHON_USEDEP}] - >=dev-python/oslo-utils-3.33.0[${PYTHON_USEDEP}] - >=dev-python/oauthlib-0.6.2[${PYTHON_USEDEP}] - >=dev-python/pysaml2-5.0.0[${PYTHON_USEDEP}] - >=dev-python/pyjwt-1.6.1[${PYTHON_USEDEP}] - >=dev-python/dogpile-cache-1.0.2[${PYTHON_USEDEP}] - >=dev-python/jsonschema-3.2.0[${PYTHON_USEDEP}] - >=dev-python/pycadf-1.1.0[${PYTHON_USEDEP}] - >=dev-python/msgpack-0.5.0[${PYTHON_USEDEP}] - >=dev-python/osprofiler-1.4.0[${PYTHON_USEDEP}] - >=dev-python/pytz-2013.6[${PYTHON_USEDEP}] - - ldap? ( - >=dev-python/python-ldap-3.1.0[${PYTHON_USEDEP}] - >=dev-python/ldappool-2.3.1[${PYTHON_USEDEP}] - ) - mysql? ( - >=dev-python/pymysql-0.7.6[${PYTHON_USEDEP}] - >=dev-python/sqlalchemy-1.3.0[${PYTHON_USEDEP}] - ) - memcached? ( - >=dev-python/python-memcached-1.56[${PYTHON_USEDEP}] - ) - mongo? ( - >=dev-python/pymongo-3.0.2[${PYTHON_USEDEP}] - ) - postgres? ( - >=dev-python/psycopg-2.5.0[${PYTHON_USEDEP}] - >=dev-python/sqlalchemy-1.3.0[${PYTHON_USEDEP}] - ) - sqlite? ( - >=dev-python/sqlalchemy-1.3.0[sqlite,${PYTHON_USEDEP}] - ) - - || ( - www-servers/uwsgi[python,${PYTHON_USEDEP}] - www-apache/mod_wsgi[${PYTHON_USEDEP}] - www-servers/gunicorn[${PYTHON_USEDEP}] - ) - acct-user/keystone - acct-group/keystone -" -DEPEND="${RDEPEND}" -BDEPEND=" - test? ( - >=dev-python/bashate-0.5.1[${PYTHON_USEDEP}] - >=dev-python/freezegun-0.3.6[${PYTHON_USEDEP}] - >=dev-python/pytz-2013.6[${PYTHON_USEDEP}] - >=dev-python/oslo-db-6.0.0[${PYTHON_USEDEP}] - >=dev-python/fixtures-3.0.0[${PYTHON_USEDEP}] - >=dev-python/lxml-4.5.0[${PYTHON_USEDEP}] - >=dev-python/oslotest-3.2.0[${PYTHON_USEDEP}] - >=dev-python/webtest-2.0.27[${PYTHON_USEDEP}] - >=dev-python/testtools-2.2.0[${PYTHON_USEDEP}] - >=dev-python/tempest-17.1.0[${PYTHON_USEDEP}] - >=dev-python/requests-2.14.2[${PYTHON_USEDEP}] - ) -" - -PATCHES=( "${FILESDIR}/${P}-no-usr-local-bin.patch" ) -REQUIRED_USE=" - || ( mysql postgres sqlite ) - test? ( ldap ) -" - -distutils_enable_tests pytest - -python_prepare_all() { - sed -i '/^hacking/d' test-requirements.txt || die - # allow usage of renamed msgpack - sed -i '/^msgpack/d' requirements.txt || die - distutils-r1_python_prepare_all -} - -python_compile_all() { - oslo-config-generator --config-file=config-generator/keystone.conf || die - oslopolicy-sample-generator --config-file config-generator/keystone-policy-generator.conf || die -} - -python_install_all() { - distutils-r1_python_install_all - - diropts -m 0750 - keepdir /etc/keystone /var/log/keystone - insinto /etc/keystone - insopts -m 0640 -o keystone -g keystone - doins etc/keystone.conf.sample - doins etc/keystone.policy.yaml.sample - doins etc/logging.conf.sample - doins etc/default_catalog.templates - insinto /etc/keystone/httpd - doins httpd/* - - fowners keystone:keystone /etc/keystone /etc/keystone/httpd /var/log/keystone - - newtmpfiles "${FILESDIR}/keystone.tmpfile" keystone.conf - - insinto /etc/logrotate.d - newins "${FILESDIR}/keystone.logrotate" keystone.conf - - rm -r "${ED}/usr/etc" || die -} - -pkg_postinst() { - elog "You might want to run:" - elog "emerge --config =${CATEGORY}/${PF}" - elog "if this is a new install." - elog "If you have not already configured your openssl installation" - elog "please do it by modifying /etc/ssl/openssl.cnf" - elog "BEFORE issuing the configuration command." - elog "Otherwise default values will be used." -} - -pkg_config() { - if [ ! -d "${ROOT}/etc/keystone/ssl" ] ; then - einfo "Press ENTER to configure the keystone PKI, or Control-C to abort now..." - read - "${ROOT}/usr/bin/keystone-manage" pki_setup --keystone-user keystone --keystone-group keystone - else - einfo "keystone PKI certificates directory already present, skipping configuration" - fi -} diff --git a/sys-auth/keystone/keystone-21.0.0.ebuild b/sys-auth/keystone/keystone-21.0.0.ebuild index 662dd4ae7c..b0be04dedd 100644 --- a/sys-auth/keystone/keystone-21.0.0.ebuild +++ b/sys-auth/keystone/keystone-21.0.0.ebuild @@ -158,6 +158,10 @@ pkg_postinst() { elog "Otherwise default values will be used." } +pkg_postinst() { + tmpfiles_process keystone.conf +} + pkg_config() { if [ ! -d "${ROOT}/etc/keystone/ssl" ] ; then einfo "Press ENTER to configure the keystone PKI, or Control-C to abort now..." diff --git a/sys-cluster/cinder/Manifest b/sys-cluster/cinder/Manifest index e9fdf3984f..86072073cf 100644 --- a/sys-cluster/cinder/Manifest +++ b/sys-cluster/cinder/Manifest @@ -1,2 +1 @@ -DIST cinder-20.0.0.0rc1.tar.gz 5948385 BLAKE2B f8f2e2b4b88f4c81db61bc209b1408bf8c49db54b8b89095828d5baf3a1e6789889093ecb29b9494ec580c5878cd2cffcd5930992794d970a7582f190db5c134 SHA512 90e6845d96e896ddf40bd9992e80864a8441a74b265bdf559ada75f0a95af9f3041ee75d16312a9ae3871e35a23719248c7ed879b1511688afb3bf8b09239ab1 DIST cinder-20.0.0.tar.gz 5950094 BLAKE2B 6370f2ea4f1bfecf3602d313b46436a100b5957754750c5ed5f282ec7bdb1797fa4df7764d7eb946d01a47345fc4611bcc8ed565f076556aedf094eec994f89b SHA512 1d7d8cc26b88b1243c7c03c607591815120120257f06355d75f2aab5cc7566470d0f37f2bfc7bc1f51a36a38c8b7016fc5996de9b42d36ebe7f393585a877bb2 diff --git a/sys-cluster/cinder/cinder-20.0.0.0_rc1.ebuild b/sys-cluster/cinder/cinder-20.0.0.0_rc1.ebuild deleted file mode 100644 index 8ba86ad843..0000000000 --- a/sys-cluster/cinder/cinder-20.0.0.0_rc1.ebuild +++ /dev/null @@ -1,207 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -MYP="${P/_rc/rc}" -PYTHON_COMPAT=( python3_{8..9} ) - -inherit distutils-r1 linux-info systemd tmpfiles - -DESCRIPTION="Cinder is the OpenStack Block storage service, a spin out of nova-volumes" -HOMEPAGE=" - https://launchpad.net/cinder - https://opendev.org/openstack/cinder/ - https://pypi.org/project/cinder/ - https://github.com/openstack/cinder -" -SRC_URI="https://tarballs.openstack.org/${PN}/${MYP}.tar.gz" -KEYWORDS="~amd64" - -LICENSE="Apache-2.0 GPL-2" -SLOT="0" -IUSE="+api +scheduler +volume infiniband iscsi lvm mysql +memcached postgres rdma sqlite +tcp test +tgt" - -# qemu is needed for image conversion -RDEPEND=" - >=dev-python/pbr-5.8.0[${PYTHON_USEDEP}] - >=dev-python/decorator-4.4.2[${PYTHON_USEDEP}] - >=dev-python/eventlet-0.30.1[${PYTHON_USEDEP}] - >=dev-python/greenlet-0.4.16[${PYTHON_USEDEP}] - >=dev-python/httplib2-0.18.1[${PYTHON_USEDEP}] - >=dev-python/iso8601-0.1.12[${PYTHON_USEDEP}] - >=dev-python/jsonschema-3.2.0[${PYTHON_USEDEP}] - >=dev-python/keystoneauth-4.2.1[${PYTHON_USEDEP}] - >=dev-python/keystonemiddleware-9.1.0[${PYTHON_USEDEP}] - >=dev-python/lxml-4.5.2[${PYTHON_USEDEP}] - >=dev-python/oauth2client-4.1.3[${PYTHON_USEDEP}] - >=dev-python/oslo-config-8.3.2[${PYTHON_USEDEP}] - >=dev-python/oslo-concurrency-4.5.0[${PYTHON_USEDEP}] - >=dev-python/oslo-context-3.4.0[${PYTHON_USEDEP}] - >=dev-python/oslo-db-11.0.0[${PYTHON_USEDEP}] - >=dev-python/oslo-log-4.6.1[${PYTHON_USEDEP}] - >=dev-python/oslo-messaging-12.5.0[${PYTHON_USEDEP}] - >=dev-python/oslo-middleware-4.1.1[${PYTHON_USEDEP}] - >=dev-python/oslo-policy-3.8.1[${PYTHON_USEDEP}] - >=dev-python/oslo-privsep-2.6.2[${PYTHON_USEDEP}] - >=dev-python/oslo-reports-2.2.0[${PYTHON_USEDEP}] - >=dev-python/oslo-rootwrap-6.2.0[${PYTHON_USEDEP}] - >=dev-python/oslo-serialization-4.2.0[${PYTHON_USEDEP}] - >=dev-python/oslo-service-2.8.0[${PYTHON_USEDEP}] - >=dev-python/oslo-upgradecheck-1.1.1[${PYTHON_USEDEP}] - >=dev-python/oslo-utils-4.12.1[${PYTHON_USEDEP}] - >=dev-python/oslo-versionedobjects-2.3.0[${PYTHON_USEDEP}] - >=dev-python/osprofiler-3.4.0[${PYTHON_USEDEP}] - >=dev-python/packaging-20.4[${PYTHON_USEDEP}] - >=dev-python/paramiko-2.7.2[${PYTHON_USEDEP}] - >=dev-python/paste-3.4.3[${PYTHON_USEDEP}] - >=dev-python/pastedeploy-2.1.0[${PYTHON_USEDEP}] - >=dev-python/psutil-5.7.2[${PYTHON_USEDEP}] - >=dev-python/pyparsing-2.4.7[${PYTHON_USEDEP}] - >=dev-python/python-barbicanclient-5.0.1[${PYTHON_USEDEP}] - >=dev-python/python-glanceclient-3.2.2[${PYTHON_USEDEP}] - >=dev-python/python-keystoneclient-4.1.1[${PYTHON_USEDEP}] - >=dev-python/python-novaclient-17.2.1[${PYTHON_USEDEP}] - >=dev-python/python-swiftclient-3.10.1[${PYTHON_USEDEP}] - >=dev-python/pytz-2020.1[${PYTHON_USEDEP}] - >=dev-python/requests-2.25.1[${PYTHON_USEDEP}] - >=dev-python/routes-2.4.1[${PYTHON_USEDEP}] - >=dev-python/taskflow-4.5.0[${PYTHON_USEDEP}] - >=dev-python/rtslib-fb-2.1.74[${PYTHON_USEDEP}] - >=dev-python/six-1.15.0[${PYTHON_USEDEP}] - >=dev-python/sqlalchemy-migrate-0.13.0[${PYTHON_USEDEP}] - >=dev-python/stevedore-3.2.2[${PYTHON_USEDEP}] - >=dev-python/tabulate-0.8.7[${PYTHON_USEDEP}] - >=dev-python/tenacity-6.3.1[${PYTHON_USEDEP}] - >=dev-python/webob-1.8.6[${PYTHON_USEDEP}] - >=dev-python/oslo-i18n-5.1.0[${PYTHON_USEDEP}] - >=dev-python/oslo-vmware-3.10.0[${PYTHON_USEDEP}] - >=dev-python/os-brick-5.2.0[${PYTHON_USEDEP}] - >=dev-python/os-win-5.5.0[${PYTHON_USEDEP}] - >=dev-python/tooz-2.7.1[${PYTHON_USEDEP}] - >=dev-python/google-api-python-client-1.11.0[${PYTHON_USEDEP}] - >=dev-python/castellan-3.7.0[${PYTHON_USEDEP}] - >=dev-python/cryptography-3.1[${PYTHON_USEDEP}] - >=dev-python/cursive-0.2.2[${PYTHON_USEDEP}] - >=dev-python/zstd-1.4.5.1[${PYTHON_USEDEP}] - >=dev-python/boto3-1.16.51[${PYTHON_USEDEP}] - - iscsi? ( - tgt? ( sys-block/tgt ) - sys-block/open-iscsi - ) - lvm? ( sys-fs/lvm2 ) - memcached? ( net-misc/memcached ) - mysql? ( - >=dev-python/pymysql-0.7.6[${PYTHON_USEDEP}] - >=dev-python/sqlalchemy-1.4.23[${PYTHON_USEDEP}] - ) - sqlite? ( - >=dev-python/sqlalchemy-1.4.23[sqlite,${PYTHON_USEDEP}] - ) - postgres? ( - >=dev-python/psycopg-2.5.0[${PYTHON_USEDEP}] - >=dev-python/sqlalchemy-1.4.23[${PYTHON_USEDEP}] - ) - - acct-user/cinder - acct-group/cinder - app-emulation/qemu - sys-fs/sysfsutils -" -DEPEND=" - ${RDEPEND} - app-admin/sudo -" -BDEPEND=" - test? ( - >=dev-python/ddt-1.4.4[${PYTHON_USEDEP}] - >=dev-python/fixtures-3.0.0[${PYTHON_USEDEP}] - >=dev-python/oslotest-4.5.0[${PYTHON_USEDEP}] - >=dev-python/testtools-2.4.0[${PYTHON_USEDEP}] - ) -" - -RESTRICT="!test? ( test )" -REQUIRED_USE=" - || ( mysql postgres sqlite ) - iscsi? ( tgt ) - infiniband? ( rdma ) - test? ( mysql postgres ) -" - -pkg_pretend() { - linux-info_pkg_setup - CONFIG_CHECK_MODULES="" - if use tcp; then - CONFIG_CHECK_MODULES+="SCSI_ISCSI_ATTRS ISCSI_TCP " - fi - if use rdma; then - CONFIG_CHECK_MODULES+="INFINIBAND_ISER " - fi - if use infiniband; then - CONFIG_CHECK_MODULES+="INFINIBAND_IPOIB INFINIBAND_USER_MAD INFINIBAND_USER_ACCESS" - fi - if linux_config_exists; then - for module in ${CONFIG_CHECK_MODULES}; do - linux_chkconfig_present ${module} || ewarn "${module} needs to be enabled" - done - fi -} - -python_prepare_all() { - sed -i '/^hacking/d' test-requirements.txt || die - # only used for docs - sed -i '/^sphinx-feature-classification/d' requirements.txt || die - distutils-r1_python_prepare_all -} - -python_compile_all() { - oslo-config-generator --config-file=tools/config/cinder-config-generator.conf || die - oslopolicy-sample-generator --config-file=tools/config/cinder-policy-generator.conf || die -} - -python_install_all() { - distutils-r1_python_install_all - keepdir /etc/cinder - dodir /etc/cinder/rootwrap.d - - for svc in api backup scheduler volume; do - newinitd "${FILESDIR}/cinder.initd" "cinder-${svc}" - systemd_dounit "${FILESDIR}/openstack-cinder-${svc}.service" - done - - insinto /etc/cinder - insopts -m 0640 -o cinder -g cinder - doins "etc/cinder/api-httpd.conf" - doins "etc/cinder/logging_sample.conf" - doins "etc/cinder/rootwrap.conf" - doins "etc/cinder/api-paste.ini" - doins "etc/cinder/resource_filters.json" - doins "etc/cinder/cinder.conf.sample" - doins "etc/cinder/policy.yaml.sample" - insinto /etc/cinder/rootwrap.d - doins "etc/cinder/rootwrap.d/volume.filters" - - dodir /var/log/cinder - fowners cinder:cinder /var/log/cinder - - #add sudoers definitions for user cinder - insinto /etc/sudoers.d/ - insopts -m 0440 -o root -g root - newins "${FILESDIR}/cinder.sudoersd" cinder - - newtmpfiles "${FILESDIR}/cinder.tmpfile" cinder.conf - - insinto /etc/logrotate.d - newins "${FILESDIR}/cinder.logrotate" cinder.conf - - rm -r "${ED}/usr/etc" -} - -pkg_postinst() { - if use iscsi ; then - elog "Cinder needs tgtd to be installed and running to work with iscsi" - elog "it also needs 'include /var/lib/cinder/volumes/*' in /etc/tgt/targets.conf" - fi -} diff --git a/sys-cluster/cinder/cinder-20.0.0.ebuild b/sys-cluster/cinder/cinder-20.0.0.ebuild index 8ba86ad843..8a4bdcb48e 100644 --- a/sys-cluster/cinder/cinder-20.0.0.ebuild +++ b/sys-cluster/cinder/cinder-20.0.0.ebuild @@ -200,6 +200,7 @@ python_install_all() { } pkg_postinst() { + tmpfiles_process cinder.conf if use iscsi ; then elog "Cinder needs tgtd to be installed and running to work with iscsi" elog "it also needs 'include /var/lib/cinder/volumes/*' in /etc/tgt/targets.conf" diff --git a/sys-cluster/heat/heat-18.0.0.ebuild b/sys-cluster/heat/heat-18.0.0.ebuild index 0d5f545e2a..c3567fa918 100644 --- a/sys-cluster/heat/heat-18.0.0.ebuild +++ b/sys-cluster/heat/heat-18.0.0.ebuild @@ -25,6 +25,7 @@ IUSE="+mysql +memcached postgres sqlite" RDEPEND=" >=dev-python/pbr-3.1.1[${PYTHON_USEDEP}] >=dev-python/Babel-2.3.4[${PYTHON_USEDEP}] + >=dev-python/ddt-1.4.1[${PYTHON_USEDEP}] >=dev-python/croniter-0.3.4[${PYTHON_USEDEP}] >=dev-python/cryptography-2.5[${PYTHON_USEDEP}] >=dev-python/debtcollector-1.19.0[${PYTHON_USEDEP}] @@ -126,13 +127,14 @@ REQUIRED_USE=" distutils_enable_tests pytest python_prepare_all() { + rm -r heat/tests/test_hacking.py || die sed -i '/^hacking/d' test-requirements.txt || die distutils-r1_python_prepare_all } python_compile_all() { - oslo-config-generator --config-file=config-generator.conf - oslopolicy-sample-generator --config-file etc/heat/heat-policy-generator.conf + oslo-config-generator --config-file=config-generator.conf || die + oslopolicy-sample-generator --config-file etc/heat/heat-policy-generator.conf || die } python_install_all() { @@ -148,7 +150,7 @@ python_install_all() { insinto /etc/heat insopts -m 0640 -o heat -g heat - doins heat.conf.sample + doins etc/heat/heat.conf.sample doins etc/heat/policy.yaml.sample doins "etc/heat/api-paste.ini" insinto /etc/heat/templates diff --git a/sys-cluster/libi/files/libi-5.0.1_p20180510-respect-variables.patch b/sys-cluster/libi/files/libi-5.0.1_p20180510-respect-variables.patch new file mode 100644 index 0000000000..b354931425 --- /dev/null +++ b/sys-cluster/libi/files/libi-5.0.1_p20180510-respect-variables.patch @@ -0,0 +1,20 @@ +--- a/conf/configure.in ++++ b/conf/configure.in +@@ -66,7 +66,6 @@ + AC_PROG_YACC + AC_PROG_LN_S + +-AC_PATH_PROG(AR, ar) + ARFLAGS="crv" + AC_SUBST(AR) + AC_SUBST(ARFLAGS) +@@ -87,9 +86,6 @@ + STDCFLAGS="-D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS" + CXXFLAGS="$CXXFLAGS -fPIC $STDCFLAGS" + +-dnl === Ignore user-requested debug/optimization levels +-CXXFLAGS=`echo $CXXFLAGS | sed 's/-g //; s/-O //; s/-O1 //; s/-O2 //; s/-O3 //'` +- + SOFLAGS="$SOFLAGS -fPIC -shared -rdynamic" + AC_SUBST(SOFLAGS) + diff --git a/sys-cluster/libi/libi-5.0.1_p20180510.ebuild b/sys-cluster/libi/libi-5.0.1_p20180510-r1.ebuild similarity index 82% rename from sys-cluster/libi/libi-5.0.1_p20180510.ebuild rename to sys-cluster/libi/libi-5.0.1_p20180510-r1.ebuild index cd65d0a7ae..2d6aca2797 100644 --- a/sys-cluster/libi/libi-5.0.1_p20180510.ebuild +++ b/sys-cluster/libi/libi-5.0.1_p20180510-r1.ebuild @@ -3,7 +3,7 @@ EAPI=8 -inherit toolchain-funcs +inherit autotools toolchain-funcs COMMIT="7375ba5bb0df87c68e58ad15e9e5e351ae020c08" @@ -30,11 +30,20 @@ PATCHES=( "${FILESDIR}/${PN}-create-libdir.patch" "${FILESDIR}/${PN}-link-launchmon.patch" "${FILESDIR}/${PN}-shared-library.patch" + "${FILESDIR}/${P}-respect-variables.patch" ) -src_configure() { +src_prepare() { tc-export AR + default + pushd conf || die + mv configure.{in,ac} || die + eautoreconf + popd || die + mv conf/configure configure || die +} +src_configure() { local myconf=( --enable-shared --with-launchmon="${EPREFIX}/usr" diff --git a/sys-cluster/mrnet/files/mrnet-5.0.1_p20180510-respect-AR-CFLAGS.patch b/sys-cluster/mrnet/files/mrnet-5.0.1_p20180510-respect-AR-CFLAGS.patch new file mode 100644 index 0000000000..347ea7e948 --- /dev/null +++ b/sys-cluster/mrnet/files/mrnet-5.0.1_p20180510-respect-AR-CFLAGS.patch @@ -0,0 +1,53 @@ +--- a/conf/configure.in ++++ b/conf/configure.in +@@ -215,10 +215,6 @@ + CXXFLAGS="$CXXFLAGS $STDCFLAGS" + CFLAGS="$CFLAGS $STDCFLAGS" + +-dnl === Ignore user-requested debug/optimization levels +-CXXFLAGS=`echo $CXXFLAGS | sed 's/-g //; s/-O //; s/-O1 //; s/-O2 //; s/-O3 //'` +-CFLAGS=`echo $CFLAGS | sed 's/-g //; s/-O //; s/-O1 //; s/-O2 //; s/-O3 //'` +- + dnl === SETTING MRNET PLATFORM VARIABLES === + + dnl MRNET_ARCH is host returned by config.guess with +@@ -275,7 +271,6 @@ + + C_AS_CPLUSPLUS="-x c++" + +- AC_PATH_PROG(AR, ar) + AC_SUBST(AR) + ARFLAGS="crv" + AC_SUBST(ARFLAGS) +@@ -292,7 +287,6 @@ + + C_AS_CPLUSPLUS="-x c++" + +- AC_PATH_PROG(AR, ar) + AC_SUBST(AR) + ARFLAGS="crv" + AC_SUBST(ARFLAGS) +@@ -306,7 +300,6 @@ + + C_AS_CPLUSPLUS="-+" + +- AC_PATH_PROG(AR, ar) + AC_SUBST(AR) + ARFLAGS="crv" + AC_SUBST(ARFLAGS) +@@ -342,7 +334,6 @@ + + SOFLAGS="$SOFLAGS -fPIC -shared" + +- AC_PATH_PROG(AR, ar) + AC_SUBST(AR) + ARFLAGS="crv" + AC_SUBST(ARFLAGS) +@@ -357,7 +348,6 @@ + + SOFLAGS="$SOFLAGS -fPIC -shared" + +- AC_PATH_PROG(AR, ar) + AC_SUBST(AR) + ARFLAGS="crv" + AC_SUBST(ARFLAGS) diff --git a/sys-cluster/mrnet/mrnet-5.0.1_p20180510-r4.ebuild b/sys-cluster/mrnet/mrnet-5.0.1_p20180510-r5.ebuild similarity index 88% rename from sys-cluster/mrnet/mrnet-5.0.1_p20180510-r4.ebuild rename to sys-cluster/mrnet/mrnet-5.0.1_p20180510-r5.ebuild index 0bc6abcc10..c7d1d29d7f 100644 --- a/sys-cluster/mrnet/mrnet-5.0.1_p20180510-r4.ebuild +++ b/sys-cluster/mrnet/mrnet-5.0.1_p20180510-r5.ebuild @@ -5,7 +5,7 @@ EAPI=8 COMMIT="7375ba5bb0df87c68e58ad15e9e5e351ae020c08" -inherit flag-o-matic toolchain-funcs +inherit autotools flag-o-matic toolchain-funcs DESCRIPTION="A Multicast/Reduction Network" HOMEPAGE="http://www.paradyn.org/mrnet" @@ -30,19 +30,24 @@ DEPEND=" " PATCHES=( + "${FILESDIR}/${P}-respect-AR-CFLAGS.patch" "${FILESDIR}/${P}-respect-LDFLAGS.patch" "${FILESDIR}/${PN}-no-libi.patch" ) REQUIRED_USE="slurm? ( libi )" src_prepare() { + tc-export AR CC CXX rm -r external || die default + pushd conf || die + mv configure.{in,ac} || die + eautoreconf + popd || die + mv conf/configure configure || die } src_configure() { - tc-export AR CC CXX - use libi && append-cxxflags "-llibi" local myconf=( --enable-shared diff --git a/sys-cluster/neutron/neutron-20.0.0.ebuild b/sys-cluster/neutron/neutron-20.0.0.ebuild index 40c4358f95..43ab8b9498 100644 --- a/sys-cluster/neutron/neutron-20.0.0.ebuild +++ b/sys-cluster/neutron/neutron-20.0.0.ebuild @@ -242,6 +242,8 @@ python_install() { } pkg_postinst() { + tmpfiles_process neutron.conf + elog elog "neutron-server's conf.d file may need updating to include additional ini files" elog "We currently assume the ml2 plugin will be used but do not make assumptions" diff --git a/sys-cluster/nova/Manifest b/sys-cluster/nova/Manifest index 189a69fa60..59323a2ad5 100644 --- a/sys-cluster/nova/Manifest +++ b/sys-cluster/nova/Manifest @@ -1,2 +1 @@ -DIST nova-25.0.0.0rc1.tar.gz 9446116 BLAKE2B e747588076c5bd35bab5cf3d3afca37523ee3e2643d9d18e50243ce8320c71151fabf87ef530dab180b871049cd55e5ee4dec6dc9e3d16a68d99b627870e4f93 SHA512 1c07fb6ce81efebd78a519cf6334f47d4dc08d6d949910f6c38b356f3457e2b2c4df6edb90d0760ac17740df0c0116a75eccf9ac85780757614fba110280d013 DIST nova-25.0.0.tar.gz 9445471 BLAKE2B 5584daee1026ebec9437368b5c39ded4c474d1a15291487f9e9ee72593626a3ce2204ec8bf5acb7d579328a7b7aed57174d42db3cabca1c8e93047e49e0bc847 SHA512 c4a1423dcb97bcc96bb5faccd43f58e17293172121a2715ff13c05690c5b8868befeb45815a9dca33fa5bc387fd8c586f68984b0c931427aa02794a1d2a5179e diff --git a/sys-cluster/nova/nova-25.0.0.0_rc1-r3.ebuild b/sys-cluster/nova/nova-25.0.0.0_rc1-r3.ebuild deleted file mode 100644 index 3ae0f19aaa..0000000000 --- a/sys-cluster/nova/nova-25.0.0.0_rc1-r3.ebuild +++ /dev/null @@ -1,251 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -MYP="${P//_/}" -PYTHON_COMPAT=( python3_{8..9} ) - -inherit bash-completion-r1 distutils-r1 linux-info systemd tmpfiles udev - -DESCRIPTION="Cloud computing fabric controller" -HOMEPAGE=" - https://launchpad.net/nova - https://opendev.org/openstack/nova - https://pypi.org/project/nova/ -" -SRC_URI="https://tarballs.openstack.org/${PN}/${MYP}.tar.gz" -S="${WORKDIR}/${MYP}" - -KEYWORDS="~amd64" -LICENSE="Apache-2.0 iscsi? ( GPL-2 )" -SLOT="0" -IUSE="+compute compute-only iscsi +memcached +mysql +novncproxy openvswitch postgres +rabbitmq sqlite" - -RDEPEND=" - >=dev-python/pbr-5.8.0[${PYTHON_USEDEP}] - >=dev-python/decorator-4.1.0[${PYTHON_USEDEP}] - >=dev-python/eventlet-0.30.1[${PYTHON_USEDEP}] - >=dev-python/jinja-2.10[${PYTHON_USEDEP}] - >=dev-python/keystonemiddleware-4.20.0[${PYTHON_USEDEP}] - >=dev-python/lxml-4.5.0[${PYTHON_USEDEP}] - >=dev-python/routes-2.3.1[${PYTHON_USEDEP}] - >=dev-python/cryptography-2.7[${PYTHON_USEDEP}] - >=dev-python/webob-1.8.2[${PYTHON_USEDEP}] - >=dev-python/greenlet-0.4.15[${PYTHON_USEDEP}] - >=dev-python/pastedeploy-1.5.0-r1[${PYTHON_USEDEP}] - >=dev-python/paste-2.0.2[${PYTHON_USEDEP}] - >=dev-python/prettytable-0.7.1[${PYTHON_USEDEP}] - >=dev-python/sqlalchemy-migrate-0.13.0[${PYTHON_USEDEP}] - >=dev-python/alembic-1.5.0[${PYTHON_USEDEP}] - >=dev-python/netaddr-0.7.18[${PYTHON_USEDEP}] - >=dev-python/netifaces-0.10.4[${PYTHON_USEDEP}] - >=dev-python/paramiko-2.7.1[${PYTHON_USEDEP}] - >=dev-python/iso8601-0.1.11[${PYTHON_USEDEP}] - >=dev-python/jsonschema-3.2.0[${PYTHON_USEDEP}] - >=dev-python/python-cinderclient-3.3.0[${PYTHON_USEDEP}] - >=dev-python/keystoneauth-3.16.0[${PYTHON_USEDEP}] - >=dev-python/python-neutronclient-7.1.0[${PYTHON_USEDEP}] - >=dev-python/python-glanceclient-2.8.0[${PYTHON_USEDEP}] - >=dev-python/requests-2.25.1[${PYTHON_USEDEP}] - >=dev-python/stevedore-1.20.0[${PYTHON_USEDEP}] - >=dev-python/websockify-0.9.0[${PYTHON_USEDEP}] - >=dev-python/oslo-cache-1.26.0[${PYTHON_USEDEP}] - >=dev-python/oslo-concurrency-4.5.0[${PYTHON_USEDEP}] - >=dev-python/oslo-config-8.6.0[${PYTHON_USEDEP}] - >=dev-python/oslo-context-3.4.0[${PYTHON_USEDEP}] - >=dev-python/oslo-log-4.6.1[${PYTHON_USEDEP}] - >=dev-python/oslo-reports-1.18.0[${PYTHON_USEDEP}] - >=dev-python/oslo-serialization-4.2.0[${PYTHON_USEDEP}] - >=dev-python/oslo-upgradecheck-1.3.0[${PYTHON_USEDEP}] - >=dev-python/oslo-utils-4.12.1[${PYTHON_USEDEP}] - >=dev-python/oslo-db-10.0.0[${PYTHON_USEDEP}] - >=dev-python/oslo-rootwrap-5.8.0[${PYTHON_USEDEP}] - >=dev-python/oslo-messaging-10.3.0[${PYTHON_USEDEP}] - >=dev-python/oslo-policy-3.7.0[${PYTHON_USEDEP}] - >=dev-python/oslo-privsep-2.6.2[${PYTHON_USEDEP}] - >=dev-python/oslo-i18n-5.1.0[${PYTHON_USEDEP}] - >=dev-python/oslo-service-2.8.0[${PYTHON_USEDEP}] - >=dev-python/rfc3986-1.2.0[${PYTHON_USEDEP}] - >=dev-python/oslo-middleware-3.31.0[${PYTHON_USEDEP}] - >=dev-python/psutil-3.2.2[${PYTHON_USEDEP}] - >=dev-python/oslo-versionedobjects-1.35.0[${PYTHON_USEDEP}] - >=dev-python/os-brick-5.2[${PYTHON_USEDEP}] - >=dev-python/os-resource-classes-1.1.0[${PYTHON_USEDEP}] - >=dev-python/os-traits-2.7.0[${PYTHON_USEDEP}] - >=dev-python/os-vif-1.15.2[${PYTHON_USEDEP}] - >=dev-python/castellan-0.16.0[${PYTHON_USEDEP}] - >=dev-python/microversion-parse-0.2.1[${PYTHON_USEDEP}] - >=dev-python/tooz-1.58.0[${PYTHON_USEDEP}] - >=dev-python/cursive-0.2.1[${PYTHON_USEDEP}] - >=dev-python/retrying-1.3.3[${PYTHON_USEDEP}] - >=dev-python/os-service-types-1.7.0[${PYTHON_USEDEP}] - >=dev-python/taskflow-3.8.0[${PYTHON_USEDEP}] - >=dev-python/python-dateutil-2.7.0[${PYTHON_USEDEP}] - >=dev-python/futurist-1.8.0[${PYTHON_USEDEP}] - >=dev-python/openstacksdk-0.35.0[${PYTHON_USEDEP}] - >=dev-python/pyyaml-5.1[${PYTHON_USEDEP}] - - >=dev-python/pypowervm-1.1.15[${PYTHON_USEDEP}] - >=dev-python/zVMCloudConnector-1.3.0[${PYTHON_USEDEP}] - >=dev-python/os-win-5.5.0[${PYTHON_USEDEP}] - >=dev-python/oslo-vmware-3.6.0[${PYTHON_USEDEP}] - - acct-user/nova - acct-group/nova - app-emulation/libvirt[iscsi?] - app-emulation/spice-html5 - dev-python/libvirt-python[${PYTHON_USEDEP}] - dev-python/oslo-limit[${PYTHON_USEDEP}] - net-misc/bridge-utils - sys-apps/iproute2 - sys-fs/sysfsutils - sys-fs/multipath-tools - - compute? ( - app-cdr/cdrtools - sys-fs/dosfstools - app-emulation/qemu - ) - compute-only? ( - >=dev-python/sqlalchemy-1.4.13[${PYTHON_USEDEP}] - ) - iscsi? ( - sys-fs/lsscsi - >=sys-block/open-iscsi-2.0.873-r1 - ) - memcached? ( - net-misc/memcached - >=dev-python/python-memcached-1.58[${PYTHON_USEDEP}] - ) - mysql? ( - >=dev-python/pymysql-0.7.6[${PYTHON_USEDEP}] - >=dev-python/sqlalchemy-1.4.13[${PYTHON_USEDEP}] - ) - novncproxy? ( www-apps/novnc ) - openvswitch? ( net-misc/openvswitch ) - postgres? ( - >=dev-python/psycopg-2.5.0[${PYTHON_USEDEP}] - >=dev-python/sqlalchemy-1.4.13[${PYTHON_USEDEP}] - ) - rabbitmq? ( net-misc/rabbitmq-server ) - sqlite? ( - >=dev-python/sqlalchemy-1.4.13[sqlite,${PYTHON_USEDEP}] - ) -" -DEPEND=" - ${RDEPEND} - app-admin/sudo -" -BDEPEND=" - test? ( - >=dev-python/types-paramiko-0.1.3[${PYTHON_USEDEP}] - >=dev-python/ddt-1.2.1[${PYTHON_USEDEP}] - >=dev-python/fixtures-3.0.0[${PYTHON_USEDEP}] - >=dev-python/mock-3.0.0[${PYTHON_USEDEP}] - dev-python/psycopg:2[${PYTHON_USEDEP}] - >=dev-python/pymysql-0.8.0[${PYTHON_USEDEP}] - >=dev-python/python-barbicanclient-4.5.2[${PYTHON_USEDEP}] - >=dev-python/python-ironicclient-3.0.0[${PYTHON_USEDEP}] - >=dev-python/requests-mock-1.2.0[${PYTHON_USEDEP}] - >=dev-python/oslotest-3.8.0[${PYTHON_USEDEP}] - >=dev-python/osprofiler-1.4.0[${PYTHON_USEDEP}] - >=dev-python/testresources-2.0.0[${PYTHON_USEDEP}] - >=dev-python/testscenarios-0.4[${PYTHON_USEDEP}] - >=dev-python/testtools-2.2.0[${PYTHON_USEDEP}] - >=dev-python/gabbi-1.35.0[${PYTHON_USEDEP}] - >=dev-python/wsgi_intercept-1.7.0[${PYTHON_USEDEP}] - >=dev-python/oslo-vmware-3.6.0[${PYTHON_USEDEP}] - - sys-cluster/placement[${PYTHON_USEDEP}] - ) -" - -REQUIRED_USE=" - !compute-only? ( || ( mysql postgres sqlite ) ) - compute-only? ( compute !rabbitmq !memcached !mysql !postgres !sqlite ) - test? ( mysql ) -" - -distutils_enable_tests pytest - -pkg_setup() { - linux-info_pkg_setup - CONFIG_CHECK_MODULES="BLK_DEV_NBD VHOST_NET IP6_NF_FILTER IP6_NF_IPTABLES IP_NF_TARGET_REJECT \ - IP_NF_MANGLE IP_NF_TARGET_MASQUERADE NF_NAT_IPV4 IP_NF_FILTER IP_NF_IPTABLES \ - NF_CONNTRACK_IPV4 NF_DEFRAG_IPV4 NF_NAT_IPV4 NF_NAT NF_CONNTRACK NETFILTER_XTABLES \ - ISCSI_TCP SCSI_DH DM_MULTIPATH DM_SNAPSHOT" - if linux_config_exists; then - for module in ${CONFIG_CHECK_MODULES}; do - linux_chkconfig_present ${module} || ewarn "${module} needs to be enabled in kernel" - done - fi -} - -python_prepare_all() { - rm nova/tests/unit/test_hacking.py || die - sed -i '/^hacking/d' test-requirements.txt || die - distutils-r1_python_prepare_all -} - -python_compile_all() { - oslo-config-generator --config-file=etc/nova/nova-config-generator.conf || die - oslopolicy-sample-generator --config-file=etc/nova/nova-policy-generator.conf || die -} - -python_install_all() { - distutils-r1_python_install_all - - for svc in api compute conductor consoleauth network novncproxy scheduler spicehtml5proxy xvpvncproxy; do - newinitd "${FILESDIR}/nova.initd" "nova-${svc}" - done - - for svc in api compute conductor metadata-api novncproxy os-compute-api scheduler; do - systemd_dounit "${FILESDIR}/openstack-nova-${svc}.service" - done - - diropts -m 0750 -o nova -g qemu - dodir /var/log/nova /var/lib/nova/instances - diropts -m 0750 -o nova -g nova - - insinto /etc/nova - insopts -m 0640 -o nova -g nova - - doins etc/nova/nova.conf.sample - doins "${FILESDIR}/nova-compute.conf" - dodoc etc/nova/README*.txt - rm etc/nova/README*.txt || die - doins "${S}/etc/nova/"* - doins etc/nova/policy.yaml.sample - # rootwrap filters - insopts -m 0644 - insinto /etc/nova/rootwrap.d - doins etc/nova/rootwrap.d/compute.filters - - # add sudoers definitions for user nova - insinto /etc/sudoers.d/ - insopts -m 0600 -o root -g root - doins "${FILESDIR}/nova-sudoers" - - newbashcomp tools/nova-manage.bash_completion nova-manage - - newtmpfiles "${FILESDIR}/nova.tmpfile" nova.conf - - insinto /etc/logrotate.d - newins "${FILESDIR}/nova.logrotate" nova.conf - - if use iscsi ; then - # Install udev rules for handle iscsi disk with right links under /dev - udev_newrules "${FILESDIR}/openstack-scsi-disk.rules" 60-openstack-scsi-disk.rules - - insinto /etc/nova/ - doins "${FILESDIR}/scsi-openscsi-link.sh" - fi - rm -r "${ED}/usr/etc" || die -} - -pkg_postinst() { - if use iscsi ; then - elog "iscsid needs to be running if you want cinder to connect" - fi -} diff --git a/sys-cluster/nova/nova-25.0.0.ebuild b/sys-cluster/nova/nova-25.0.0.ebuild index 3ae0f19aaa..571b15f729 100644 --- a/sys-cluster/nova/nova-25.0.0.ebuild +++ b/sys-cluster/nova/nova-25.0.0.ebuild @@ -245,6 +245,8 @@ python_install_all() { } pkg_postinst() { + tmpfiles_process nova.conf + if use iscsi ; then elog "iscsid needs to be running if you want cinder to connect" fi diff --git a/sys-cluster/otf2/files/otf2-2.3-respect-flags.patch b/sys-cluster/otf2/files/otf2-2.3-respect-flags.patch new file mode 100644 index 0000000000..ff1db4dcdf --- /dev/null +++ b/sys-cluster/otf2/files/otf2-2.3-respect-flags.patch @@ -0,0 +1,359 @@ +--- a/build-config/common/platforms/compiler-frontend-clang ++++ b/build-config/common/platforms/compiler-frontend-clang +@@ -1,12 +1,12 @@ +-CC_FOR_BUILD=clang +-CXX_FOR_BUILD=clang++ +-F77_FOR_BUILD=flang +-FC_FOR_BUILD=flang ++CC_FOR_BUILD="$(CC)" ++CXX_FOR_BUILD="$(CXX)" ++F77_FOR_BUILD="$(F77)" ++FC_FOR_BUILD="$(FC)" + +-#CPPFLAGS_FOR_BUILD= +-#CFLAGS_FOR_BUILD= +-#CXXFLAGS_FOR_BUILD= +-#FFLAGS_FOR_BUILD= +-#FCFLAGS_FOR_BUILD= +-#LDFLAGS_FOR_BUILD= ++CPPFLAGS_FOR_BUILD="$(CPPFLAGS)" ++CFLAGS_FOR_BUILD="$(CFLAGS)" ++CXXFLAGS_FOR_BUILD="$(CXXFLAGS)" ++FFLAGS_FOR_BUILD="$(FFLAGS)" ++FCFLAGS_FOR_BUILD="$(FCFLAGS)" ++LDFLAGS_FOR_BUILD="$(LDFLAGS)" + #LIBS_FOR_BUILD= +--- a/build-config/common/platforms/compiler-frontend-gcc ++++ b/build-config/common/platforms/compiler-frontend-gcc +@@ -1,12 +1,12 @@ +-CC_FOR_BUILD=gcc +-CXX_FOR_BUILD=g++ +-F77_FOR_BUILD=gfortran +-FC_FOR_BUILD=gfortran ++CC_FOR_BUILD="$(CC)" ++CXX_FOR_BUILD="$(CXX)" ++F77_FOR_BUILD="$(F77)" ++FC_FOR_BUILD="$(FC)" + +-#CPPFLAGS_FOR_BUILD= +-#CFLAGS_FOR_BUILD= +-#CXXFLAGS_FOR_BUILD= +-#FFLAGS_FOR_BUILD= +-#FCFLAGS_FOR_BUILD= +-#LDFLAGS_FOR_BUILD= ++CPPFLAGS_FOR_BUILD="$(CPPFLAGS)" ++CFLAGS_FOR_BUILD="$(CFLAGS)" ++CXXFLAGS_FOR_BUILD="$(CXXFLAGS)" ++FFLAGS_FOR_BUILD="$(FFLAGS)" ++FCFLAGS_FOR_BUILD="$(FCFLAGS)" ++LDFLAGS_FOR_BUILD="$(LDFLAGS)" + #LIBS_FOR_BUILD= +--- a/build-config/common/platforms/compiler-mpi-mpich ++++ b/build-config/common/platforms/compiler-mpi-mpich +@@ -1,10 +1,10 @@ +-MPICC=mpicc -cc={CC} ++#MPICC=mpicc -cc={CC} + #MPI_CFLAGS +-MPICXX=mpicxx -CC={CXX} ++#MPICXX=mpicxx -CC={CXX} + #MPI_CXXFLAGS= +-MPIF77=mpif77 -f77={F77} ++#MPIF77=mpif77 -f77={F77} + #MPI_FFLAGS= +-MPIFC=mpif90 -f90={FC} ++#MPIFC=mpif90 -f90={FC} + #MPI_FCFLAGS= + #MPI_CPPFLAGS= + #MPI_LDFLAGS= +--- a/build-config/common/platforms/compiler-mpi-mpich2 ++++ b/build-config/common/platforms/compiler-mpi-mpich2 +@@ -1,12 +1,12 @@ +-MPICC=mpicc -cc={CC} ++#MPICC=mpicc -cc={CC} + #MPI_CFLAGS +-MPICXX=mpicxx -cxx={CXX} ++#MPICXX=mpicxx -cxx={CXX} + #MPI_CXXFLAGS= +-MPIF77=mpif77 -f77={F77} ++#MPIF77=mpif77 -f77={F77} + #MPI_FFLAGS= +-MPIFC=mpif90 -f90={FC} ++#MPIFC=mpif90 -f90={FC} + #MPI_FCFLAGS= +-MPI_CPPFLAGS=-DMPICH_SKIP_MPICXX ++MPI_CPPFLAGS="${MPI_CPPFLAGS} -DMPICH_SKIP_MPICXX" + #MPI_LDFLAGS= + #MPI_LIBS= + +--- a/build-config/common/platforms/compiler-mpi-mpich3 ++++ b/build-config/common/platforms/compiler-mpi-mpich3 +@@ -1,12 +1,12 @@ +-MPICC=mpicc -cc={CC} ++#MPICC=mpicc -cc={CC} + #MPI_CFLAGS +-MPICXX=mpicxx -cxx={CXX} ++#MPICXX=mpicxx -cxx={CXX} + #MPI_CXXFLAGS= +-MPIF77=mpif77 -fc={F77} ++#MPIF77=mpif77 -fc={F77} + #MPI_FFLAGS= +-MPIFC=mpif90 -fc={FC} ++#MPIFC=mpif90 -fc={FC} + #MPI_FCFLAGS= +-MPI_CPPFLAGS=-DMPICH_SKIP_MPICXX ++MPI_CPPFLAGS="${MPI_CPPFLAGS} -DMPICH_SKIP_MPICXX" + #MPI_LDFLAGS= + #MPI_LIBS= + +--- a/build-config/common/platforms/compiler-mpi-openmpi ++++ b/build-config/common/platforms/compiler-mpi-openmpi +@@ -1,10 +1,10 @@ +-MPICC=mpicc ++#MPICC=mpicc + #MPI_CFLAGS +-MPICXX=mpicxx ++#MPICXX=mpicxx + #MPI_CXXFLAGS= +-MPIF77=mpif77 ++#MPIF77=mpif77 + #MPI_FFLAGS= +-MPIFC=mpif90 ++#MPIFC=mpif90 + #MPI_FCFLAGS= + #MPI_CPPFLAGS= + #MPI_LDFLAGS= +--- a/build-config/common/platforms/compiler-mpi-openmpi3 ++++ b/build-config/common/platforms/compiler-mpi-openmpi3 +@@ -1,10 +1,10 @@ +-MPICC=mpicc ++#MPICC=mpicc + #MPI_CFLAGS +-MPICXX=mpicxx ++#MPICXX=mpicxx + #MPI_CXXFLAGS= +-MPIF77=mpif77 ++#MPIF77=mpif77 + #MPI_FFLAGS= +-MPIFC=mpif90 ++#MPIFC=mpif90 + #MPI_FCFLAGS= + #MPI_CPPFLAGS= + #MPI_LDFLAGS= +--- a/build-config/common/platforms/compiler-nocross-clang ++++ b/build-config/common/platforms/compiler-nocross-clang +@@ -1,7 +1,7 @@ +-CC=clang +-CXX=clang++ +-F77=flang +-FC=flang ++#CC=clang ++#CXX=clang++ ++#F77=flang ++#FC=flang + + #CPPFLAGS= + #CFLAGS= +--- a/build-config/common/platforms/compiler-nocross-gcc ++++ b/build-config/common/platforms/compiler-nocross-gcc +@@ -1,7 +1,7 @@ +-CC=gcc +-CXX=g++ +-F77=gfortran +-FC=gfortran ++#CC=gcc ++#CXX=g++ ++#F77=gfortran ++#FC=gfortran + + #CPPFLAGS= + #CFLAGS= +--- a/build-config/common/platforms/platform-backend-linux ++++ b/build-config/common/platforms/platform-backend-linux +@@ -1,7 +1,7 @@ +-CC=gcc +-CXX=g++ +-F77=gfortran +-FC=gfortran ++#CC=gcc ++#CXX=g++ ++#F77=gfortran ++#FC=gfortran + + #CPPFLAGS= + #CFLAGS= +--- a/build-config/common/platforms/platform-backend-user-provided ++++ b/build-config/common/platforms/platform-backend-user-provided +@@ -1,7 +1,7 @@ +-CC= +-CXX= +-F77= +-FC= ++#CC= ++#CXX= ++#F77= ++#FC= + + #CPPFLAGS= + #CFLAGS= +--- a/build-config/common/platforms/platform-frontend-linux ++++ b/build-config/common/platforms/platform-frontend-linux +@@ -1,14 +1,14 @@ + # not a cross compile platform, frontend ignored + +-#CC_FOR_BUILD= +-#CXX_FOR_BUILD= +-#F77_FOR_BUILD= +-#FC_FOR_BUILD= ++#CC_FOR_BUILD="$(CC)" ++#CXX_FOR_BUILD="$(CXX)" ++#F77_FOR_BUILD="$(F77)" ++#FC_FOR_BUILD="$(FC)" + +-#CPPFLAGS_FOR_BUILD= +-#CFLAGS_FOR_BUILD= +-#CXXFLAGS_FOR_BUILD= +-#FFLAGS_FOR_BUILD= +-#FCFLAGS_FOR_BUILD= +-#LDFLAGS_FOR_BUILD= ++#CPPFLAGS_FOR_BUILD="$(CPPFLAGS)" ++#CFLAGS_FOR_BUILD="$(CFLAGS)" ++#CXXFLAGS_FOR_BUILD="$(CXXFLAGS)" ++#FFLAGS_FOR_BUILD="$(FFLAGS)" ++#FCFLAGS_FOR_BUILD="$(FCFLAGS)" ++#LDFLAGS_FOR_BUILD="$(LDFLAGS)" + #LIBS_FOR_BUILD= +--- a/build-config/common/platforms/platform-frontend-user-provided ++++ b/build-config/common/platforms/platform-frontend-user-provided +@@ -1,12 +1,12 @@ +-CC_FOR_BUILD= +-CXX_FOR_BUILD= +-F77_FOR_BUILD= +-FC_FOR_BUILD= ++CC_FOR_BUILD="$(CC)" ++CXX_FOR_BUILD="$(CXX)" ++F77_FOR_BUILD="$(F77)" ++FC_FOR_BUILD="$(FC)" + +-CPPFLAGS_FOR_BUILD= +-CFLAGS_FOR_BUILD= +-CXXFLAGS_FOR_BUILD= +-FFLAGS_FOR_BUILD= +-FCFLAGS_FOR_BUILD= +-LDFLAGS_FOR_BUILD= +-LIBS_FOR_BUILD= ++CPPFLAGS_FOR_BUILD="$(CPPFLAGS)" ++CFLAGS_FOR_BUILD="$(CFLAGS)" ++CXXFLAGS_FOR_BUILD="$(CXXFLAGS)" ++FFLAGS_FOR_BUILD="$(FFLAGS)" ++FCFLAGS_FOR_BUILD="$(FCFLAGS)" ++LDFLAGS_FOR_BUILD="$(LDFLAGS)" ++#LIBS_FOR_BUILD= +--- a/build-config/common/platforms/platform-mpi-user-provided ++++ b/build-config/common/platforms/platform-mpi-user-provided +@@ -1,7 +1,7 @@ +-MPICC= +-MPICXX= +-MPIF77= +-MPIFC= ++#MPICC= ++#MPICXX= ++#MPIF77= ++#MPIFC= + + #MPI_LDFLAGS= + #MPI_LIBS= +--- a/doc/examples/Makefile ++++ b/doc/examples/Makefile +@@ -37,78 +37,78 @@ + pthread: $(ALL_PTHREAD) + + otf2_reader_example.o: otf2_reader_example.c +- gcc -std=c99 `otf2-config --cflags` \ ++ $(CC) -fPIC -std=c99 `otf2-config --cflags` \ + -c otf2_reader_example.c \ + -o otf2_reader_example.o + + otf2_reader_example: otf2_reader_example.o +- gcc otf2_reader_example.o \ ++ $(CC) -fPIE otf2_reader_example.o \ + `otf2-config --ldflags` \ + `otf2-config --libs` \ + -o otf2_reader_example + + otf2_writer_example.o: otf2_writer_example.c +- gcc -std=c99 `otf2-config --cflags` \ ++ $(CC) -fPIC -std=c99 `otf2-config --cflags` \ + -c otf2_writer_example.c \ + -o otf2_writer_example.o + + otf2_writer_example: otf2_writer_example.o +- gcc otf2_writer_example.o \ ++ $(CC) -fPIE otf2_writer_example.o \ + `otf2-config --ldflags` \ + `otf2-config --libs` \ + -o otf2_writer_example + + otf2_mpi_reader_example.o: otf2_mpi_reader_example.c +- mpicc -std=c99 `otf2-config --cflags` \ ++ $(MPICC) -fPIC -std=c99 `otf2-config --cflags` \ + -c otf2_mpi_reader_example.c \ + -o otf2_mpi_reader_example.o + + otf2_mpi_reader_example: otf2_mpi_reader_example.o +- mpicc otf2_mpi_reader_example.o \ ++ $(MPICC) -fPIE otf2_mpi_reader_example.o \ + `otf2-config --ldflags` \ + `otf2-config --libs` \ + -o otf2_mpi_reader_example + + otf2_mpi_reader_example_cc.o: otf2_mpi_reader_example.cc +- mpic++ `otf2-config --cflags` \ ++ $(MPICXX) -fPIC `otf2-config --cflags` \ + -c otf2_mpi_reader_example.cc \ + -o otf2_mpi_reader_example_cc.o + + otf2_mpi_reader_example_cc: otf2_mpi_reader_example_cc.o +- mpic++ otf2_mpi_reader_example_cc.o \ ++ $(MPICXX) -fPIE otf2_mpi_reader_example_cc.o \ + `otf2-config --ldflags` \ + `otf2-config --libs` \ + -o otf2_mpi_reader_example_cc + + otf2_mpi_writer_example.o: otf2_mpi_writer_example.c +- mpicc -std=c99 `otf2-config --cflags` \ ++ $(MPICC) -fPIC -std=c99 `otf2-config --cflags` \ + -c otf2_mpi_writer_example.c \ + -o otf2_mpi_writer_example.o + + otf2_mpi_writer_example: otf2_mpi_writer_example.o +- mpicc otf2_mpi_writer_example.o \ ++ $(MPICC) -fPIE otf2_mpi_writer_example.o \ + `otf2-config --ldflags` \ + `otf2-config --libs` \ + -o otf2_mpi_writer_example + + otf2_openmp_writer_example.o: otf2_openmp_writer_example.c +- gcc -std=c99 -fopenmp `otf2-config --cflags` \ ++ $(CC) -fPIC -std=c99 -fopenmp `otf2-config --cflags` \ + -c otf2_openmp_writer_example.c \ + -o otf2_openmp_writer_example.o + + otf2_openmp_writer_example: otf2_openmp_writer_example.o +- gcc -fopenmp otf2_openmp_writer_example.o \ ++ $(CC) -fPIE -fopenmp otf2_openmp_writer_example.o \ + `otf2-config --ldflags` \ + `otf2-config --libs` \ + -o otf2_openmp_writer_example + + otf2_pthread_writer_example.o: otf2_pthread_writer_example.c +- gcc -std=c99 -pthread `otf2-config --cflags` \ ++ $(CC) -fPIC -std=c99 -pthread `otf2-config --cflags` \ + -c otf2_pthread_writer_example.c \ + -o otf2_pthread_writer_example.o + + otf2_pthread_writer_example: otf2_pthread_writer_example.o +- gcc -pthread otf2_pthread_writer_example.o \ ++ $(CC) -fPIE -pthread otf2_pthread_writer_example.o \ + `otf2-config --ldflags` \ + `otf2-config --libs` \ + -o otf2_pthread_writer_example diff --git a/sys-cluster/otf2/otf2-2.3-r1.ebuild b/sys-cluster/otf2/otf2-2.3-r2.ebuild similarity index 74% rename from sys-cluster/otf2/otf2-2.3-r1.ebuild rename to sys-cluster/otf2/otf2-2.3-r2.ebuild index c32248badc..5138fb66a9 100644 --- a/sys-cluster/otf2/otf2-2.3-r1.ebuild +++ b/sys-cluster/otf2/otf2-2.3-r2.ebuild @@ -27,9 +27,22 @@ DEPEND="${RDEPEND}" #RESTRICT="!test? ( test )" RESTRICT="test" #tests are failing REQUIRED_USE="${PYTHON_REQUIRED_USE}" +PATCHES=( "${FILESDIR}/${P}-respect-flags.patch" ) src_configure() { - tc-export CC + tc-export CC CXX FC F77 CPP + + export MPICC=/usr/bin/mpicc + export MPICXX=/usr/bin/mpicxx + export MPIF77=/usr/bin/mpif77 + export MPIFC=/usr/bin/mpifc + + export MPI_CFLAGS="${CFLAGS}" + export MPI_CXXFLAGS="${CXXFLAGS}" + export MPI_CPPFLAGS="${CPPFLAGS}" + export MPI_F77LAGS="${F77FLAGS}" + export MPI_FCLAGS="${FCFLAGS}" + export MPI_LDFLAGS="${LDFLAGS}" local myconf=( --disable-platform-mic diff --git a/sys-cluster/placement/files/placement.tmpfile b/sys-cluster/placement/files/placement.tmpfile new file mode 100644 index 0000000000..2dec8cf6ba --- /dev/null +++ b/sys-cluster/placement/files/placement.tmpfile @@ -0,0 +1,2 @@ +d /var/lib/placement 0750 placement placement - +d /var/log/placement 0750 placement placement - diff --git a/sys-cluster/placement/placement-7.0.0.ebuild b/sys-cluster/placement/placement-7.0.0.ebuild index 483cb33516..513cee6afd 100644 --- a/sys-cluster/placement/placement-7.0.0.ebuild +++ b/sys-cluster/placement/placement-7.0.0.ebuild @@ -95,4 +95,11 @@ python_install_all() { dobin tools/postgresql-migrate-db.sh newtmpfiles "${FILESDIR}/placement.tmpfile" placement.conf + + insinto /etc/logrotate.d + newins "${FILESDIR}/placement.logrotate" placement +} + +pkg_postinst() { + tmpfiles_process placement.conf }