all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: pukkamustard <pukkamustard@posteo.net>
To: Maxime Devos <maximedevos@telenet.be>
Cc: 47768@debbugs.gnu.org
Subject: [bug#47768] [PATCH 07/37] gnu: Add ocaml-gen.
Date: Tue, 20 Apr 2021 06:11:29 +0000	[thread overview]
Message-ID: <8635vlfpgy.fsf@posteo.net> (raw)
In-Reply-To: <561883a08955c370309c5149812950d6387d5df5.camel@telenet.be>

[-- Attachment #1: Type: text/plain, Size: 1253 bytes --]


Maxime Devos <maximedevos@telenet.be> writes:

>> -(define-public ocaml4.07-gen
>> +(define-public ocaml-gen
>>    [...]
>>     `(#:tests? #f; no tests
>> -       #:package "gen"
>> -       #:ocaml ,ocaml-4.07
>> -       #:findlib ,ocaml4.07-findlib
>> -       #:dune ,ocaml4.07-dune))
>> +       #:package "gen"))
>>      (propagated-inputs
>> -     `(("ocaml-odoc" ,(package-with-ocaml4.07 
>> ocaml4.07-odoc))))
>> +     `(("ocaml-odoc" ,ocaml-odoc)))
>>      (native-inputs
>> -     `(("ocaml-qtest" ,(package-with-ocaml4.07 ocaml-qtest))
>> -       ("ocaml-qcheck" ,(package-with-ocaml4.07 
>> ocaml-qcheck))))
>> +     `(("ocaml-qtest" ,ocaml-qtest)
>> +       ("ocaml-qcheck" ,ocaml-qcheck)))
>
> I'm confused what's going on here.
> ocaml-qtest is for unit tests 
> (https://opam.ocaml.org/packages/qtest/qtest.2.1.0/),
> but for this package we have ‘#:tests? #f; no tests?’?

Excellent catch! There are in fact tests and they also pass. 
Please find
attached updated patch that enables tests (I can also resend the 
entire
patch series as v2 if that is easier).

The `#tests? #f` was introduced with commit
5a4003f453ee8afdfe21d959e105250bfc876063 in 2019 and I blindly 
copied it.

-pukkamustard


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-gnu-Add-ocaml-gen.patch --]
[-- Type: text/x-patch, Size: 2305 bytes --]

From 3036a81329f65c6c9ffe2117744590a7e52aee01 Mon Sep 17 00:00:00 2001
From: pukkamustard <pukkamustard@posteo.net>
Date: Fri, 9 Apr 2021 14:59:36 +0200
Subject: [PATCH] gnu: Add ocaml-gen.

* gnu/packages/ocaml.scm (ocaml-gen): New variable.
  (ocaml4.07-gen): Remove variable.
  (ocaml4.07-sedlex): Replace ocaml4.07-gen with ocaml-gen.
---
 gnu/packages/ocaml.scm | 19 ++++++++-----------
 1 file changed, 8 insertions(+), 11 deletions(-)

diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index 503913c8fd..1acde9c0ee 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -2508,9 +2508,9 @@ format.  It can process XML documents without a complete in-memory
 representation of the data.")
     (license license:isc)))
 
-(define-public ocaml4.07-gen
+(define-public ocaml-gen
   (package
-    (name "ocaml4.07-gen")
+    (name "ocaml-gen")
     (version "0.5.3")
     (source (origin
               (method git-fetch)
@@ -2523,16 +2523,13 @@ representation of the data.")
                 "1jzrs0nsdk55annkd2zrk5svi61i3b1nk6qyqdc2y26vnzqvzfg8"))))
     (build-system dune-build-system)
     (arguments
-     `(#:tests? #f; no tests
-       #:package "gen"
-       #:ocaml ,ocaml-4.07
-       #:findlib ,ocaml4.07-findlib
-       #:dune ,ocaml4.07-dune))
+     `(#:package "gen"
+       #:test-target "."))
     (propagated-inputs
-     `(("ocaml-odoc" ,(package-with-ocaml4.07 ocaml4.07-odoc))))
+     `(("ocaml-odoc" ,ocaml-odoc)))
     (native-inputs
-     `(("ocaml-qtest" ,(package-with-ocaml4.07 ocaml-qtest))
-       ("ocaml-qcheck" ,(package-with-ocaml4.07 ocaml-qcheck))))
+     `(("ocaml-qtest" ,ocaml-qtest)
+       ("ocaml-qcheck" ,ocaml-qcheck)))
     (home-page "https://github.com/c-cube/gen/")
     (synopsis "Iterators for OCaml, both restartable and consumable")
     (description "Gen implements iterators of OCaml, that are both restartable
@@ -2577,7 +2574,7 @@ and consumable.")
     (native-inputs
      `(("ocamlbuild" ,(package-with-ocaml4.07 ocamlbuild))))
     (propagated-inputs
-     `(("ocaml-gen" ,ocaml4.07-gen)
+     `(("ocaml-gen" ,(package-with-ocaml4.07 ocaml-gen))
        ("ocaml-ppx-tools-versioned"
         ,(package-with-ocaml4.07 ocaml-ppx-tools-versioned))
        ("ocaml-uchar" ,(package-with-ocaml4.07 ocaml-uchar))))
-- 
2.31.1


  reply	other threads:[~2021-04-20  6:20 UTC|newest]

Thread overview: 141+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-14  9:08 [bug#47768] [PATCH 00/37] Assorted OCaml patches pukkamustard
2021-04-14  9:12 ` [bug#47768] [PATCH 01/37] gnu: ocaml-integers: Update to 0.4.0 pukkamustard
2021-04-14  9:12   ` [bug#47768] [PATCH 02/37] gnu: ocaml-ctypes: Update to 0.18.0 pukkamustard
2021-04-14  9:12   ` [bug#47768] [PATCH 03/37] gnu: ocaml-ctypes: Make ocaml-integers a propagated input pukkamustard
2021-04-14  9:12   ` [bug#47768] [PATCH 04/37] gnu: ocaml-lwt: Make libev " pukkamustard
2021-04-14 18:50     ` Maxime Devos
2021-04-20  5:54       ` pukkamustard
2021-04-14  9:12   ` [bug#47768] [PATCH 05/37] gnu: ocaml-lwt: Update to 5.4.0 pukkamustard
2021-04-14  9:12   ` [bug#47768] [PATCH 06/37] gnu: ocaml4.07-gen: Update to 0.5.3 pukkamustard
2021-04-14  9:12   ` [bug#47768] [PATCH 07/37] gnu: Add ocaml-gen pukkamustard
2021-04-14 18:54     ` Maxime Devos
2021-04-20  6:11       ` pukkamustard [this message]
2021-04-21 11:29         ` Maxime Devos
2021-04-14  9:12   ` [bug#47768] [PATCH 08/37] gnu: Add ocaml-stdio pukkamustard
2021-04-14  9:12   ` [bug#47768] [PATCH 09/37] gnu: Add ocaml-compiler-libs pukkamustard
2021-04-14  9:12   ` [bug#47768] [PATCH 10/37] gnu: ocaml-migrate-parsetree: Update to 1.8.0 pukkamustard
2021-04-14  9:12   ` [bug#47768] [PATCH 11/37] gnu: ocaml-migrate-parsetree: Update to 2.1.0 pukkamustard
2021-04-14  9:12   ` [bug#47768] [PATCH 12/37] gnu: Add ocaml-ppxlib pukkamustard
2021-04-14  9:12   ` [bug#47768] [PATCH 13/37] gnu: Add ocaml-sedlex pukkamustard
2021-04-14  9:12   ` [bug#47768] [PATCH 14/37] gnu: Add ocaml-uunf pukkamustard
2021-04-14  9:12   ` [bug#47768] [PATCH 15/37] gnu: Add ocaml-ppx-sexp-conv pukkamustard
2021-04-14  9:12   ` [bug#47768] [PATCH 16/37] gnu: Add ocaml-bigstringaf pukkamustard
2021-04-14  9:12   ` [bug#47768] [PATCH 17/37] gnu: Add ocaml-ppx-let pukkamustard
2021-04-14  9:12   ` [bug#47768] [PATCH 18/37] gnu: Add ocaml-syntax-shims pukkamustard
2021-04-14  9:12   ` [bug#47768] [PATCH 19/37] gnu: Add ocaml-ppx-compare pukkamustard
2021-04-14  9:12   ` [bug#47768] [PATCH 20/37] gnu: Add ocaml-ppx-here pukkamustard
2021-04-14  9:12   ` [bug#47768] [PATCH 21/37] gnu: Add ocaml-ppx-cold pukkamustard
2021-04-14  9:12   ` [bug#47768] [PATCH 22/37] gnu: Add ocaml-ppx-assert pukkamustard
2021-04-14  9:12   ` [bug#47768] [PATCH 23/37] gnu: Add ocaml-ppx-custom-printf pukkamustard
2021-04-14  9:12   ` [bug#47768] [PATCH 24/37] gnu: Add ocaml-ppx-hash pukkamustard
2021-04-14  9:12   ` [bug#47768] [PATCH 25/37] gnu: Add ocaml-ppx-enumerate pukkamustard
2021-04-14  9:12   ` [bug#47768] [PATCH 26/37] gnu: Add ocaml-ppx-js-style pukkamustard
2021-04-14  9:12   ` [bug#47768] [PATCH 27/37] gnu: Add ocaml-ppx-base pukkamustard
2021-04-14  9:12   ` [bug#47768] [PATCH 28/37] gnu: Add ocaml-fieldslib pukkamustard
2021-04-14  9:12   ` [bug#47768] [PATCH 29/37] gnu: Add ocaml-ppx-fields-conv pukkamustard
2021-04-14  9:12   ` [bug#47768] [PATCH 30/37] gnu: Add ocaml-ppx-optcomp pukkamustard
2021-04-14  9:12   ` [bug#47768] [PATCH 31/37] gnu: Add ocaml-ppx-optional pukkamustard
2021-04-14  9:12   ` [bug#47768] [PATCH 32/37] gnu: Add ocaml-jst-config pukkamustard
2021-04-14  9:12   ` [bug#47768] [PATCH 33/37] gnu: Add ocaml-jane-street-headers pukkamustard
2021-04-14  9:13   ` [bug#47768] [PATCH 34/37] gnu: Add ocaml-time-now pukkamustard
2021-04-14  9:13   ` [bug#47768] [PATCH 35/37] gnu: Add ocaml-ppx-inline-test pukkamustard
2021-04-14  9:13   ` [bug#47768] [PATCH 36/37] gnu: Add ocaml-angstrom pukkamustard
2021-04-14  9:13   ` [bug#47768] [PATCH 37/37] gnu: Add ocaml-uri pukkamustard
2021-05-10  5:15 ` [bug#47768] [PATCH v2 00/43] Assorted OCaml patches (V2) pukkamustard
2021-05-10  5:15   ` [bug#47768] [PATCH v2 01/43] gnu: ocaml-integers: Update to 0.4.0 pukkamustard
2021-05-10  5:15   ` [bug#47768] [PATCH v2 02/43] gnu: ocaml-ctypes: Update to 0.18.0 pukkamustard
2021-05-10  5:15   ` [bug#47768] [PATCH v2 03/43] gnu: ocaml-ctypes: Make ocaml-integers a propagated input pukkamustard
2021-05-10  5:15   ` [bug#47768] [PATCH v2 04/43] gnu: ocaml-lwt: Make libev " pukkamustard
2021-05-10  5:15   ` [bug#47768] [PATCH v2 05/43] gnu: ocaml-lwt: Update to 5.4.0 pukkamustard
2021-05-10  5:15   ` [bug#47768] [PATCH v2 06/43] gnu: ocaml4.07-gen: Update to 0.5.3 pukkamustard
2021-05-10  5:15   ` [bug#47768] [PATCH v2 07/43] gnu: Add ocaml-gen pukkamustard
2021-05-10  5:15   ` [bug#47768] [PATCH v2 08/43] gnu: Add ocaml-stdio pukkamustard
2021-05-10  5:15   ` [bug#47768] [PATCH v2 09/43] gnu: Add ocaml-compiler-libs pukkamustard
2021-05-10  5:15   ` [bug#47768] [PATCH v2 10/43] gnu: ocaml-migrate-parsetree: Update to 1.8.0 pukkamustard
2021-05-10  5:15   ` [bug#47768] [PATCH v2 11/43] gnu: ocaml-migrate-parsetree: Update to 2.1.0 pukkamustard
2021-05-25 19:18     ` Xinglu Chen
2021-06-01 20:04       ` pukkamustard
2021-06-01 20:19         ` Xinglu Chen
2021-05-10  5:15   ` [bug#47768] [PATCH v2 12/43] gnu: Add ocaml-ppxlib pukkamustard
2021-05-10  5:15   ` [bug#47768] [PATCH v2 13/43] gnu: Add ocaml-sedlex pukkamustard
2021-05-10  5:15   ` [bug#47768] [PATCH v2 14/43] gnu: Add ocaml-uunf pukkamustard
2021-05-25 19:21     ` Xinglu Chen
2021-06-01 19:54       ` pukkamustard
2021-05-10  5:16   ` [bug#47768] [PATCH v2 15/43] gnu: Add ocaml-ppx-sexp-conv pukkamustard
2021-05-10  5:16   ` [bug#47768] [PATCH v2 16/43] gnu: Add ocaml-bigstringaf pukkamustard
2021-05-10  5:16   ` [bug#47768] [PATCH v2 17/43] gnu: Add ocaml-ppx-let pukkamustard
2021-05-10  5:16   ` [bug#47768] [PATCH v2 18/43] gnu: Add ocaml-syntax-shims pukkamustard
2021-05-10  5:16   ` [bug#47768] [PATCH v2 19/43] gnu: Add ocaml-ppx-compare pukkamustard
2021-05-10  5:16   ` [bug#47768] [PATCH v2 20/43] gnu: Add ocaml-ppx-here pukkamustard
2021-05-10  5:16   ` [bug#47768] [PATCH v2 21/43] gnu: Add ocaml-ppx-cold pukkamustard
2021-05-10  5:16   ` [bug#47768] [PATCH v2 22/43] gnu: Add ocaml-ppx-assert pukkamustard
2021-05-10  5:16   ` [bug#47768] [PATCH v2 23/43] gnu: Add ocaml-ppx-custom-printf pukkamustard
2021-05-10  5:16   ` [bug#47768] [PATCH v2 24/43] gnu: Add ocaml-ppx-hash pukkamustard
2021-05-10  5:16   ` [bug#47768] [PATCH v2 25/43] gnu: Add ocaml-ppx-enumerate pukkamustard
2021-05-10  5:16   ` [bug#47768] [PATCH v2 26/43] gnu: Add ocaml-ppx-js-style pukkamustard
2021-05-10  5:16   ` [bug#47768] [PATCH v2 27/43] gnu: Add ocaml-ppx-base pukkamustard
2021-05-10  5:16   ` [bug#47768] [PATCH v2 28/43] gnu: Add ocaml-fieldslib pukkamustard
2021-05-10  5:16   ` [bug#47768] [PATCH v2 29/43] gnu: Add ocaml-ppx-fields-conv pukkamustard
2021-05-10  5:16   ` [bug#47768] [PATCH v2 30/43] gnu: Add ocaml-ppx-optcomp pukkamustard
2021-05-10  5:16   ` [bug#47768] [PATCH v2 31/43] gnu: Add ocaml-ppx-optional pukkamustard
2021-05-10  5:16   ` [bug#47768] [PATCH v2 32/43] gnu: Add ocaml-jst-config pukkamustard
2021-05-10  5:16   ` [bug#47768] [PATCH v2 33/43] gnu: Add ocaml-jane-street-headers pukkamustard
2021-05-10  5:16   ` [bug#47768] [PATCH v2 34/43] gnu: Add ocaml-time-now pukkamustard
2021-05-10  5:16   ` [bug#47768] [PATCH v2 35/43] gnu: Add ocaml-ppx-inline-test pukkamustard
2021-05-10  5:16   ` [bug#47768] [PATCH v2 36/43] gnu: Add ocaml-angstrom pukkamustard
2021-05-10  5:16   ` [bug#47768] [PATCH v2 37/43] gnu: Add ocaml-uri pukkamustard
2021-05-10  5:16   ` [bug#47768] [PATCH v2 38/43] gnu: Add ocaml-graphics pukkamustard
2021-05-10  5:16   ` [bug#47768] [PATCH v2 39/43] gnu: Add ocaml-variantslib pukkamustard
2021-05-10  5:16   ` [bug#47768] [PATCH v2 40/43] gnu: Add ocaml-ppx-variants-conv pukkamustard
2021-05-10  5:16   ` [bug#47768] [PATCH v2 41/43] gnu: Add ocaml-ppx-expect pukkamustard
2021-05-10  5:16   ` [bug#47768] [PATCH v2 42/43] gnu: ocaml-num: Update to 1.4 pukkamustard
2021-05-10  5:16   ` [bug#47768] [PATCH v2 43/43] gnu: Add ocaml-js-of-ocaml pukkamustard
2021-05-25 19:29   ` [bug#47768] [PATCH v2 00/43] Assorted OCaml patches (V2) Xinglu Chen
2021-06-01 20:21     ` [bug#47768] [PATCH v3 00/42] Assorted OCaml patches pukkamustard
2021-06-01 21:46       ` Xinglu Chen
2021-06-02  1:19         ` Julien Lepiller
2021-06-06 12:53           ` Xinglu Chen
2021-06-06 15:19             ` Julien Lepiller
2021-06-13 15:43               ` bug#47768: " Julien Lepiller
2021-06-01 20:22     ` [bug#47768] [PATCH v3 01/42] gnu: ocaml-integers: Update to 0.4.0 pukkamustard
2021-06-01 20:22     ` [bug#47768] [PATCH v3 02/42] gnu: ocaml-ctypes: Update to 0.18.0 pukkamustard
2021-06-01 20:22     ` [bug#47768] [PATCH v3 03/42] gnu: ocaml-ctypes: Make ocaml-integers a propagated input pukkamustard
2021-06-01 20:22     ` [bug#47768] [PATCH v3 04/42] gnu: ocaml-lwt: Make libev " pukkamustard
2021-06-01 20:22     ` [bug#47768] [PATCH v3 05/42] gnu: ocaml-lwt: Update to 5.4.0 pukkamustard
2021-06-01 20:22     ` [bug#47768] [PATCH v3 06/42] gnu: ocaml4.07-gen: Update to 0.5.3 pukkamustard
2021-06-01 20:22     ` [bug#47768] [PATCH v3 07/42] gnu: Add ocaml-gen pukkamustard
2021-06-01 20:22     ` [bug#47768] [PATCH v3 08/42] gnu: Add ocaml-stdio pukkamustard
2021-06-01 20:22     ` [bug#47768] [PATCH v3 09/42] gnu: Add ocaml-compiler-libs pukkamustard
2021-06-01 20:22     ` [bug#47768] [PATCH v3 10/42] gnu: ocaml-migrate-parsetree: Update to 2.1.0 pukkamustard
2021-06-01 20:22     ` [bug#47768] [PATCH v3 11/42] gnu: Add ocaml-ppxlib pukkamustard
2021-06-01 20:22     ` [bug#47768] [PATCH v3 12/42] gnu: Add ocaml-sedlex pukkamustard
2021-06-01 20:22     ` [bug#47768] [PATCH v3 13/42] gnu: Add ocaml-uunf pukkamustard
2021-06-01 20:22     ` [bug#47768] [PATCH v3 14/42] gnu: Add ocaml-ppx-sexp-conv pukkamustard
2021-06-01 20:22     ` [bug#47768] [PATCH v3 15/42] gnu: Add ocaml-bigstringaf pukkamustard
2021-06-01 20:22     ` [bug#47768] [PATCH v3 16/42] gnu: Add ocaml-ppx-let pukkamustard
2021-06-01 20:23     ` [bug#47768] [PATCH v3 17/42] gnu: Add ocaml-syntax-shims pukkamustard
2021-06-01 20:23     ` [bug#47768] [PATCH v3 18/42] gnu: Add ocaml-ppx-compare pukkamustard
2021-06-01 20:23     ` [bug#47768] [PATCH v3 19/42] gnu: Add ocaml-ppx-here pukkamustard
2021-06-01 20:23     ` [bug#47768] [PATCH v3 20/42] gnu: Add ocaml-ppx-cold pukkamustard
2021-06-01 20:23     ` [bug#47768] [PATCH v3 21/42] gnu: Add ocaml-ppx-assert pukkamustard
2021-06-01 20:23     ` [bug#47768] [PATCH v3 22/42] gnu: Add ocaml-ppx-custom-printf pukkamustard
2021-06-01 20:23     ` [bug#47768] [PATCH v3 23/42] gnu: Add ocaml-ppx-hash pukkamustard
2021-06-01 20:23     ` [bug#47768] [PATCH v3 24/42] gnu: Add ocaml-ppx-enumerate pukkamustard
2021-06-01 20:23     ` [bug#47768] [PATCH v3 25/42] gnu: Add ocaml-ppx-js-style pukkamustard
2021-06-01 20:23     ` [bug#47768] [PATCH v3 26/42] gnu: Add ocaml-ppx-base pukkamustard
2021-06-01 20:23     ` [bug#47768] [PATCH v3 27/42] gnu: Add ocaml-fieldslib pukkamustard
2021-06-01 20:23     ` [bug#47768] [PATCH v3 28/42] gnu: Add ocaml-ppx-fields-conv pukkamustard
2021-06-01 20:23     ` [bug#47768] [PATCH v3 29/42] gnu: Add ocaml-ppx-optcomp pukkamustard
2021-06-01 20:23     ` [bug#47768] [PATCH v3 30/42] gnu: Add ocaml-ppx-optional pukkamustard
2021-06-01 20:23     ` [bug#47768] [PATCH v3 31/42] gnu: Add ocaml-jst-config pukkamustard
2021-06-01 20:23     ` [bug#47768] [PATCH v3 32/42] gnu: Add ocaml-jane-street-headers pukkamustard
2021-06-01 20:23     ` [bug#47768] [PATCH v3 33/42] gnu: Add ocaml-time-now pukkamustard
2021-06-01 20:23     ` [bug#47768] [PATCH v3 34/42] gnu: Add ocaml-ppx-inline-test pukkamustard
2021-06-01 20:23     ` [bug#47768] [PATCH v3 35/42] gnu: Add ocaml-angstrom pukkamustard
2021-06-01 20:23     ` [bug#47768] [PATCH v3 36/42] gnu: Add ocaml-uri pukkamustard
2021-06-01 20:23     ` [bug#47768] [PATCH v3 37/42] gnu: Add ocaml-graphics pukkamustard
2021-06-01 20:23     ` [bug#47768] [PATCH v3 38/42] gnu: Add ocaml-variantslib pukkamustard
2021-06-01 20:23     ` [bug#47768] [PATCH v3 39/42] gnu: Add ocaml-ppx-variants-conv pukkamustard
2021-06-01 20:23     ` [bug#47768] [PATCH v3 40/42] gnu: Add ocaml-ppx-expect pukkamustard
2021-06-01 20:23     ` [bug#47768] [PATCH v3 41/42] gnu: ocaml-num: Update to 1.4 pukkamustard
2021-06-01 20:23     ` [bug#47768] [PATCH v3 42/42] gnu: Add ocaml-js-of-ocaml pukkamustard

Reply instructions:

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

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

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

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

  git send-email \
    --in-reply-to=8635vlfpgy.fsf@posteo.net \
    --to=pukkamustard@posteo.net \
    --cc=47768@debbugs.gnu.org \
    --cc=maximedevos@telenet.be \
    /path/to/YOUR_REPLY

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

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.