
We'd like to use a consistent checksum scheme everywhere so that we can: a) incorporate archive checksums into our specs and have a consistent hashing algorithm across all specs. b) index mirrors with a consistent type of checksum, and not one that is dependent on how spack packages are written. - [x] convert existing md5, sha224, sha512, sha1 checksums to sha256
24 lines
854 B
Python
24 lines
854 B
Python
# 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)
|
|
|
|
from spack import *
|
|
|
|
|
|
class RubyRonn(Package):
|
|
"""Ronn builds manuals. It converts simple, human readable textfiles to
|
|
roff for terminal display, and also to HTML for the web."""
|
|
|
|
homepage = "https://rubygems.org/gems/ronn"
|
|
url = "https://github.com/rtomayko/ronn/archive/0.7.3.tar.gz"
|
|
|
|
version('0.7.3', sha256='808aa6668f636ce03abba99c53c2005cef559a5099f6b40bf2c7aad8e273acb4')
|
|
version('0.7.0', sha256='ea14337093de8707aa8a67b97357332fa8a03b0df722bdbf4f027fbe4379b185')
|
|
|
|
extends('ruby')
|
|
|
|
def install(self, spec, prefix):
|
|
gem('build', 'ronn.gemspec')
|
|
gem('install', 'ronn-{0}.gem'.format(self.version))
|