Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37860615
en ru br
Репозитории ALT

Группа :: Разработка/ML
Пакет: ocaml-odoc

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Патч: ocaml-odoc-1.5.3-alt1.patch
Скачать


 .gear/ocaml-odoc.spec                              | 91 ++++++++++++++++++++++
 .gear/rules                                        |  4 +
 .../tags/dc38274978a6b917b12fb2a542e0f2efa8ff9e23  | 12 +++
 .gear/tags/list                                    |  1 +
 src/odoc/bin/main.ml                               |  2 +-
 src/odoc/etc/odoc.css                              |  2 +-
 src/odoc/root.ml                                   |  2 +-
 7 files changed, 111 insertions(+), 3 deletions(-)
diff --git a/.gear/ocaml-odoc.spec b/.gear/ocaml-odoc.spec
new file mode 100644
index 0000000..f4864f9
--- /dev/null
+++ b/.gear/ocaml-odoc.spec
@@ -0,0 +1,91 @@
+# check disabled due to fail on html.
+# I have looked at all these errors and it is a formatting issue.
+# Needs to be investigated.
+%def_without check
+
+Name: ocaml-odoc
+Version: 1.5.3
+Release: alt1
+Summary: Documentation compiler for OCaml and Reason
+Group: Development/ML
+License: ISC
+Url: https://github.com/ocaml/odoc
+Source0: %name-%version.tar
+Patch0: %name-%version-%release.patch
+
+BuildRequires: ocaml >= 4.07.1
+BuildRequires: ocaml-findlib-devel
+BuildRequires: dune
+BuildRequires: ocaml-cmdliner-devel ocaml-bos-devel
+BuildRequires: ocaml-cppo
+BuildRequires: ocaml-fmt-devel
+BuildRequires: ocaml-tyxml-devel
+BuildRequires: ocaml-re-devel
+BuildRequires: ocaml-rresult-devel
+BuildRequires: ocaml-result-devel
+BuildRequires: ocaml-astring-devel
+BuildRequires: ocaml-fpath-devel
+BuildRequires: ocaml-migrate-parsetree-devel
+%if_with check
+BuildRequires: ocaml-bisect_ppx-devel
+BuildRequires: ocaml-markup-devel
+BuildRequires: ocaml-alcotest-devel
+BuildRequires: ocaml-sexplib-devel
+%endif
+
+%description
+odoc is a documentation generator for OCaml. It reads doc comments ,
+delimited with (** ... *), and outputs HTML.
+
+%prep
+%setup
+%patch0 -p1
+
+%build
+%dune_build --release @install
+
+%install
+%dune_install
+
+mkdir -p %buildroot/%_docdir
+
+
+%check
+%dune_check
+
+%files
+%_docdir/*
+%_bindir/odoc
+%_datadir/odoc
+%_libdir/ocaml/odoc
+%_libdir/ocaml/dune_odoc_test
+
+%changelog
+* Mon Aug 02 2021 Anton Farygin <rider@altlinux.ru> 1.5.3-alt1
+- 1.5.3
+
+* Thu Dec 10 2020 Anton Farygin <rider@altlinux.ru> 1.5.2-alt1
+- 1.5.2
+
+* Tue Jun 30 2020 Anton Farygin <rider@altlinux.ru> 1.5.1-alt1
+- 1.5.1
+
+* Mon Feb 10 2020 Anton Farygin <rider@altlinux.ru> 1.5.0-alt1
+- 1.5.0
+
+* Sat Feb 01 2020 Anton Farygin <rider@altlinux.ru> 1.4.2-alt2
+- fix for build with dune changes
+
+* Fri Jan 24 2020 Anton Farygin <rider@altlinux.ru> 1.4.2-alt1
+- 1.4.2
+- enabled tests
+
+* Fri Aug 02 2019 Anton Farygin <rider@altlinux.ru> 1.4.1-alt1
+- 1.4.1
+
+* Tue Jan 22 2019 Anton Farygin <rider@altlinux.ru> 1.3.0-alt2.git05241eb
+- updated to upstream unstable git 05241eb with fixes for ocaml-tyxml-4.3.0
+
+* Tue Oct 23 2018 Anton Farygin <rider@altlinux.ru> 1.3.0-alt1
+- first build for ALT
+
diff --git a/.gear/rules b/.gear/rules
new file mode 100644
index 0000000..df73369
--- /dev/null
+++ b/.gear/rules
@@ -0,0 +1,4 @@
+tar: @version@:.
+spec: .gear/ocaml-odoc.spec
+diff: @version@:. .
+
diff --git a/.gear/tags/dc38274978a6b917b12fb2a542e0f2efa8ff9e23 b/.gear/tags/dc38274978a6b917b12fb2a542e0f2efa8ff9e23
new file mode 100644
index 0000000..669e8a2
--- /dev/null
+++ b/.gear/tags/dc38274978a6b917b12fb2a542e0f2efa8ff9e23
@@ -0,0 +1,12 @@
+object 8de4a36814533b25b461373fe5c0f54db55e5e7c
+type commit
+tag 1.5.3
+tagger Jon Ludlam <jon@recoil.org> 1625876248 +0100
+
+Release 1.5.3
+
+CHANGES:
+
+Additions
+
+- Compatibility with OCaml 4.13 (#699, @octachron)
diff --git a/.gear/tags/list b/.gear/tags/list
new file mode 100644
index 0000000..887b5f2
--- /dev/null
+++ b/.gear/tags/list
@@ -0,0 +1 @@
+dc38274978a6b917b12fb2a542e0f2efa8ff9e23 1.5.3
diff --git a/src/odoc/bin/main.ml b/src/odoc/bin/main.ml
index c18ac7f..e85d312 100644
--- a/src/odoc/bin/main.ml
+++ b/src/odoc/bin/main.ml
@@ -433,7 +433,7 @@ let () =
         (String.concat ~sep:", " available_subcommands)
     in
     Term.(const print_default $ const ()),
-    Term.info ~version:"%%VERSION%%" "odoc"
+    Term.info ~version:"1.4.2" "odoc"
   in
   match Term.eval_choice ~err:Format.err_formatter default subcommands with
   | `Error _ ->
diff --git a/src/odoc/etc/odoc.css b/src/odoc/etc/odoc.css
index 094e258..c80edff 100644
--- a/src/odoc/etc/odoc.css
+++ b/src/odoc/etc/odoc.css
@@ -1,7 +1,7 @@
 @charset "UTF-8";
 /* Copyright (c) 2016 The odoc contributors. All rights reserved.
    Distributed under the ISC license, see terms at the end of the file.
-   %%NAME%% %%VERSION%% */
+   odoc 1.4.2 */
 
 /* Fonts */
 @import url('https://fonts.googleapis.com/css?family=Fira+Mono:400,500');
diff --git a/src/odoc/root.ml b/src/odoc/root.ml
index ce15fd7..9e2d433 100644
--- a/src/odoc/root.ml
+++ b/src/odoc/root.ml
@@ -16,7 +16,7 @@
 
 open Or_error
 
-let magic = "odoc-%%VERSION%%"
+let magic = "odoc-1.4.2"
 
 let load file ic =
   let m = really_input_string ic (String.length magic) in
 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin