From 22ee367794851c67cad00104a02d8c70bccc10f6 Mon Sep 17 00:00:00 2001 From: Andrew-Dunning-NNL <67964561+Andrew-Dunning-NNL@users.noreply.github.com> Date: Wed, 3 Feb 2021 14:53:54 -0500 Subject: py-atpublic: new recipe (#21332) --- .../repos/builtin/packages/py-atpublic/package.py | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 var/spack/repos/builtin/packages/py-atpublic/package.py (limited to 'var') diff --git a/var/spack/repos/builtin/packages/py-atpublic/package.py b/var/spack/repos/builtin/packages/py-atpublic/package.py new file mode 100644 index 0000000000..b32564285a --- /dev/null +++ b/var/spack/repos/builtin/packages/py-atpublic/package.py @@ -0,0 +1,22 @@ +# 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 PyAtpublic(PythonPackage): + """This library provides two very simple decorators that document + the publicness of the names in your module.""" + + homepage = "https://public.readthedocs.io" + pypi = "atpublic/atpublic-2.1.2.tar.gz" + + version('2.1.2', sha256='82a2f2c0343ac67913f67cdee8fa4da294a4d6b863111527a459c8e4d1a646c8') + version('2.1.1', sha256='fa1d48bcb85bbed90f6ffee6936578f65ff0e93aa607397bd88eaeb408bd96d8') + + depends_on('python@3.6:', type=('build', 'run')) + depends_on('py-setuptools', type='build') + depends_on('py-typing-extensions', when='^python@:3.7.999', type=('build', 'run')) -- cgit v1.2.3-70-g09d2