summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony Scemama <scemama@irsamc.ups-tlse.fr>2020-02-24 14:59:59 +0100
committerGitHub <noreply@github.com>2020-02-24 07:59:59 -0600
commit48d6da3b6e3bfa941e41a4560edace4674adc71b (patch)
tree8322ae5689f96d98eeb21959e3a9517ba5b6c0c5
parent79dcf835b22cfe34b519706781e564d280663c28 (diff)
downloadspack-48d6da3b6e3bfa941e41a4560edace4674adc71b.tar.gz
spack-48d6da3b6e3bfa941e41a4560edace4674adc71b.tar.bz2
spack-48d6da3b6e3bfa941e41a4560edace4674adc71b.tar.xz
spack-48d6da3b6e3bfa941e41a4560edace4674adc71b.zip
Added extra versions of OCaml (#15177)
* Aded extra versions for OCaml * Added maintainer
-rw-r--r--var/spack/repos/builtin/packages/ocaml/package.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/ocaml/package.py b/var/spack/repos/builtin/packages/ocaml/package.py
index 34ff99eb93..f155c55c13 100644
--- a/var/spack/repos/builtin/packages/ocaml/package.py
+++ b/var/spack/repos/builtin/packages/ocaml/package.py
@@ -13,11 +13,22 @@ class Ocaml(Package):
homepage = "http://ocaml.org/"
url = "https://caml.inria.fr/pub/distrib/ocaml-4.06/ocaml-4.06.0.tar.gz"
+ maintainers = ['scemama']
+
+ version('4.10.0', sha256='58d431dde66f5750ebe9b15d5a1c4872f80d283dec23448689b0d1a498b7e4c7')
+ version('4.09.0', sha256='2b728f8a0e90da14f22fdc04660f2ab33819cdbb12bff0ceae3fdbb0133cf7a6')
+ version('4.08.1', sha256='ee50118ee88472fd4b64311fa560f8f8ab66a1899f0117815c69a16070980f78')
+ version('4.08.0', sha256='e6e244f893f2070ebcdeac0637fbe2054fd82deebefefa3e3ed85a405cd4ecd8')
+ version('4.07.1', sha256='2ad43be17ed5c74ea27887ae0cc4793b835408180c0b9175bc9ad53082a59af4')
+ version('4.07.0', sha256='50e10b0c4e28300cb889e56839ec9e07e2847a85e04bfbd5a7ed0290b7239ef8')
+ version('4.06.1', sha256='0c38c6f531103e87fab1c218a7e76287d7cb4d7ee4dea64e7f85952af3b1b50e')
version('4.06.0', sha256='c17578e243c4b889fe53a104d8927eb8749c7be2e6b622db8b3c7b386723bf50')
version('4.03.0', sha256='7fdf280cc6c0a2de4fc9891d0bf4633ea417046ece619f011fd44540fcfc8da2')
depends_on('ncurses')
+ sanity_check_file = ['bin/ocaml']
+
def url_for_version(self, version):
url = "http://caml.inria.fr/pub/distrib/ocaml-{0}/ocaml-{1}.tar.gz"
return url.format(str(version)[:-2], version)