From 8411cc934d2f70ceddd5525f45a0af3e5a5c1678 Mon Sep 17 00:00:00 2001 From: Manuela Kuhn <36827019+manuelakuhn@users.noreply.github.com> Date: Wed, 10 Nov 2021 21:43:46 +0100 Subject: [PATCH] py-setupmeta: add new package (#27327) * py-setupmeta: add new package * Update var/spack/repos/builtin/packages/py-setupmeta/package.py Co-authored-by: Adam J. Stewart Co-authored-by: Adam J. Stewart --- .../builtin/packages/py-setupmeta/package.py | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 var/spack/repos/builtin/packages/py-setupmeta/package.py diff --git a/var/spack/repos/builtin/packages/py-setupmeta/package.py b/var/spack/repos/builtin/packages/py-setupmeta/package.py new file mode 100644 index 0000000000..0b7c9baf39 --- /dev/null +++ b/var/spack/repos/builtin/packages/py-setupmeta/package.py @@ -0,0 +1,18 @@ +# 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 PySetupmeta(PythonPackage): + """Simplify your setup.py.""" + + homepage = "https://github.com/codrsquad/setupmeta" + pypi = "setupmeta/setupmeta-3.3.0.tar.gz" + + version('3.3.0', sha256='32914af4eeffb8bf1bd45057254d9dff4d16cb7ae857141e07698f7ac19dc960') + + depends_on('python@2.7:', type=('build', 'run')) + depends_on('py-setuptools', type=('build', 'run'))