py-find-libpython: new package (#42804)

* py-find-libpython: new package

* Update var/spack/repos/builtin/packages/py-find-libpython/package.py

Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>

---------

Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
This commit is contained in:
Erik Heeren 2024-02-23 13:42:58 +01:00 committed by GitHub
parent 4550fb83c0
commit a26e0ff999
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -0,0 +1,20 @@
# Copyright 2013-2024 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 PyFindLibpython(PythonPackage):
"""Finds the libpython associated with your environment, wherever it may be hiding"""
homepage = "https://github.com/ktbarrett/find_libpython"
pypi = "find_libpython/find_libpython-0.3.0.tar.gz"
license("MIT")
version("0.3.0", sha256="6e7fe5d9af7fad6dc066cb5515a0e9c90a71f1feb2bb2f8e4cdbb4f83276e9e5")
depends_on("py-setuptools@42:", type="build")
depends_on("py-setuptools-scm+toml", type="build")