this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge pull request #24930 from Julow/release-odoc-2.4.0

[new release] odoc and odoc-parser (2.4.0)

authored by

Marcello Seri and committed by
GitHub
7dc3316f d22b7929

+157
+25
packages/odoc-parser/odoc-parser.2.4.0/files/0001-Don-t-make-parser-tests-installable.patch
··· 1 + From a29977ba0ca1e5617a24bc8693d033a085563ff3 Mon Sep 17 00:00:00 2001 2 + From: Jules Aguillon <jules@j3s.fr> 3 + Date: Tue, 12 Dec 2023 15:53:06 +0100 4 + Subject: [PATCH] Don't make parser tests installable 5 + 6 + This makes the regular build of odoc-parser to depend on its 7 + test-dependencies, making it fail. 8 + --- 9 + src/parser/test/dune | 1 - 10 + 1 file changed, 1 deletion(-) 11 + 12 + diff --git a/src/parser/test/dune b/src/parser/test/dune 13 + index 28c4d82f7..c6769550d 100644 14 + --- a/src/parser/test/dune 15 + +++ b/src/parser/test/dune 16 + @@ -1,6 +1,5 @@ 17 + (library 18 + (name odoc_parser_test) 19 + - (package odoc-parser) 20 + (inline_tests) 21 + (enabled_if 22 + (>= %{ocaml_version} 4.04.1)) 23 + -- 24 + 2.40.1 25 +
+48
packages/odoc-parser/odoc-parser.2.4.0/opam
··· 1 + opam-version: "2.0" 2 + synopsis: "Parser for ocaml documentation comments" 3 + description: """ 4 + Odoc_parser is a library for parsing the contents of OCaml documentation 5 + comments, formatted using 'odoc' syntax, an extension of the language 6 + understood by ocamldoc.""" 7 + maintainer: ["Jon Ludlam <jon@recoil.org>"] 8 + authors: ["Anton Bachin <antonbachin@yahoo.com>"] 9 + license: "ISC" 10 + homepage: "https://github.com/ocaml/odoc" 11 + bug-reports: "https://github.com/ocaml/odoc/issues" 12 + dev-repo: "git+https://github.com/ocaml/odoc.git" 13 + doc: "https://ocaml.github.io/odoc/odoc_parser" 14 + depends: [ 15 + "dune" {>= "3.7"} 16 + "ocaml" {>= "4.02.0"} 17 + "astring" 18 + "result" 19 + "camlp-streams" 20 + "ppx_expect" {with-test} 21 + ("ocaml" {< "4.04.1" & with-test} | "sexplib0" {with-test}) 22 + ] 23 + build: [ 24 + ["dune" "subst"] {dev} 25 + [ 26 + "dune" 27 + "build" 28 + "-p" 29 + name 30 + "-j" 31 + jobs 32 + "@install" 33 + # Tests are not all associated with a package and would be run if using the 34 + # default '@runtest'. 35 + "@src/parser/runtest" {with-test} 36 + ] 37 + ] 38 + patches: [ 39 + "0001-Don-t-make-parser-tests-installable.patch" 40 + ] 41 + url { 42 + src: "https://github.com/ocaml/odoc/releases/download/2.4.0/odoc-2.4.0.tbz" 43 + checksum: [ 44 + "sha256=fa52c66f12fe1bd63535776b5b0451112643446ef2171494e953859ef863959d" 45 + "sha512=f55884d0ad788643b7137ee04cd57a1d33375ebf1f1aae32ef03b3a10f03b62723a6c05a31c2e0496794ad5d6d8794350935577a70ddfce3a061e28a49b24d82" 46 + ] 47 + } 48 + x-commit-hash: "c8d3ba1604cd6a2bb7155afe10ecb596517e9e47"
+84
packages/odoc/odoc.2.4.0/opam
··· 1 + opam-version: "2.0" 2 + homepage: "https://github.com/ocaml/odoc" 3 + doc: "https://ocaml.github.io/odoc/" 4 + bug-reports: "https://github.com/ocaml/odoc/issues" 5 + license: "ISC" 6 + 7 + maintainer: [ 8 + "Daniel Bünzli <daniel.buenzli@erratique.ch>" 9 + "Jon Ludlam <jon@recoil.org>" 10 + "Jules Aguillon <juloo.dsi@gmail.com>" 11 + "Paul-Elliot Anglès d'Auriac <paul-elliot@tarides.com>" 12 + ] 13 + authors: [ 14 + "Anton Bachin <antonbachin@yahoo.com>" 15 + "Daniel Bünzli <daniel.buenzli@erratique.ch>" 16 + "David Sheets <sheets@alum.mit.edu>" 17 + "Jon Ludlam <jon@recoil.org>" 18 + "Jules Aguillon <juloo.dsi@gmail.com>" 19 + "Leo White <leo@lpw25.net>" 20 + "Lubega Simon <lubegasimon73@gmail.com>" 21 + "Paul-Elliot Anglès d'Auriac <paul-elliot@tarides.com>" 22 + "Thomas Refis <trefis@janestreet.com>" 23 + ] 24 + dev-repo: "git+https://github.com/ocaml/odoc.git" 25 + 26 + synopsis: "OCaml Documentation Generator" 27 + description: """ 28 + **odoc** is a powerful and flexible documentation generator for OCaml. It reads *doc comments*, demarcated by `(** ... *)`, and transforms them into a variety of output formats, including HTML, LaTeX, and man pages. 29 + 30 + - **Output Formats:** Odoc generates HTML for web browsing, LaTeX for PDF generation, and man pages for use on Unix-like systems. 31 + - **Cross-References:** odoc uses the `ocamldoc` markup, which allows to create links for functions, types, modules, and documentation pages. 32 + - **Link to Source Code:** Documentation generated includes links to the source code of functions, providing an easy way to navigate from the docs to the actual implementation. 33 + - **Code Highlighting:** odoc automatically highlights syntax in code snippets for different languages. 34 + 35 + odoc is part of the [OCaml Platform](https://ocaml.org/docs/platform), the recommended set of tools for OCaml. 36 + """ 37 + 38 + 39 + depends: [ 40 + "odoc-parser" {= version} 41 + "astring" 42 + "cmdliner" {>= "1.0.0"} 43 + "cppo" {build & >= "1.1.0"} 44 + "dune" {>= "3.7.0"} 45 + "fpath" 46 + "ocaml" {>= "4.02.0"} 47 + "result" 48 + "tyxml" {>= "4.4.0"} 49 + "fmt" 50 + 51 + "ocamlfind" {with-test} 52 + "yojson" {>= "1.6.0" & with-test} 53 + ("ocaml" {< "4.04.1" & with-test} | "sexplib0" {with-test}) 54 + "conf-jq" {with-test} 55 + 56 + "ppx_expect" {with-test} 57 + "bos" {with-test} 58 + "crunch" {> "1.1.0"} 59 + 60 + ("ocaml" {< "4.07.0" & with-test} | "bisect_ppx" {with-test & > "2.5.0"}) 61 + ] 62 + 63 + build: [ 64 + ["dune" "subst"] {dev} 65 + [ 66 + "dune" 67 + "build" 68 + "-p" 69 + name 70 + "-j" 71 + jobs 72 + "@install" 73 + "@runtest" {with-test} 74 + "@doc" {with-doc} 75 + ] 76 + ] 77 + url { 78 + src: "https://github.com/ocaml/odoc/releases/download/2.4.0/odoc-2.4.0.tbz" 79 + checksum: [ 80 + "sha256=fa52c66f12fe1bd63535776b5b0451112643446ef2171494e953859ef863959d" 81 + "sha512=f55884d0ad788643b7137ee04cd57a1d33375ebf1f1aae32ef03b3a10f03b62723a6c05a31c2e0496794ad5d6d8794350935577a70ddfce3a061e28a49b24d82" 82 + ] 83 + } 84 + x-commit-hash: "c8d3ba1604cd6a2bb7155afe10ecb596517e9e47"