Update neovim build and libvterm (#19015)

* Fixed wrong link to version 0.0.0 and add hash for version 0.1.4

* Fix failing build for neovim@master and neovim@stable and add hash for version 0.4.0

* Fix flake8 issues

* Removed unnecessary newline

* Depedency conditions restriction to neovim >= 0.2.0 as previous versions fail to compile

* Removed build dependency on git

* Removed master from all conditions
This commit is contained in:
hhoeflin 2020-10-13 20:18:08 +02:00 committed by GitHub
parent b84812256d
commit 74a30bc624
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 13 additions and 11 deletions

View File

@ -3,6 +3,7 @@
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
from spack import *
@ -11,8 +12,9 @@ class Libvterm(Package):
homepage = "http://www.leonerd.org.uk/code/libvterm/"
url = "http://www.leonerd.org.uk/code/libvterm/libvterm-0.1.3.tar.gz"
version('0.1.4', sha256='bc70349e95559c667672fc8c55b9527d9db9ada0fb80a3beda533418d782d3dd')
version('0.1.3', sha256='e41724466a4658e0f095e8fc5aeae26026c0726dce98ee71d6920d06f7d78e2b')
version('0.0.0', sha256='6344eca01c02e2270348b79e033c1e0957028dbcd76bc784e8106bea9ec3029d', url='http://www.leonerd.org.uk/code/libvterm/libvterm-0+bzr728.tar.gz')
version('0.0.0', sha256='6344eca01c02e2270348b79e033c1e0957028dbcd76bc784e8106bea9ec3029d', url='http://www.leonerd.org.uk/code/libvterm/libvterm-0+bzr726.tar.gz')
depends_on('libtool', type='build')

View File

@ -3,7 +3,6 @@
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
from spack import *
@ -16,6 +15,7 @@ class Neovim(CMakePackage):
version('master', branch='master')
version('stable', tag='stable')
version('0.4.4', sha256='2f76aac59363677f37592e853ab2c06151cca8830d4b3fe4675b4a52d41fc42c')
version('0.4.3', sha256='91a0b5d32204a821bf414690e6b48cf69224d1961d37158c2b383f6a6cf854d2')
version('0.3.4', sha256='a641108bdebfaf319844ed46b1bf35d6f7c30ef5aeadeb29ba06e19c3274bc0e')
version('0.3.1', sha256='bc5e392d4c076407906ccecbc283e1a44b7832c2f486cad81aa04cc29973ad22')
@ -27,24 +27,24 @@ class Neovim(CMakePackage):
depends_on('cmake@3.0:', type='build')
depends_on('pkgconfig', type='build')
depends_on('gettext', type=('build', 'link'))
depends_on('lua@5.1:5.2', type=('build', 'link'))
depends_on('lua@5.1.0:5.1.9', type=('build', 'link'))
depends_on('lua-lpeg', type='link')
depends_on('lua-mpack', type='link')
depends_on('lua-bitlib', type='link')
depends_on('libuv', type='link')
depends_on('libuv@1.28:', type='link', when='@0.4:')
depends_on('libuv@1.28:', type='link', when='@0.4:,stable')
depends_on('jemalloc', type='link')
depends_on('libtermkey', type='link')
depends_on('libtermkey@0.18:', type='link', when='@0.3.4:')
depends_on('libvterm@0.0', type='link', when='@:0.3')
depends_on('libvterm@0.1:', type='link', when='@0.4:')
depends_on('libtermkey@0.18:', type='link', when='@0.3.4:,stable')
depends_on('libvterm@0.0.0', type='link', when='@0.2.0:0.3')
depends_on('libvterm@0.1:', type='link', when='@0.4:,stable')
depends_on('unibilium', type='link')
depends_on('unibilium@:1.2.0', type='link', when='@:0.2.0')
depends_on('unibilium@2.0:', type='link', when='@0.4:')
depends_on('unibilium@:1.2.0', type='link', when='@0.2.0')
depends_on('unibilium@2.0:', type='link', when='@0.4:,stable')
depends_on('msgpack-c', type='link')
depends_on('msgpack-c@1.0.0:', type='link', when='@0.4:')
depends_on('msgpack-c@1.0.0:', type='link', when='@0.4:,stable')
depends_on('gperf', type='link')
depends_on('libluv@1.30.0:', type='link', when='@0.4:')
depends_on('libluv@1.30.0:', type='link', when='@0.4:,stable')
def cmake_args(self):
return ['-DPREFER_LUA=ON']