py-catalogue: add new package (#16287)
This commit is contained in:
parent
441c16bafb
commit
3153610bb8
19
var/spack/repos/builtin/packages/py-catalogue/package.py
Normal file
19
var/spack/repos/builtin/packages/py-catalogue/package.py
Normal file
@ -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)
|
||||
|
||||
|
||||
class PyCatalogue(PythonPackage):
|
||||
"""catalogue: Super lightweight function registries for your library."""
|
||||
|
||||
homepage = "https://github.com/explosion/catalogue"
|
||||
url = "https://pypi.io/packages/source/c/catalogue/catalogue-2.0.0.tar.gz"
|
||||
|
||||
version('2.0.0', sha256='34f8416ec5e7ed08e55c10414416e67c3f4d66edf83bc67320c3290775293816')
|
||||
version('1.0.0', sha256='d74d1d856c6b36a37bf14aa6dbbc27d0582667b7ab979a6108e61a575e8723f5')
|
||||
|
||||
depends_on('python@3.6:', when='@2:', type=('build', 'run'))
|
||||
depends_on('python@2.7:2.8,3.4:', type=('build', 'run'))
|
||||
depends_on('py-setuptools', type='build')
|
||||
depends_on('py-importlib-metadata@0.20:', when='^python@:3.7', type=('build', 'run'))
|
Loading…
Reference in New Issue
Block a user