From de93830b9aa8360b8e7bc550a56a5da8559e6f26 Mon Sep 17 00:00:00 2001 From: Corey adams Date: Wed, 8 Jan 2020 10:06:47 -0600 Subject: Adding a new package, scikit-build, which is useful for building Python Extensions (#14417) * Adding a new package, scikit-build, which is very useful for building python extensions * Update package.py * Update package.py Trying to address flake8 corrections * Update var/spack/repos/builtin/packages/py-scikit-build/package.py Co-Authored-By: Adam J. Stewart * Update var/spack/repos/builtin/packages/py-scikit-build/package.py Co-Authored-By: Adam J. Stewart * Update package.py Co-authored-by: Adam J. Stewart --- .../builtin/packages/py-scikit-build/package.py | 27 ++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 var/spack/repos/builtin/packages/py-scikit-build/package.py diff --git a/var/spack/repos/builtin/packages/py-scikit-build/package.py b/var/spack/repos/builtin/packages/py-scikit-build/package.py new file mode 100644 index 0000000000..911a6edf15 --- /dev/null +++ b/var/spack/repos/builtin/packages/py-scikit-build/package.py @@ -0,0 +1,27 @@ +# Copyright 2013-2019 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 PyScikitBuild(PythonPackage): + """scikit-build is an improved build system generator for CPython + C/C++/Fortran/Cython extensions. It provides better support for + additional compilers, build systems, cross compilation, and + locating dependencies and their associated build requirements. + + The scikit-build package is fundamentally just glue between + the setuptools Python module and CMake.""" + + homepage = "https://scikit-build.readthedocs.io/en/latest/" + url = "https://github.com/scikit-build/scikit-build/archive/0.10.0.tar.gz" + + maintainers = ['coreyjadams'] + + version('0.10.0', sha256='2beec252813b20327072c15e9d997f15972aedcc6a130d0154979ff0fdb1b010') + + depends_on('py-setuptools@28.0.0:', type=('build', 'run')) + depends_on('py-packaging', type=('build', 'run')) + depends_on('py-wheel@0.29.0:', type=('build', 'run')) -- cgit v1.2.3-70-g09d2