spack/var/spack/repos/builtin/packages/py-pacifica-uploader/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

20 lines
689 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 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'))