From 72f41a65911f2f45cf7b236d4d5545f021b5d75b Mon Sep 17 00:00:00 2001 From: Manuela Kuhn <36827019+manuelakuhn@users.noreply.github.com> Date: Thu, 11 Nov 2021 17:48:46 +0100 Subject: [PATCH] py-interface-meta: add new package (#27340) --- .../packages/py-interface-meta/package.py | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 var/spack/repos/builtin/packages/py-interface-meta/package.py diff --git a/var/spack/repos/builtin/packages/py-interface-meta/package.py b/var/spack/repos/builtin/packages/py-interface-meta/package.py new file mode 100644 index 0000000000..d7b5f95d9b --- /dev/null +++ b/var/spack/repos/builtin/packages/py-interface-meta/package.py @@ -0,0 +1,20 @@ +# 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 PyInterfaceMeta(PythonPackage): + """A convenient way to expose an extensible API with enforced method + signatures and consistent documentation.""" + + homepage = "https://github.com/matthewwardrop/interface_meta" + pypi = "interface_meta/interface_meta-1.2.4.tar.gz" + + version('1.2.4', sha256='4c7725dd4b80f97b7eecfb26023e1a8a7cdbb6d6a7207a8e93f9d4bfef9ee566') + + depends_on('python@3.4:', type=('build', 'run')) + depends_on('py-setuptools', type='build') + depends_on('py-setupmeta', type='build')