Skip to content

Commit

Permalink
Merge pull request ocaml#24945 from xavierleroy/num-1.5
Browse files Browse the repository at this point in the history
Num version 1.5
  • Loading branch information
mseri authored Dec 18, 2023
2 parents 619172a + f90bef0 commit 12627bd
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 4 deletions.
3 changes: 1 addition & 2 deletions packages/base58/base58.0.1.2/opam
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,12 @@ build: [
install: [make "install"]
remove: ["ocamlfind" "remove" "base58"]
depends: [
"ocaml" {>= "4.02.0"}
("ocaml" {>= "4.02.0" & < "5.0"} & "num" | "ocaml" {>= "5.0"} & "num" {< "1.5"})
"ocamlfind" {build}
"testsimple" {with-test}
"bisect" {with-test}
"bisect_ppx" {with-test}
"ocamlbuild" {build}
"num"
]
synopsis: "Base58 encoding and decoding"
description:
Expand Down
3 changes: 1 addition & 2 deletions packages/cubicle/cubicle.1.2.0/opam
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,8 @@ build: [
[make]
]
depends: [
"ocaml" {>= "4.08.0"}
("ocaml" {>= "4.08.0" & < "5.0"} & "num" | "ocaml" {>= "5.0"} & "num" {< "1.5"})
"ocamlfind"
"num"
]
depopts: ["functory"]
conflicts: [
Expand Down
30 changes: 30 additions & 0 deletions packages/num/num.1.5/opam
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
opam-version: "2.0"
maintainer: "Xavier Leroy <[email protected]>"
authors: [
"Valérie Ménissier-Morain"
"Pierre Weis"
"Xavier Leroy"
]
license: "LGPL-2.1-only WITH OCaml-LGPL-linking-exception"
homepage: "https://github.com/ocaml/num/"
bug-reports: "https://github.com/ocaml/num/issues"
dev-repo: "git+https://github.com/ocaml/num.git"
build: [
[make "PROFILE=release"
"opam-legacy" {!ocaml:preinstalled & ocaml:version < "5.0.0~~"}
"opam-modern" {ocaml:preinstalled | ocaml:version >= "5.0.0~~"}]
[make "test"] {with-test}
]
depends: [
"ocaml" {>= "4.06.0"}
]
conflicts: [ "base-num" ]
synopsis:
"The legacy Num library for arbitrary-precision integer and rational arithmetic"
url {
src: "https://github.com/ocaml/num/archive/v1.5.tar.gz"
checksum: [
"md5=b1f9405dfe5f573ea187f122f789ae57"
"sha512=110dd01140c1c96f5f067aa824bb63f74a26411dcaa65aaf04cb6c44b116ca02aaab9505f431c66964388ce4a31d86da5928b4c0e5557800e834de80bed46495"
]
}

0 comments on commit 12627bd

Please sign in to comment.