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 <ajstewart426@gmail.com>

* Update var/spack/repos/builtin/packages/py-scikit-build/package.py

Co-Authored-By: Adam J. Stewart <ajstewart426@gmail.com>

* Update package.py

Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
This commit is contained in:
Corey adams 2020-01-08 10:06:47 -06:00 committed by Adam J. Stewart
parent 2028687efe
commit de93830b9a

View File

@ -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'))