summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-xpyb/package.py
blob: 27afdad8d92387cb384de9530c48c5f7dd1799a1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# 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 PyXpyb(AutotoolsPackage):
    """xpyb provides a Python binding to the X Window System protocol
    via libxcb."""

    homepage = "https://xcb.freedesktop.org/"
    url = "https://xcb.freedesktop.org/dist/xpyb-1.3.1.tar.gz"

    version("1.3.1", sha256="4056d11f94f17ed4342563955682193c7d004e80e5fa689816f87f3795549c17")

    extends("python")

    depends_on("libxcb@1.5:")

    depends_on("xcb-proto@1.7.1:")