From 76d25aa76bf4655a85c78725fe5c76c1792717c9 Mon Sep 17 00:00:00 2001 From: DaxLynch Date: Thu, 6 Jul 2023 11:57:25 -0700 Subject: [PATCH] Added packages bitstruct, callmonitor, and PYnvtx --- .../builtin/packages/py-bitstruct/package.py | 38 ++++++++++++++++++ .../packages/py-callmonitor/package.py | 38 ++++++++++++++++++ .../repos/builtin/packages/py-nvtx/package.py | 39 +++++++++++++++++++ 3 files changed, 115 insertions(+) create mode 100644 var/spack/repos/builtin/packages/py-bitstruct/package.py create mode 100644 var/spack/repos/builtin/packages/py-callmonitor/package.py create mode 100644 var/spack/repos/builtin/packages/py-nvtx/package.py diff --git a/var/spack/repos/builtin/packages/py-bitstruct/package.py b/var/spack/repos/builtin/packages/py-bitstruct/package.py new file mode 100644 index 00000000000..a1702a31c7b --- /dev/null +++ b/var/spack/repos/builtin/packages/py-bitstruct/package.py @@ -0,0 +1,38 @@ +# Copyright 2013-2022 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) + +# ---------------------------------------------------------------------------- +# If you submit this package back to Spack as a pull request, +# please first remove this boilerplate and all FIXME comments. +# +# This is a template package file for Spack. We've put "FIXME" +# next to all the things you'll want to change. Once you've handled +# them, you can save this file and test your package like this: +# +# spack install py-bitstruct +# +# You can edit this file again by typing: +# +# spack edit py-bitstruct +# +# See the Spack documentation for more information on packaging. +# ---------------------------------------------------------------------------- + +from spack.package import * + + +class PyBitstruct(PythonPackage): + """FIXME: Put a proper description of your package here.""" + + # FIXME: Add a proper url for your package's homepage here. + homepage = "https://github.com/eerimoq/bitstruct" + pypi = "bitstruct/bitstruct-8.17.0.tar.gz" + + maintainers("DaxLynch") + + version("8.17.0", sha256="eb94b40e4218a23aa8f90406b836a9e6ed83e48b8d112ce3f96408463bd1b874") + + depends_on("py-setuptools", type="build") + diff --git a/var/spack/repos/builtin/packages/py-callmonitor/package.py b/var/spack/repos/builtin/packages/py-callmonitor/package.py new file mode 100644 index 00000000000..99eb1bd97ce --- /dev/null +++ b/var/spack/repos/builtin/packages/py-callmonitor/package.py @@ -0,0 +1,38 @@ +# Copyright 2013-2022 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) + +# ---------------------------------------------------------------------------- +# If you submit this package back to Spack as a pull request, +# please first remove this boilerplate and all FIXME comments. +# +# This is a template package file for Spack. We've put "FIXME" +# next to all the things you'll want to change. Once you've handled +# them, you can save this file and test your package like this: +# +# spack install py-callmonitor +# +# You can edit this file again by typing: +# +# spack edit py-callmonitor +# +# See the Spack documentation for more information on packaging. +# ---------------------------------------------------------------------------- + +from spack.package import * + + +class PyCallmonitor(PythonPackage): + """FIXME: Put a proper description of your package here.""" + + # FIXME: Add a proper url for your package's homepage here. + homepage = "https://github.com/JBlaschke/call-monitor" + pypi = "callmonitor/callmonitor-0.3.7.tar.gz" + + maintainers("DaxLynch") + + version("0.3.7", sha256="11bacfe5940c3f6aff223e8e761b033d540542b4d738f7fef38cd923b3be0cbc") + + depends_on("py-setuptools", type="build") + diff --git a/var/spack/repos/builtin/packages/py-nvtx/package.py b/var/spack/repos/builtin/packages/py-nvtx/package.py new file mode 100644 index 00000000000..91a42ce229b --- /dev/null +++ b/var/spack/repos/builtin/packages/py-nvtx/package.py @@ -0,0 +1,39 @@ +# Copyright 2013-2022 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) + +# ---------------------------------------------------------------------------- +# If you submit this package back to Spack as a pull request, +# please first remove this boilerplate and all FIXME comments. +# +# This is a template package file for Spack. We've put "FIXME" +# next to all the things you'll want to change. Once you've handled +# them, you can save this file and test your package like this: +# +# spack install py-nvtx +# +# You can edit this file again by typing: +# +# spack edit py-nvtx +# +# See the Spack documentation for more information on packaging. +# ---------------------------------------------------------------------------- + +from spack.package import * + + +class PyNvtx(PythonPackage): + """FIXME: Put a proper description of your package here.""" + + # FIXME: Add a proper url for your package's homepage here. + homepage = "https://github.com/JBlaschke/PyNVTX/tree/master" + pypi = "PyNVTX/PyNVTX-0.3.3.tar.gz" + + maintainers("DaxLynch") + + version("0.3.3", sha256="8877b2d90bbf9d279d517a80a8f35a0a0a8179ebabf0729e806798a84bee6c72") + + depends_on("py-setuptools", type="build") + depends_on("py-pybind11", type=("build", "run")) +