spack/var/spack/repos/builtin/packages/py-wxpython/package.py
Harmen Stoppels fce95e2efb
license year bump (#34921)
* license bump year
* fix black issues of modified files
* mypy
* fix 2021 -> 2023
2023-01-18 14:30:17 -08:00

28 lines
916 B
Python

# 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 PyWxpython(PythonPackage):
"""Cross platform GUI toolkit for Python."""
homepage = "https://www.wxpython.org/"
pypi = "wxPython/wxPython-4.0.6.tar.gz"
version("4.1.1", sha256="00e5e3180ac7f2852f342ad341d57c44e7e4326de0b550b9a5c4a8361b6c3528")
version("4.0.6", sha256="35cc8ae9dd5246e2c9861bb796026bbcb9fb083e4d49650f776622171ecdab37")
depends_on("wxwidgets")
# Needed for the build.py script
depends_on("py-setuptools", type="build")
depends_on("py-pathlib2", type="build")
# Needed at runtime
depends_on("py-numpy", type=("build", "run"))
depends_on("pil", type=("build", "run"))
depends_on("py-six", type=("build", "run"))