ophidia-analytics-framework: new package at v1.7 (#33567)

* ophidia-analytics-framework: new package at v1.7
* Fix code style in ophidia-analytics-framework

Co-authored-by: SoniaScard <SoniaScard@users.noreply.github.com>
Co-authored-by: Donatello Elia <eldoo@users.noreply.github.com>
This commit is contained in:
SoniaScard 2022-10-27 22:42:58 +02:00 committed by GitHub
parent a8c0a662a1
commit 600948558d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -0,0 +1,49 @@
# Copyright 2013-2022 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.package import *
class OphidiaAnalyticsFramework(AutotoolsPackage):
"""Core modules and operators of the Ophidia framework"""
homepage = "https://github.com/OphidiaBigData/ophidia-analytics-framework"
url = "https://github.com/OphidiaBigData/ophidia-analytics-framework/archive/refs/tags/v1.7.1.tar.gz"
maintainers = ["eldoo", "SoniaScard"]
version(
"1.7.1",
sha256="565050b90ce1cefc59136c835a335ca7981fec792df7a1ee9309b24c05b275d6",
)
depends_on("autoconf", type="build")
depends_on("automake", type="build")
depends_on("libtool", type="build")
depends_on("m4", type="build")
depends_on("pkg-config", type="build")
depends_on("gsl")
depends_on("mpich")
depends_on("jansson")
depends_on("libxml2")
depends_on("libssh2")
depends_on("openssl")
depends_on("mysql")
depends_on("netcdf-c")
depends_on("curl")
depends_on("ophidia-io-server")
def autoreconf(self, spec, prefix):
autoreconf("--install", "--verbose", "--force")
def configure_args(self):
args = [
"--enable-parallel-netcdf",
"--with-web-server-path={0}/html".format(
self.spec["ophidia-analytics-framework"].prefix
),
"--with-web-server-url=http://127.0.0.1/ophidia",
"--with-ophidiaio-server-path={0}".format(self.spec["ophidia-io-server"].prefix),
]
return args