Skip to content

Commit

Permalink
[opam] [dune-release] Fix opam metadata to reflect recent release.
Browse files Browse the repository at this point in the history
After 3.0.beta4, the loose constraints should mostly work; depending
on the changes we do of course.

We also update the `homepage` field of the OPAM files, and the CHANGES
file, if I understand correctly this should indeed make `dune-release`
work out of the box [and to produce sensible changelogs]

This fixes garrigue#47.

Note that dune-release was incorrectly reading `CHANGES.API` to create
the OPAM changelog! So I had to fix that too.
  • Loading branch information
ejgallego committed Feb 12, 2019
1 parent 651a73d commit c6ddb61
Show file tree
Hide file tree
Showing 6 changed files with 30 additions and 16 deletions.
File renamed without changes.
7 changes: 6 additions & 1 deletion CHANGES
@@ -1,6 +1,11 @@
# LablGTK changes log

In Lablgtk-3.0.beta4:
## In Lablgtk-3.0.beta5:

2019.02.12 [Emilio]
* Update OPAM files so they work better with dune-release

## In Lablgtk-3.0.beta4:

2019.02.11 [Jacques]
* More dune related PRs (#39, #43, #45, #46) [Emilio]
Expand Down
File renamed without changes.
15 changes: 9 additions & 6 deletions lablgtk3-gtkspell3.opam
@@ -1,11 +1,16 @@
opam-version: "2.0"

description: "OCaml interface to GTK+, gtksourceview2 library"
synopsis: "OCaml interface to GTK+"
synopsis: "OCaml interface to GTK+3"
description: """
OCaml interface to GTK+3, gtkspell library

See http://lablgtk.forge.ocamlcore.org/ for more information.

"""

maintainer: "garrigue@math.nagoya-u.ac.jp"
authors: ["Jacques Garrigue et al., Nagoya University"]
homepage: "http://lablgtk.forge.ocamlcore.org/"
homepage: "https://github.com/garrigue/lablgtk"
bug-reports: "https://github.com/garrigue/lablgtk/issues"
dev-repo: "git+https://github.com/garrigue/lablgtk.git"
doc: "https://garrigue.github.io/lablgtk/lablgtk-sourceview"
Expand All @@ -14,9 +19,7 @@ license: "LGPL with linking exception"
depends: [
"ocaml" { >= "4.05.0" }
"dune" { build & >= "1.4.0" }
"lablgtk3" { }
# To fix when opam is updated
# "lablgtk3" { >= "3.0.beta4" }
"lablgtk3" { >= "3.0.beta4" }
]

build: [
Expand Down
14 changes: 8 additions & 6 deletions lablgtk3-sourceview3.opam
@@ -1,11 +1,15 @@
opam-version: "2.0"

description: "OCaml interface to GTK+, gtksourceview2 library"
synopsis: "OCaml interface to GTK+"
synopsis: "OCaml interface to GTK+ gtksourceview library"
description: """
OCaml interface to GTK+3, gtksourceview3 library.

See http://lablgtk.forge.ocamlcore.org/ for more information.
"""

maintainer: "garrigue@math.nagoya-u.ac.jp"
authors: ["Jacques Garrigue et al., Nagoya University"]
homepage: "http://lablgtk.forge.ocamlcore.org/"
homepage: "https://github.com/garrigue/lablgtk"
bug-reports: "https://github.com/garrigue/lablgtk/issues"
dev-repo: "git+https://github.com/garrigue/lablgtk.git"
doc: "https://garrigue.github.io/lablgtk/lablgtk-sourceview"
Expand All @@ -14,9 +18,7 @@ license: "LGPL with linking exception"
depends: [
"ocaml" { >= "4.05.0" }
"dune" { build & >= "1.4.0" }
"lablgtk3" { }
# To fix when opam is updated
# "lablgtk3" { >= "3.0.beta4" }
"lablgtk3" { >= "3.0.beta4" }
"conf-gtksourceview3" { build & >= "0" }
]

Expand Down
10 changes: 7 additions & 3 deletions lablgtk3.opam
@@ -1,11 +1,15 @@
opam-version: "2.0"

description: "OCaml interface to GTK+"
synopsis: "OCaml interface to GTK+"
synopsis: "OCaml interface to GTK+3"
description: """
OCaml interface to GTK+3

See http://lablgtk.forge.ocamlcore.org/ for more information.
"""

maintainer: "garrigue@math.nagoya-u.ac.jp"
authors: ["Jacques Garrigue et al., Nagoya University"]
homepage: "http://lablgtk.forge.ocamlcore.org/"
homepage: "https://github.com/garrigue/lablgtk"
bug-reports: "https://github.com/garrigue/lablgtk/issues"
dev-repo: "git+https://github.com/garrigue/lablgtk.git"
license: "LGPL with linking exception"
Expand Down

0 comments on commit c6ddb61

Please sign in to comment.