Alluxio (package): update url, add versions (#17805)

* Add versions 2.2.1 and 2.2.0
* Remove version 2.1.0
* Add dependency on Java
This commit is contained in:
darmac 2020-08-01 02:25:22 +08:00 committed by GitHub
parent cab2af9a71
commit b7e0fec5f0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -7,17 +7,20 @@
class Alluxio(Package): class Alluxio(Package):
""" """Alluxio (formerly known as Tachyon) is a virtual distributed storage
Alluxio (formerly known as Tachyon) is a virtual distributed storage
system. It bridges the gap between computation frameworks and storage system. It bridges the gap between computation frameworks and storage
systems, enabling computation applications to connect to numerous systems, enabling computation applications to connect to numerous
storage systems through a common interface. storage systems through a common interface."""
"""
homepage = "https://github.com/Alluxio/alluxio" homepage = "https://www.alluxio.io"
url = "https://github.com/Alluxio/alluxio/archive/v2.1.0.tar.gz" url = "https://downloads.alluxio.io/downloads/files/2.2.1/alluxio-2.2.1-bin.tar.gz"
list_url = "https://downloads.alluxio.io/downloads/files"
list_depth = 1
version('2.1.0', sha256='c8b5b7848488e0ac10b093eea02ef05fa822250669d184291cc51b2f8aac253e') version('2.2.1', sha256='0c6b0afcc4013437afb8113e1dfda9777561512269ea349c7fbf353dc0efd28a')
version('2.2.0', sha256='635847ea1a0f8ad04c99518620de035d4962fbfa9e5920bb0911ccf8e5ea82fc')
depends_on('java@8', type='run')
def install(self, spec, prefix): def install(self, spec, prefix):
install_tree('.', prefix) install_tree('.', prefix)