
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
31 lines
1.2 KiB
Python
31 lines
1.2 KiB
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 CommonsLang3(Package):
|
|
"""The standard Java libraries fail to provide enough methods for
|
|
manipulation of its core classes. Apache Commons Lang provides these
|
|
extra methods.
|
|
|
|
Lang provides a host of helper utilities for the java.lang API, notably
|
|
String manipulation methods, basic numerical methods, object reflection,
|
|
concurrency, creation and serialization and System properties. Additionally
|
|
it contains basic enhancements to java.util.Date and a series of utilities
|
|
dedicated to help with building methods, such as hashCode, toString and
|
|
equals."""
|
|
|
|
homepage = "http://commons.apache.org/proper/commons-lang/"
|
|
url = "https://archive.apache.org/dist/commons/lang/binaries/commons-lang3-3.7-bin.tar.gz"
|
|
|
|
version('3.7', sha256='94dc8289ce90b77b507d9257784d9a43b402786de40c164f6e3990e221a2a4d2')
|
|
|
|
extends('jdk')
|
|
depends_on('java@7:', type='run')
|
|
|
|
def install(self, spec, prefix):
|
|
install('commons-lang3-{0}.jar'.format(self.version), prefix)
|