py-pooch: add new package (#21972)
This commit is contained in:
parent
46905bb445
commit
229c6ae277
1 changed files with 23 additions and 0 deletions
23
var/spack/repos/builtin/packages/py-pooch/package.py
Normal file
23
var/spack/repos/builtin/packages/py-pooch/package.py
Normal file
|
@ -0,0 +1,23 @@
|
|||
# Copyright 2013-2021 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 PyPooch(PythonPackage):
|
||||
"""Pooch manages your Python library's sample data files: it automatically
|
||||
downloads and stores them in a local directory, with support for versioning
|
||||
and corruption checks."""
|
||||
|
||||
homepage = "https://github.com/fatiando/pooch"
|
||||
pypi = "pooch/pooch-1.3.0.tar.gz"
|
||||
|
||||
version('1.3.0', sha256='30d448e825904e2d763bbbe418831a788813c32f636b21c8d60ee5f474532898')
|
||||
|
||||
depends_on('python@3.6:', type=('build', 'run'))
|
||||
depends_on('py-setuptools', type='build')
|
||||
depends_on('py-requests', type=('build', 'run'))
|
||||
depends_on('py-packaging', type=('build', 'run'))
|
||||
depends_on('py-appdirs', type=('build', 'run'))
|
Loading…
Reference in a new issue