summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-pygame/package.py
blob: 82a0cfd3c75856755855393cab829d1eed2687bf (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# 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 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"))