Pacifica spack integration work (#20485)
* Add intel cluster package update2 for 2020 * add pacifica cli tools, and pager * remove boilerplate code * update flake8 lints * update flake8 lint, missed one * add a description for pager * Shorten a line * Remove whitespace * check on dependencies and move urls to proper place * Remove import package as it seems it is not required * add requests to the uploader config * remove blank Line * change to build and run for packages * add run and build to the packages * move from url method to pypi method * adjust requirements based on feedback from adamjstewart * remove python 3 requirement, and add setuptools-scm * remove dependence on python Co-authored-by: Evan Felix <evan.felix@pnnl.gov>
This commit is contained in:
parent
1fa16c1b9b
commit
4d1d435330
23
var/spack/repos/builtin/packages/pacifica-cli/package.py
Normal file
23
var/spack/repos/builtin/packages/pacifica-cli/package.py
Normal file
@ -0,0 +1,23 @@
|
||||
# Copyright 2013-2020 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 PacificaCli(PythonPackage):
|
||||
"""Python CLI for Pacifica Core Services"""
|
||||
|
||||
homepage = "https://github.com/pacifica/pacifica-cli/"
|
||||
pypi = "pacifica-cli/pacifica-cli-0.5.2.tar.gz"
|
||||
|
||||
version('0.5.2', sha256='fee5fa8ac38ffec2e9199bff23afbbae697c4f7554f13e340104f8b20a62843f')
|
||||
|
||||
depends_on('py-setuptools', type='build')
|
||||
depends_on('py-setuptools-scm', type='build')
|
||||
depends_on('py-jsonschema', type=('build', 'run'))
|
||||
depends_on('py-pacifica-uploader@0.3.1:', type=('build', 'run'))
|
||||
depends_on('py-pacifica-downloader@0.4.1:', type=('build', 'run'))
|
||||
depends_on('py-pacifica-namespace', type=('build', 'run'))
|
||||
depends_on('py-pager', type=('build', 'run'))
|
@ -0,0 +1,19 @@
|
||||
# Copyright 2013-2020 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 PyPacificaDownloader(PythonPackage):
|
||||
"""Python Pacifica Download Library"""
|
||||
|
||||
homepage = "https://github.com/pacifica/pacifica-python-downloader/"
|
||||
pypi = "pacifica-downloader/pacifica-downloader-0.4.1.tar.gz"
|
||||
|
||||
version('0.4.1', sha256='11da2032a07ca7bb06fed38dc8d7c4c57267ff98c5fd925271083e18dd85d9f4')
|
||||
|
||||
depends_on('py-setuptools', type='build')
|
||||
depends_on('py-setuptools-scm', type='build')
|
||||
depends_on('py-requests', type=('build', 'run'))
|
@ -0,0 +1,18 @@
|
||||
# Copyright 2013-2020 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 PyPacificaNamespace(PythonPackage):
|
||||
"""Python Pacifica Namespace Library"""
|
||||
|
||||
homepage = "https://github.com/pacifica/pacifica-namespace/"
|
||||
pypi = "pacifica-namespace/pacifica-namespace-0.0.2.tar.gz"
|
||||
|
||||
version('0.0.2', sha256='a8f59aea1203a1557f7f57887b61e92f8450c74a8522798c5ddecf8fffb0b224')
|
||||
|
||||
depends_on('py-setuptools', type='build')
|
||||
depends_on('py-setuptools-scm', type='build')
|
@ -0,0 +1,19 @@
|
||||
# Copyright 2013-2020 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 PyPacificaUploader(PythonPackage):
|
||||
"""Python Pacifica Uploader Library"""
|
||||
|
||||
homepage = "https://github.com/pacifica/pacifica-python-uploader/"
|
||||
pypi = "pacifica-uploader/pacifica-uploader-0.3.1.tar.gz"
|
||||
|
||||
version('0.3.1', sha256='adda18b28f01f0b1e6fbaf927fec9b8cf07c86f1b74185bed2a624e8a4597578')
|
||||
|
||||
depends_on('py-setuptools', type='build')
|
||||
depends_on('py-setuptools-scm', type='build')
|
||||
depends_on('py-requests', type=('build', 'run'))
|
16
var/spack/repos/builtin/packages/py-pager/package.py
Normal file
16
var/spack/repos/builtin/packages/py-pager/package.py
Normal file
@ -0,0 +1,16 @@
|
||||
# Copyright 2013-2020 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 PyPager(PythonPackage):
|
||||
"""Python module that pages output to the screen,
|
||||
reads keys and console dimensions without executing external utils."""
|
||||
|
||||
homepage = "http://bitbucket.org/techtonik/python-pager"
|
||||
pypi = "pager/pager-3.3.tar.gz"
|
||||
|
||||
version('3.3', sha256='18aa45ec877dca732e599531c7b3b0b22ed6a4445febdf1bdf7da2761cca340d')
|
Loading…
Reference in New Issue
Block a user