summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/py-pygame/package.py23
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"))