spack/var/spack/repos/builtin/packages/pacifica-cli/package.py
Evan Felix 4d1d435330
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>
2021-03-09 13:13:51 +00:00

24 lines
916 B
Python

# 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'))