
* py-build: new versions 0.10.0 (-> flit) py-build switched to flit with 0.10, https://github.com/pypa/build/blob/0.10.0/pyproject.toml ``` ==> py-build: Successfully installed py-build-0.10.0-twgngkplyegllaovlp45r76nsk7bqezw ``` * py-pyproject-hooks: new package 1.0.0 * py-build: depends_on py-pyproject-hooks * py-pyproject-hooks: use pypi url and hash * py-build: replace patch with filter_file * py-build: remove patch in favor of filter_file
19 lines
678 B
Python
19 lines
678 B
Python
# Copyright 2013-2023 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.package import *
|
|
|
|
|
|
class PyPyprojectHooks(PythonPackage):
|
|
"""Wrappers to call pyproject.toml-based build backend hooks."""
|
|
|
|
homepage = "https://github.com/pypa/pyproject-hooks"
|
|
pypi = "pyproject_hooks/pyproject_hooks-1.0.0.tar.gz"
|
|
|
|
version("1.0.0", sha256="f271b298b97f5955d53fb12b72c1fb1948c22c1a6b70b315c54cedaca0264ef5")
|
|
|
|
depends_on("py-flit-core@3.2:3", type="build")
|
|
depends_on("py-tomli@1.1:", when="^python@:3.10", type=("build", "run"))
|