From 93a93e9a3b53c1a73142a305ea1f8136846942ee Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 22 Dec 2021 14:08:05 +0000 Subject: gentoo resync : 22.12.2021 --- dev-ml/logs/Manifest | 2 +- dev-ml/logs/logs-0.7.0-r1.ebuild | 68 ++++++++++++++++++++++++++++++++++++++++ dev-ml/logs/logs-0.7.0.ebuild | 66 -------------------------------------- 3 files changed, 69 insertions(+), 67 deletions(-) create mode 100644 dev-ml/logs/logs-0.7.0-r1.ebuild delete mode 100644 dev-ml/logs/logs-0.7.0.ebuild (limited to 'dev-ml/logs') diff --git a/dev-ml/logs/Manifest b/dev-ml/logs/Manifest index 37ebd57d9113..954d68db560d 100644 --- a/dev-ml/logs/Manifest +++ b/dev-ml/logs/Manifest @@ -1,3 +1,3 @@ DIST logs-0.7.0.tbz 18458 BLAKE2B 091d1778166af0b67e17e932a775a73e31e5d167b94b1b378063a7112c21bf1ac935c7e51fe29bcc0121cd5e60ea46ed3c7381f4db5df400b463feedfbe89663 SHA512 657f66eeaf5788947a3ff4b2a179f7e192ad4ce086fc8968286066d4b83af476523b3befce50ee58abf2d9b8c8dc65573ba8ed62f9c5e7933db29a7fb769646a -EBUILD logs-0.7.0.ebuild 1381 BLAKE2B fd03c86410c3a372dd81e8eb98fd247ef69d48b20721a6f1444faf982b4f587372ff3d172e90394cd91171ed593f753b64a0c5d1970299a6324abf44429beb81 SHA512 9d6a5ef5aa12eddfa45e86203f4c82f79dd69e2929e506344583e775ddbb07bf88ded701ce16b72b0482024395762e77e53fca18afa4d9873b774ec120e1c212 +EBUILD logs-0.7.0-r1.ebuild 1389 BLAKE2B 6e6e9d777b186683bccc06ef41cf866d13bc2a77574490bd4d75c7d40cae13ea687b6343a8a87f8b557586c4a00d87f28969bc3a558021d256c21ce3698545bb SHA512 5d70fb38482d30f0a57c5afd50e9561248aeb2c053850d70c784878a7a3abdf5b347c284a6a52fdb616e694595aae517032089b78f84974f4f81f68f3592123f MISC metadata.xml 587 BLAKE2B 9280d7927d1cc4fdb3e48feda36a486cf45a8cfc4da9248d3b4908958c6a4ce01e12e76ec5c32500c8e5d7ab7f228c12d47e44fddcbbbfa6e731ee14e88314c1 SHA512 a3ef80fa82dedd15f554eb59fe0da20d004eb0e0a5ca9bc110c4c0d0e466037239bd460bc303111143ca00256f28069195f17038e5eef3d5da9cc63492c56a69 diff --git a/dev-ml/logs/logs-0.7.0-r1.ebuild b/dev-ml/logs/logs-0.7.0-r1.ebuild new file mode 100644 index 000000000000..e422a0867153 --- /dev/null +++ b/dev-ml/logs/logs-0.7.0-r1.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit findlib + +DESCRIPTION="Logging infrastructure for OCaml" +HOMEPAGE="https://erratique.ch/software/logs https://github.com/dbuenzli/logs" +SRC_URI="https://erratique.ch/software/logs/releases/${P}.tbz" + +LICENSE="ISC" +SLOT="0/${PV}" +KEYWORDS="amd64 arm arm64 ppc ppc64 x86" +IUSE="+fmt cli +lwt test" +RESTRICT="!test? ( test )" + +RDEPEND=" + dev-ml/result:=[ocamlopt] + dev-lang/ocaml:=[ocamlopt] + fmt? ( dev-ml/fmt:= ) + cli? ( dev-ml/cmdliner:=[ocamlopt] ) + lwt? ( dev-ml/lwt:= ) +" +DEPEND="${RDEPEND}" +BDEPEND=" + dev-ml/findlib + dev-ml/ocamlbuild + dev-ml/opam-installer + dev-ml/topkg + test? ( dev-ml/mtime ) +" + +src_prepare() { + default + sed -i \ + -e "/test\/test_fmt/d" \ + -e "/test\/test_formatter/d" \ + -e "/test\/tool/d" \ + -e "/test\/test_lwt/d" \ + pkg/pkg.ml \ + || die +} + +src_compile() { + ocaml pkg/pkg.ml build \ + --with-js_of_ocaml false \ + --with-fmt $(usex fmt true false) \ + --with-cmdliner $(usex cli true false) \ + --with-lwt $(usex fmt true false) \ + --tests $(usex test true false) \ + --with-base-threads true \ + || die +} + +src_test() { + ocaml pkg/pkg.ml test || die +} + +src_install() { + opam-installer -i \ + --prefix="${ED}/usr" \ + --libdir="${D}/$(ocamlc -where)" \ + --docdir="${ED}/usr/share/doc/${PF}" \ + ${PN}.install || die + + einstalldocs +} diff --git a/dev-ml/logs/logs-0.7.0.ebuild b/dev-ml/logs/logs-0.7.0.ebuild deleted file mode 100644 index 86e91a5d29da..000000000000 --- a/dev-ml/logs/logs-0.7.0.ebuild +++ /dev/null @@ -1,66 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit findlib - -DESCRIPTION="Logging infrastructure for OCaml" -HOMEPAGE="https://erratique.ch/software/logs https://github.com/dbuenzli/logs" -SRC_URI="https://erratique.ch/software/logs/releases/${P}.tbz" - -LICENSE="ISC" -SLOT="0/${PV}" -KEYWORDS="amd64 arm arm64 ppc ppc64 x86" -IUSE="+fmt cli +lwt test" -RESTRICT="!test? ( test )" - -RDEPEND=" - dev-ml/result:=[ocamlopt] - dev-lang/ocaml:=[ocamlopt] - fmt? ( dev-ml/fmt:= ) - cli? ( dev-ml/cmdliner:=[ocamlopt] ) - lwt? ( dev-ml/lwt:= ) -" -DEPEND="${RDEPEND} - dev-ml/opam - dev-ml/topkg - dev-ml/ocamlbuild - dev-ml/findlib - test? ( dev-ml/mtime ) -" - -src_prepare() { - default - sed -i \ - -e "/test\/test_fmt/d" \ - -e "/test\/test_formatter/d" \ - -e "/test\/tool/d" \ - -e "/test\/test_lwt/d" \ - pkg/pkg.ml \ - || die -} - -src_compile() { - ocaml pkg/pkg.ml build \ - --with-js_of_ocaml false \ - --with-fmt $(usex fmt true false) \ - --with-cmdliner $(usex cli true false) \ - --with-lwt $(usex fmt true false) \ - --tests $(usex test true false) \ - --with-base-threads true \ - || die -} - -src_test() { - ocaml pkg/pkg.ml test || die -} - -src_install() { - opam-installer -i \ - --prefix="${ED}/usr" \ - --libdir="${D}/$(ocamlc -where)" \ - --docdir="${ED}/usr/share/doc/${PF}" \ - ${PN}.install || die - dodoc CHANGES.md README.md -} -- cgit v1.2.3