diff options
author | Wouter Deconinck <wdconinc@gmail.com> | 2020-07-05 15:25:38 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-05 15:25:38 -0500 |
commit | 4e6d189a9469afe4550d95b5340480059d0327ea (patch) | |
tree | 704a50359d3f75e437d432ac9871d835cadbb36a /var | |
parent | 9abadd49855026588909c9c09e1dbc0c8aa0e12d (diff) | |
download | spack-4e6d189a9469afe4550d95b5340480059d0327ea.tar.gz spack-4e6d189a9469afe4550d95b5340480059d0327ea.tar.bz2 spack-4e6d189a9469afe4550d95b5340480059d0327ea.tar.xz spack-4e6d189a9469afe4550d95b5340480059d0327ea.zip |
[opencascade] depends_on freetype, tcl, tk, gl (#17357)
* [opencascade] depends_on freetype, tcl, tk, gl
* [opencascade] new version 7.4.0p1 and url_for_version
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/opencascade/package.py | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/opencascade/package.py b/var/spack/repos/builtin/packages/opencascade/package.py index 8267716e78..7df9668f01 100644 --- a/var/spack/repos/builtin/packages/opencascade/package.py +++ b/var/spack/repos/builtin/packages/opencascade/package.py @@ -16,6 +16,8 @@ class Opencascade(CMakePackage): homepage = "https://www.opencascade.com" url = "http://git.dev.opencascade.org/gitweb/?p=occt.git;a=snapshot;h=refs/tags/V7_4_0;sf=tgz" + version('7.4.0p1', extension='tar.gz', + sha256='e00fedc221560fda31653c23a8f3d0eda78095c87519f338d4f4088e2ee9a9c0') version('7.4.0', extension='tar.gz', sha256='655da7717dac3460a22a6a7ee68860c1da56da2fec9c380d8ac0ac0349d67676') @@ -32,6 +34,14 @@ class Opencascade(CMakePackage): depends_on('vtk', when='+vtk') depends_on('freeimage', when='+freeimage') depends_on('rapidjson', when='+rapidjson') + depends_on('freetype') + depends_on('tcl') + depends_on('tk') + depends_on('gl') + + def url_for_version(self, version): + url = "http://git.dev.opencascade.org/gitweb/?p=occt.git;a=snapshot;h=refs/tags/V{0};sf=tgz" + return url.format(version.underscored) def cmake_args(self): args = [] |