diff options
author | Henrique Finger Zimerman <henfinzim@gmail.com> | 2023-12-17 03:06:44 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-17 00:06:44 -0600 |
commit | 49616d30203770393d7dd519af2c1ac2c7f074d4 (patch) | |
tree | 72d9fdbf13955be9cb2ada7c2a1941b0959038d5 /var | |
parent | 8467f8ae8abc79372b0ec6260e5e269dfe2dba8f (diff) | |
download | spack-49616d30203770393d7dd519af2c1ac2c7f074d4.tar.gz spack-49616d30203770393d7dd519af2c1ac2c7f074d4.tar.bz2 spack-49616d30203770393d7dd519af2c1ac2c7f074d4.tar.xz spack-49616d30203770393d7dd519af2c1ac2c7f074d4.zip |
Add new python package to spack - py-pygame (game development package) (#41477)
Add pygame to spack
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/py-pygame/package.py | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-pygame/package.py b/var/spack/repos/builtin/packages/py-pygame/package.py new file mode 100644 index 0000000000..0ad8055da4 --- /dev/null +++ b/var/spack/repos/builtin/packages/py-pygame/package.py @@ -0,0 +1,23 @@ +# 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 PyPygame(PythonPackage): + """Pygame is a free and open-source cross-platform library for the development + of multimedia applications like video games using Python. It uses the Simple + DirectMedia Layer library and several other popular libraries to abstract + the most common functions, making writing these programs a more intuitive task.""" + + homepage = "https://www.pygame.org/" + url = "https://pypi.org/project/pygame/2.5.2/" + + license("LGPL-2.1-only") + + version("2.5.2", sha256="c1b89eb5d539e7ac5cf75513125fb5f2f0a2d918b1fd6e981f23bf0ac1b1c24a") + + depends_on("py-setuptools", type="build") + depends_on("python@3.6:", type=("build", "run")) |