Skip to content

Commit 545557a

Browse files
Moved num patch to separate 1.5-1 package version
1 parent 8772323 commit 545557a

File tree

2 files changed

+35
-5
lines changed

2 files changed

+35
-5
lines changed

packages/num/num.1.5-1/opam

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
opam-version: "2.0"
2+
maintainer: "Xavier Leroy <[email protected]>"
3+
authors: [
4+
"Valérie Ménissier-Morain"
5+
"Pierre Weis"
6+
"Xavier Leroy"
7+
]
8+
license: "LGPL-2.1-only WITH OCaml-LGPL-linking-exception"
9+
homepage: "https://github.com/ocaml/num/"
10+
bug-reports: "https://github.com/ocaml/num/issues"
11+
dev-repo: "git+https://github.com/ocaml/num.git"
12+
build: [
13+
[make "PROFILE=release"
14+
"opam-legacy" {!ocaml:preinstalled & ocaml:version < "5.0.0~~"}
15+
"opam-modern" {ocaml:preinstalled | ocaml:version >= "5.0.0~~"}]
16+
[make "test"] {with-test}
17+
]
18+
depends: [
19+
"ocaml" {>= "4.06.0"}
20+
]
21+
conflicts: [ "base-num" ]
22+
synopsis:
23+
"The legacy Num library for arbitrary-precision integer and rational arithmetic"
24+
patches: ["num-in-findlib-dir.patch"]
25+
url {
26+
src: "https://github.com/ocaml/num/archive/v1.5.tar.gz"
27+
checksum: [
28+
"md5=b1f9405dfe5f573ea187f122f789ae57"
29+
"sha512=110dd01140c1c96f5f067aa824bb63f74a26411dcaa65aaf04cb6c44b116ca02aaab9505f431c66964388ce4a31d86da5928b4c0e5557800e834de80bed46495"
30+
]
31+
}
32+
extra-source "num-in-findlib-dir.patch" {
33+
src: "https://github.com/ocaml/num/commit/f6e31b1653f32c7c425b69c2b123ab2f924a4d61.patch?full_index=1"
34+
checksum: "sha256=f93880031ed823249f4aac860e0d9e5cdc2878550db13914db25b1585803cf05"
35+
}

packages/num/num.1.5/opam

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,10 @@ depends: [
2121
conflicts: [ "base-num" ]
2222
synopsis:
2323
"The legacy Num library for arbitrary-precision integer and rational arithmetic"
24-
patches: ["num-in-findlib-dir.patch"]
2524
url {
2625
src: "https://github.com/ocaml/num/archive/v1.5.tar.gz"
2726
checksum: [
2827
"md5=b1f9405dfe5f573ea187f122f789ae57"
2928
"sha512=110dd01140c1c96f5f067aa824bb63f74a26411dcaa65aaf04cb6c44b116ca02aaab9505f431c66964388ce4a31d86da5928b4c0e5557800e834de80bed46495"
3029
]
3130
}
32-
extra-source "num-in-findlib-dir.patch" {
33-
src: "https://github.com/ocaml/num/commit/f6e31b1653f32c7c425b69c2b123ab2f924a4d61.patch?full_index=1"
34-
checksum: "sha256=f93880031ed823249f4aac860e0d9e5cdc2878550db13914db25b1585803cf05"
35-
}

0 commit comments

Comments
 (0)