diff options
author | Matthias Diener <matthias.diener@gmail.com> | 2019-01-30 21:21:08 -0600 |
---|---|---|
committer | Peter Scheibel <scheibel1@llnl.gov> | 2019-01-30 21:21:08 -0600 |
commit | ec78d362d21d420fe6ee24bf888cb6fc2af37611 (patch) | |
tree | d143f91512a83bb797683b707293b8098d617da4 /var | |
parent | c42528fac2ae3620729b75c196662f97d665f88e (diff) | |
download | spack-ec78d362d21d420fe6ee24bf888cb6fc2af37611.tar.gz spack-ec78d362d21d420fe6ee24bf888cb6fc2af37611.tar.bz2 spack-ec78d362d21d420fe6ee24bf888cb6fc2af37611.tar.xz spack-ec78d362d21d420fe6ee24bf888cb6fc2af37611.zip |
git-lfs: add version 2.6.1, update build system (#10405)
Build system was changed to use a Makefile. Therefore older versions
(which don't support this) are removed. The new build system also
supports testing by default.
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/git-lfs/package.py | 19 |
1 files changed, 6 insertions, 13 deletions
diff --git a/var/spack/repos/builtin/packages/git-lfs/package.py b/var/spack/repos/builtin/packages/git-lfs/package.py index 7ca28736db..53c99d7436 100644 --- a/var/spack/repos/builtin/packages/git-lfs/package.py +++ b/var/spack/repos/builtin/packages/git-lfs/package.py @@ -6,7 +6,7 @@ from spack import * -class GitLfs(Package): +class GitLfs(MakefilePackage): """Git LFS is a system for managing and versioning large files in association with a Git repository. Instead of storing the large files within the Git repository as blobs, Git LFS stores special "pointer @@ -14,23 +14,16 @@ class GitLfs(Package): Git LFS server.""" homepage = "https://git-lfs.github.com" - git = "https://github.com/github/git-lfs.git" + url = "https://github.com/git-lfs/git-lfs/archive/v2.6.1.tar.gz" - version('2.3.0', tag='v2.3.0') - version('2.2.1', tag='v2.2.1') - version('2.0.2', tag='v2.0.2') - version('1.4.1', tag='v1.4.1') - version('1.3.1', tag='v1.3.1') - - # TODO: Add tests by following the instructions at this location: - # https://github.com/github/git-lfs/blob/master/CONTRIBUTING.md#building + version('2.6.1', sha256='e17cd9d4e66d1116be32f7ddc7e660c7f8fabbf510bc01b01ec15a22dd934ead') depends_on('go@1.5:', type='build') depends_on('git@1.8.2:', type='run') - def install(self, spec, prefix): - bootstrap_script = Executable(join_path('script', 'bootstrap')) - bootstrap_script() + parallel = False + # Git-lfs does not provide an 'install' target in the Makefile + def install(self, spec, prefix): mkdirp(prefix.bin) install(join_path('bin', 'git-lfs'), prefix.bin) |