diff options
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/mpark-variant/package.py | 6 | ||||
-rw-r--r-- | var/spack/repos/builtin/packages/mpark-variant/version.patch | 11 |
2 files changed, 15 insertions, 2 deletions
diff --git a/var/spack/repos/builtin/packages/mpark-variant/package.py b/var/spack/repos/builtin/packages/mpark-variant/package.py index 86f3cf3a4d..72bcc306da 100644 --- a/var/spack/repos/builtin/packages/mpark-variant/package.py +++ b/var/spack/repos/builtin/packages/mpark-variant/package.py @@ -9,8 +9,9 @@ from spack import * class MparkVariant(CMakePackage): """C++17 `std::variant` for C++11/14/17""" - homepage = "https://mpark.github.io/variant" - url = "https://github.com/mpark/variant/archive/v1.3.0.tar.gz" + homepage = "https://github.com/mpark/variant" + url = "https://github.com/mpark/variant/archive/v1.4.0.tar.gz" + git = "https://github.com/mpark/variant.git" maintainers = ['ax3l'] version('1.4.0', sha256='8f6b28ab3640b5d76d5b6664dda7257a4405ce59179220431b8fd196c79b2ecb') @@ -18,6 +19,7 @@ class MparkVariant(CMakePackage): # Ref.: https://github.com/mpark/variant/pull/73 patch('nvcc.patch', when='@:1.4.0') + patch('version.patch', when='@1.4.0') cxx11_msg = 'MPark.Variant needs a C++11-capable compiler. ' \ 'See https://github.com/mpark/variant#requirements' diff --git a/var/spack/repos/builtin/packages/mpark-variant/version.patch b/var/spack/repos/builtin/packages/mpark-variant/version.patch new file mode 100644 index 0000000000..56db93c87e --- /dev/null +++ b/var/spack/repos/builtin/packages/mpark-variant/version.patch @@ -0,0 +1,11 @@ +--- ./CMakeLists.txt 2021-02-21 17:27:04.709115800 -0700 ++++ ./CMakeLists.txt.new 2021-02-21 17:27:35.589115800 -0700 +@@ -7,7 +7,7 @@ + + cmake_minimum_required(VERSION 3.6.3) + +-project(MPark.Variant VERSION 1.3.0 LANGUAGES CXX) ++project(MPark.Variant VERSION 1.4.0 LANGUAGES CXX) + + # Option. + set(MPARK_VARIANT_INCLUDE_TESTS "" CACHE STRING |