From d25026677d5923152b7bc5830fb672235301a1b6 Mon Sep 17 00:00:00 2001 From: Andreas Baumbach Date: Fri, 21 May 2021 18:17:12 +0200 Subject: New package: py-pybind11-stubgen (#23732) * New package: py-pybind11-stubgen Change-Id: I865b92e08ecefa6eb1327ee0166544fd4ae22953 * fixup Change-Id: I6030cebecce229d02ab1a20fe6fa501eec22b804 --- .../builtin/packages/py-pybind11-stubgen/package.py | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 var/spack/repos/builtin/packages/py-pybind11-stubgen/package.py diff --git a/var/spack/repos/builtin/packages/py-pybind11-stubgen/package.py b/var/spack/repos/builtin/packages/py-pybind11-stubgen/package.py new file mode 100644 index 0000000000..b3f9d343a4 --- /dev/null +++ b/var/spack/repos/builtin/packages/py-pybind11-stubgen/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 PyPybind11Stubgen(PythonPackage): + """Generates stubs for pybind11-wrapped python modules""" + + homepage = "https://github.com/sizmailov/pybind11-stubgen" + pypi = "pybind11-stubgen/pybind11-stubgen-0.3.0.tar.gz" + + version('0.8.7', sha256='79e24009137cd51ef7201c5b9f4d0d072824b260cff751ec8200a8886e06adbf') + version('0.3.0', sha256='fb9bc977df46d7f1aecd33258e34abbbd01f1f461862c8a2a85341b96e6e6bdf') + + depends_on('py-setuptools', type='build') -- cgit v1.2.3-70-g09d2