diff --git a/packages/conf-nlopt/conf-nlopt.1/opam b/packages/conf-nlopt/conf-nlopt.1/opam new file mode 100644 index 00000000000..808d5c31a84 --- /dev/null +++ b/packages/conf-nlopt/conf-nlopt.1/opam @@ -0,0 +1,33 @@ +opam-version: "2.0" +maintainer: "/~https://github.com/ocaml/opam-repository/issues" +homepage: "/~https://github.com/stevengj/nlopt" +bug-reports: "/~https://github.com/ocaml/opam-repository/issues" +authors: "NLopt dev team" +license: "LGPL-2.1-or-later" +build: ["pkg-config" "--exists" "nlopt"] +depends: [ + "conf-pkg-config" {build} +] +depexts: [ + ["libnlopt-dev"] {os-family = "debian"} + ["libnlopt-dev"] {os-family = "ubuntu"} + ["NLopt-devel"] {os-distribution = "fedora"} + ["NLopt-devel"] {os-distribution = "rhel"} + ["NLopt-devel" "epel-release"] {os-distribution = "centos" & os-version < "8"} + ["nlopt-devel"] {os-family = "suse"} + ["nlopt"] {os-family = "arch"} + ["nlopt"] {os = "freebsd"} + ["nlopt"] {os = "openbsd"} + ["nlopt"] {os = "netbsd"} + ["nlopt"] {os = "macos" & os-distribution = "homebrew"} +] +x-ci-accept-failures: [ + "alpine-3.12" + "oraclelinux-7" + "oraclelinux-8" + "centos-8" +] +synopsis: "Virtual package relying on nlopt" +description: + "This package can only install if the nlopt library is installed on the system." +flags: conf diff --git a/packages/conf-openblas/conf-openblas.0.2.1/opam b/packages/conf-openblas/conf-openblas.0.2.1/opam index 992b8f7af73..e6376b50daa 100644 --- a/packages/conf-openblas/conf-openblas.0.2.1/opam +++ b/packages/conf-openblas/conf-openblas.0.2.1/opam @@ -31,6 +31,10 @@ depexts: [ ["openblas"] {os = "macos" & os-distribution = "homebrew"} ["openblas"] {os = "freebsd"} ] +x-ci-accept-failures: [ + "oraclelinux-7" + "oraclelinux-8" +] synopsis: "Virtual package to install OpenBLAS and LAPACKE" description: "The package prepares OpenBLAS (CBLAS) and LAPACKE backend for Owl (OCaml numerical library). It can only be installed if OpenBLAS and LAPACKE are installed on the system." diff --git a/packages/conf-plplot/conf-plplot.1/opam b/packages/conf-plplot/conf-plplot.1/opam new file mode 100644 index 00000000000..c6a938637fa --- /dev/null +++ b/packages/conf-plplot/conf-plplot.1/opam @@ -0,0 +1,30 @@ +opam-version: "2.0" +maintainer: "/~https://github.com/ocaml/opam-repository/issues" +homepage: "http://www.plplot.org/" +bug-reports: "/~https://github.com/ocaml/opam-repository/issues" +authors: "Plplot dev team" +license: "LGPL-2.1-or-later" +build: ["sh" "-exc" "pkg-config --exists plplot || pkg-config --exists plplotd"] +depends: [ + "conf-pkg-config" {build} +] +depexts: [ + ["libplplot-dev" "libshp-dev"] {os-family = "debian"} + ["plplot"] {os = "macos" & os-distribution = "homebrew"} + ["plplot-devel"] {os-family = "rhel"} + ["plplot-devel"] {os-distribution = "fedora"} + ["plplot-devel"] {os-family = "suse"} + ["plplot-devel" "epel-release"] {os-distribution = "centos"} + ["plplot"] {os-distribution = "nixos"} +] +x-ci-accept-failures: [ + # plplot is not available on these platforms + "alpine-3.12" + "archlinux" + "oraclelinux-7" + "oraclelinux-8" +] +synopsis: "Virtual package relying on plplot" +description: + "This package can only install if the plplot library is installed on the system." +flags: conf diff --git a/packages/nlopt-ocaml/nlopt-ocaml.0.4/opam b/packages/nlopt-ocaml/nlopt-ocaml.0.4/opam index f8f7ae89d81..c583ee0ba64 100644 --- a/packages/nlopt-ocaml/nlopt-ocaml.0.4/opam +++ b/packages/nlopt-ocaml/nlopt-ocaml.0.4/opam @@ -7,20 +7,16 @@ build: [ ["ocaml" "setup.ml" "-configure" "--prefix" prefix] ["ocaml" "setup.ml" "-build"] ] -remove: [["ocamlfind" "remove" "nlopt"]] depends: [ "ocaml" {< "4.06.0"} "ocamlfind" "ocamlbuild" {build} "oasis" {build} -] -depexts: [ - ["libnlopt-dev"] {os-family = "debian"} + "conf-nlopt" ] install: ["ocaml" "setup.ml" "-install"] synopsis: "OCaml bindings to the NLOpt optimization library" -flags: light-uninstall url { - src: "https://bitbucket.org/mkur/nlopt-ocaml/get/release-0.4.tar.gz" + src: "https://opam.ocaml.org/cache/md5/a5/a5a742f058469438dd45c34356ff9665" checksum: "md5=a5a742f058469438dd45c34356ff9665" } diff --git a/packages/nlopt-ocaml/nlopt-ocaml.0.5.1/opam b/packages/nlopt-ocaml/nlopt-ocaml.0.5.1/opam index 8bde21c1657..28a795698b5 100644 --- a/packages/nlopt-ocaml/nlopt-ocaml.0.5.1/opam +++ b/packages/nlopt-ocaml/nlopt-ocaml.0.5.1/opam @@ -10,21 +10,19 @@ build: [ ["ocaml" "setup.ml" "-configure" "--prefix" prefix] ["ocaml" "setup.ml" "-build"] ] -remove: [["ocamlfind" "remove" "nlopt"]] depends: [ "ocaml" {>= "3.12"} "ocamlfind" {build} "ocamlbuild" {build} "oasis" {build} + "conf-nlopt" ] -depexts: [ - ["libnlopt0" "libnlopt-dev"] {os-family = "debian"} - ["nlopt"] {os = "macos" & os-distribution = "homebrew"} +x-ci-accept-failures: [ + "centos-7" # Too old.. NLopt-devel only has libnlopt_cxx ] install: ["ocaml" "setup.ml" "-install"] synopsis: "OCaml bindings to the NLOpt optimization library" -flags: light-uninstall url { - src: "https://bitbucket.org/mkur/nlopt-ocaml/get/release-0.5.1.tar.gz" - checksum: "md5=39d0bcd8d52686c0430b9cfd7a882335" + src: "/~https://github.com/mkur/nlopt-ocaml/archive/release-0.5.1.tar.gz" + checksum: "md5=cae1d5923a12ca414aacc39bb7a8c360" } diff --git a/packages/nlopt-ocaml/nlopt-ocaml.0.5/opam b/packages/nlopt-ocaml/nlopt-ocaml.0.5/opam index da33cc4d1c5..540164d536a 100644 --- a/packages/nlopt-ocaml/nlopt-ocaml.0.5/opam +++ b/packages/nlopt-ocaml/nlopt-ocaml.0.5/opam @@ -7,20 +7,16 @@ build: [ ["ocaml" "setup.ml" "-configure" "--prefix" prefix] ["ocaml" "setup.ml" "-build"] ] -remove: [["ocamlfind" "remove" "nlopt"]] depends: [ "ocaml" {< "4.06.0"} "ocamlfind" "ocamlbuild" {build} "oasis" {build} -] -depexts: [ - ["libnlopt-dev"] {os-family = "debian"} + "conf-nlopt" ] install: ["ocaml" "setup.ml" "-install"] synopsis: "OCaml bindings to the NLOpt optimization library" -flags: light-uninstall url { - src: "https://bitbucket.org/mkur/nlopt-ocaml/get/release-0.5.tar.gz" - checksum: "md5=d1aacf0ced08082f2d2d7169d3c38339" + src: "/~https://github.com/mkur/nlopt-ocaml/archive/release-0.5.tar.gz" + checksum: "md5=5c03d6270f577991e5e4dac87cc70856" } diff --git a/packages/owl-base/owl-base.1.0.1/opam b/packages/owl-base/owl-base.1.0.1/opam new file mode 100644 index 00000000000..1fca0fa9149 --- /dev/null +++ b/packages/owl-base/owl-base.1.0.1/opam @@ -0,0 +1,28 @@ +opam-version: "2.0" +maintainer: "Liang Wang " +authors: [ "Liang Wang" ] +license: "MIT" +homepage: "/~https://github.com/owlbarn/owl" +dev-repo: "git+/~https://github.com/owlbarn/owl.git" +bug-reports: "/~https://github.com/owlbarn/owl/issues" +doc: "https://owlbarn.github.io/" +synopsis: "OCaml Scientific and Engineering Computing - Base" +description: "Owl is an OCaml scientific library." +build: [ + [ "dune" "subst" ] {pinned} + [ "dune" "build" "-p" name "-j" jobs ] +] + +depends: [ + "ocaml" {>= "4.10.0"} + "base-bigarray" + "dune" {>= "2.0.0"} +] +x-commit-hash: "7e489e58aff3dea09ecd0153c237c2170a42c964" +url { + src: "/~https://github.com/owlbarn/owl/releases/download/1.0.1/owl-1.0.1.tbz" + checksum: [ + "sha256=72ca9f6edd302fdfa16c7559cedac7ac2c885466a367e17ea1ea8807b2dd13ef" + "sha512=72a60fb5b0ee4eea6cd8012aab9a492a32483feb218c1b6b4b913e0af985fba288113164e5af1129c0b5fffdb49d7b9aded6647238626b6561dc7125fdeb4eb5" + ] +} diff --git a/packages/owl-plplot/owl-plplot.1.0.1/opam b/packages/owl-plplot/owl-plplot.1.0.1/opam new file mode 100644 index 00000000000..45b97523430 --- /dev/null +++ b/packages/owl-plplot/owl-plplot.1.0.1/opam @@ -0,0 +1,36 @@ +opam-version: "2.0" +maintainer: "Liang Wang " +authors: [ "Liang Wang" ] +license: "MIT" +homepage: "/~https://github.com/owlbarn/owl" +dev-repo: "git+/~https://github.com/owlbarn/owl.git" +bug-reports: "/~https://github.com/owlbarn/owl/issues" +doc: "https://owlbarn.github.io/owl/" +synopsis: "OCaml Scientific and Engineering Computing" +description: """ +Owl: OCaml Scientific and Engineering Computing + +Owl is an OCaml numerical library. +It supports N-dimensional arrays, both dense and sparse matrix operations, linear algebra, regressions, fast Fourier transforms, and many advanced mathematical and statistical functions (such as Markov chain Monte Carlo methods). +Recently, Owl has implemented algorithmic differentiation which essentially makes developing machine learning and neural network algorithms trivial. +""" + +build: [ + [ "dune" "subst" ] {pinned} + [ "dune" "build" "-p" name "-j" jobs ] +] + +depends: [ + "ocaml" {>= "4.10.0"} + "dune" {>= "2.0.0"} + "owl" {= version} + "plplot" +] +x-commit-hash: "7e489e58aff3dea09ecd0153c237c2170a42c964" +url { + src: "/~https://github.com/owlbarn/owl/releases/download/1.0.1/owl-1.0.1.tbz" + checksum: [ + "sha256=72ca9f6edd302fdfa16c7559cedac7ac2c885466a367e17ea1ea8807b2dd13ef" + "sha512=72a60fb5b0ee4eea6cd8012aab9a492a32483feb218c1b6b4b913e0af985fba288113164e5af1129c0b5fffdb49d7b9aded6647238626b6561dc7125fdeb4eb5" + ] +} diff --git a/packages/owl-top/owl-top.1.0.1/opam b/packages/owl-top/owl-top.1.0.1/opam new file mode 100644 index 00000000000..3bb83ab5221 --- /dev/null +++ b/packages/owl-top/owl-top.1.0.1/opam @@ -0,0 +1,31 @@ +opam-version: "2.0" +maintainer: "Liang Wang " +authors: [ "Liang Wang" ] +license: "MIT" +homepage: "/~https://github.com/owlbarn/owl" +dev-repo: "git+/~https://github.com/owlbarn/owl.git" +bug-reports: "/~https://github.com/owlbarn/owl/issues" +doc: "https://owlbarn.github.io/" +synopsis: "OCaml Scientific and Engineering Computing - Top" +description: "Owl is an OCaml scientific library." + +build: [ + [ "dune" "subst" ] {pinned} + [ "dune" "build" "-p" name "-j" jobs ] +] + +depends: [ + "ocaml" {>= "4.10.0"} + "dune" {>= "2.0.0"} + "ocaml-compiler-libs" + "owl" {= version} + "owl-zoo" {= version} +] +x-commit-hash: "7e489e58aff3dea09ecd0153c237c2170a42c964" +url { + src: "/~https://github.com/owlbarn/owl/releases/download/1.0.1/owl-1.0.1.tbz" + checksum: [ + "sha256=72ca9f6edd302fdfa16c7559cedac7ac2c885466a367e17ea1ea8807b2dd13ef" + "sha512=72a60fb5b0ee4eea6cd8012aab9a492a32483feb218c1b6b4b913e0af985fba288113164e5af1129c0b5fffdb49d7b9aded6647238626b6561dc7125fdeb4eb5" + ] +} diff --git a/packages/owl-zoo/owl-zoo.1.0.1/opam b/packages/owl-zoo/owl-zoo.1.0.1/opam new file mode 100644 index 00000000000..b5790a5095f --- /dev/null +++ b/packages/owl-zoo/owl-zoo.1.0.1/opam @@ -0,0 +1,42 @@ +opam-version: "2.0" +maintainer: "Liang Wang " +authors: [ "Liang Wang" ] +license: "MIT" +homepage: "/~https://github.com/owlbarn/owl" +dev-repo: "git+/~https://github.com/owlbarn/owl.git" +bug-reports: "/~https://github.com/owlbarn/owl/issues" +doc: "https://owlbarn.github.io/" +synopsis: "OCaml Scientific and Engineering Computing - Zoo" +description: """ +Owl's Zoo System + +The Zoo System is Owl's customised toplevel. +It is used for scripting numerical applications and sharing small code snippets via gist among users. +The Zoo system introduces a zoo directive into toplevel, the referred gist id will be automatically downloaded and imported as a module in the script. +The nested zoo reference is also supported. +""" + +build: [ + [ "dune" "subst" ] {pinned} + [ "dune" "build" "-p" name "-j" jobs ] +] + +depends: [ + "ocaml" {>= "4.10.0"} + "dune" {>= "2.0.0"} + "ocaml-compiler-libs" + "owl" {= version} +] + +x-ci-accept-failures: [ + "ubuntu-18.04" # /~https://github.com/owlbarn/owl/issues/450 +] + +x-commit-hash: "7e489e58aff3dea09ecd0153c237c2170a42c964" +url { + src: "/~https://github.com/owlbarn/owl/releases/download/1.0.1/owl-1.0.1.tbz" + checksum: [ + "sha256=72ca9f6edd302fdfa16c7559cedac7ac2c885466a367e17ea1ea8807b2dd13ef" + "sha512=72a60fb5b0ee4eea6cd8012aab9a492a32483feb218c1b6b4b913e0af985fba288113164e5af1129c0b5fffdb49d7b9aded6647238626b6561dc7125fdeb4eb5" + ] +} diff --git a/packages/owl/owl.0.3.7/opam b/packages/owl/owl.0.3.7/opam index ab0486514e3..5858bd380db 100644 --- a/packages/owl/owl.0.3.7/opam +++ b/packages/owl/owl.0.3.7/opam @@ -10,11 +10,11 @@ doc: "https://owlbarn.github.io/" build: [ ["jbuilder" "subst" "-p" name] {pinned} ["jbuilder" "build" "-p" name "-j" jobs] - ["jbuilder" "runtest" "-p" name "-j" jobs] {with-test} +# ["jbuilder" "runtest" "-p" name "-j" jobs] {with-test} ] depends: [ "ocaml" {>= "4.06.0"} - "alcotest" {with-test & < "1.0.0"} +# "alcotest" {with-test & < "1.0.0"} "base" {build & < "v0.15"} "base-bigarray" "conf-openblas" {>= "0.2.0"} @@ -26,6 +26,7 @@ depends: [ "plplot" "stdio" {build & < "v0.15"} ] +available: [arch = "x86_64"] synopsis: "Owl - An OCaml Numerical Library" description: "Owl is an OCaml numerical library. It supports N-dimensional arrays, both dense and sparse matrix operations, linear algebra, regressions, fast Fourier transforms, and many advanced mathematical and statistical functions (such as Markov chain Monte Carlo methods). Recently, Owl has implemented algorithmic differentiation which essentially makes developing machine learning and neural network algorithms trivial." diff --git a/packages/owl/owl.0.3.8/opam b/packages/owl/owl.0.3.8/opam index 42dde4245d3..485348d6c19 100644 --- a/packages/owl/owl.0.3.8/opam +++ b/packages/owl/owl.0.3.8/opam @@ -10,11 +10,11 @@ doc: "https://owlbarn.github.io/" build: [ ["jbuilder" "subst" "-p" name] {pinned} ["jbuilder" "build" "-p" name "-j" jobs] - ["jbuilder" "runtest" "-p" name "-j" jobs] {with-test} +# ["jbuilder" "runtest" "-p" name "-j" jobs] {with-test} ] depends: [ "ocaml" {>= "4.06.0"} - "alcotest" {with-test & < "1.0.0"} +# "alcotest" {with-test & < "1.0.0"} "base" {build & < "v0.15"} "base-bigarray" "conf-openblas" {>= "0.2.0"} @@ -26,6 +26,7 @@ depends: [ "plplot" "stdio" {build & < "v0.15"} ] +available: [arch = "x86_64"] synopsis: "Owl - An OCaml Numerical Library" description: "Owl is an OCaml numerical library. It supports N-dimensional arrays, both dense and sparse matrix operations, linear algebra, regressions, fast Fourier transforms, and many advanced mathematical and statistical functions (such as Markov chain Monte Carlo methods). Recently, Owl has implemented algorithmic differentiation which essentially makes developing machine learning and neural network algorithms trivial." diff --git a/packages/owl/owl.0.4.0/opam b/packages/owl/owl.0.4.0/opam index e99174f6530..7b316c08163 100644 --- a/packages/owl/owl.0.4.0/opam +++ b/packages/owl/owl.0.4.0/opam @@ -10,11 +10,11 @@ doc: "https://owlbarn.github.io/owl/" build: [ ["dune" "subst"] {pinned} ["dune" "build" "-p" name "-j" jobs] - ["dune" "runtest" "-p" name "-j" jobs] {with-test} +# ["dune" "runtest" "-p" name "-j" jobs] {with-test} ] depends: [ "ocaml" {>= "4.06.0"} - "alcotest" {with-test & < "1.0.0"} +# "alcotest" {with-test & < "1.0.0"} "base" {build & < "v0.15"} "base-bigarray" "conf-openblas" {>= "0.2.0"} @@ -26,6 +26,7 @@ depends: [ "plplot" "stdio" {build & < "v0.15"} ] +available: [arch = "x86_64"] synopsis: "Owl - OCaml Scientific and Engineering Computing" description: "Owl is an OCaml numerical library. It supports N-dimensional arrays, both dense and sparse matrix operations, linear algebra, regressions, fast Fourier transforms, and many advanced mathematical and statistical functions (such as Markov chain Monte Carlo methods). Recently, Owl has implemented algorithmic differentiation which essentially makes developing machine learning and neural network algorithms trivial." diff --git a/packages/owl/owl.1.0.1/opam b/packages/owl/owl.1.0.1/opam new file mode 100644 index 00000000000..f94819582dd --- /dev/null +++ b/packages/owl/owl.1.0.1/opam @@ -0,0 +1,52 @@ +opam-version: "2.0" +maintainer: "Liang Wang " +authors: [ "Liang Wang" ] +license: "MIT" +homepage: "/~https://github.com/owlbarn/owl" +dev-repo: "git+/~https://github.com/owlbarn/owl.git" +bug-reports: "/~https://github.com/owlbarn/owl/issues" +doc: "https://owlbarn.github.io/owl/" +synopsis: "OCaml Scientific and Engineering Computing" +description: """ +Owl: OCaml Scientific and Engineering Computing + +Owl is an OCaml numerical library. +It supports N-dimensional arrays, both dense and sparse matrix operations, linear algebra, regressions, fast Fourier transforms, and many advanced mathematical and statistical functions (such as Markov chain Monte Carlo methods). +Recently, Owl has implemented algorithmic differentiation which essentially makes developing machine learning and neural network algorithms trivial. +""" + +build: [ + [ "dune" "subst" ] {dev} + [ "dune" "build" "-p" name "-j" jobs ] + [ "dune" "runtest" "-p" name "-j" jobs ] {with-test} +] + +depends: [ + "ocaml" {>= "4.10.0"} + "alcotest" {with-test} + "base" {build} + "base-bigarray" + "conf-openblas" {>= "0.2.1"} + "ctypes" {>= "0.16.0"} + "dune" {>= "2.0.0"} + "dune-configurator" + "eigen" {>= "0.3.0"} + "owl-base" {= version} + "stdio" {build} + "npy" +] + +x-ci-accept-failures: [ + "ubuntu-18.04" # /~https://github.com/owlbarn/owl/issues/450 +] + +available: [arch = "x86_64"] + +x-commit-hash: "7e489e58aff3dea09ecd0153c237c2170a42c964" +url { + src: "/~https://github.com/owlbarn/owl/releases/download/1.0.1/owl-1.0.1.tbz" + checksum: [ + "sha256=72ca9f6edd302fdfa16c7559cedac7ac2c885466a367e17ea1ea8807b2dd13ef" + "sha512=72a60fb5b0ee4eea6cd8012aab9a492a32483feb218c1b6b4b913e0af985fba288113164e5af1129c0b5fffdb49d7b9aded6647238626b6561dc7125fdeb4eb5" + ] +} diff --git a/packages/plplot/plplot.5.11.0-1/opam b/packages/plplot/plplot.5.11.0-1/opam index 80ae95eb1e6..61e3dcce325 100644 --- a/packages/plplot/plplot.5.11.0-1/opam +++ b/packages/plplot/plplot.5.11.0-1/opam @@ -13,16 +13,7 @@ depends: [ "ocaml" {>= "4.02.0"} "dune" {>= "2.0.0"} "dune-configurator" -] -depexts: [ - ["libplplot-dev" "libshp-dev"] {os-family = "debian"} - ["plplot"] {os = "macos" & os-distribution = "homebrew"} - ["plpot"] {os-family = "arch"} - ["plplot-devel"] {os-family = "rhel"} - ["plplot-devel"] {os-family = "fedora"} - ["plplot-devel"] {os-family = "suse"} - ["plplot-devel" "epel-release"] {os-distribution = "centos"} - ["plplot"] {os-distribution = "nixos"} + "conf-plplot" ] synopsis: "Bindings for the PLplot library" description: "PLplot is a library for creating scientific plots http://plplot.sf.net/" diff --git a/packages/plplot/plplot.5.11.0/opam b/packages/plplot/plplot.5.11.0/opam index 9854c110120..d6f52c312d0 100644 --- a/packages/plplot/plplot.5.11.0/opam +++ b/packages/plplot/plplot.5.11.0/opam @@ -17,16 +17,7 @@ depends: [ "ocaml" {>= "4.02.0"} "ocamlbuild" {build} "ocamlfind" {build} -] -depexts: [ - ["libplplot-dev" "libshp-dev"] {os-family = "debian"} - ["plplot"] {os = "macos" & os-distribution = "homebrew"} - ["plpot"] {os-family = "arch"} - ["plplot-devel"] {os-family = "rhel"} - ["plplot-devel"] {os-family = "fedora"} - ["plplot-devel"] {os-family = "suse"} - ["plplot-devel" "epel-release"] {os-distribution = "centos"} - ["plplot"] {os-distribution = "nixos"} + "conf-plplot" ] synopsis: "Bindings for the PLplot library" description: """