New package: git-fat-git (#10266)

* new package: git-fat

* backport of rsync -> older versions no longer available

Change-Id: I3a41f17df0f88ca11e08ea6fd2f2d381435e0f09

* fix legal stuff and use new git attribute

Change-Id: Ice156dfe8ad4137a861f7b2938ee92f4024142be

* use date as version number rather than hash

Change-Id: Ib537659e368f69124895306d6a6ac0c5e36061a7

* only use the date once

Change-Id: I2592fa28aaa53fed949ddc82959d712ff3f6f752
This commit is contained in:
Andreas Baumbach 2019-01-09 16:07:12 +01:00 committed by Adam J. Stewart
parent 7571787a3a
commit 730c629b09

View File

@ -0,0 +1,26 @@
# Copyright 2013-2019 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
#
# Author: Matteo Giantomassi <matteo.giantomassiNOSPAM AT uclouvain.be>
# Date: October 11, 2016
from spack import *
class GitFatGit(Package):
"""Simple way to handle fat files without committing them to git, supports
synchronization using rsync"""
homepage = "https://github.com/jedbrown/git-fat"
git = "https://github.com/jedbrown/git-fat.git"
version('2018-08-21', commit='e1733b1c7c4169d0a1d31cb76f168fb0880176c0')
depends_on('python', type='run')
depends_on('git', type='run')
depends_on('rsync', type='run')
def install(self, spec, prefix):
install_tree('.', prefix.bin)