
* Bump the package API of the `builtin` repo to `v2.0` * Move `var/spack/repos/builtin` -> `var/spack/repos/spack_repo/builtin` * Move test repos `var/spack/repos/{builtin.mock,tutorial,...}` -> `var/spack/test_repos/` * Update package dir names to v2 format (`-` -> `_` etc) * Change absolute imports `from spack.pkg.builtin.my_pkg ...` to relative imports `from ..my_pkg.package ...` Users who have a repo on top of builtin should change imports from ```python from spack.pkg.builtin.my_pkg import MyPkg ``` to ```python from spack_repo.builtin.packages.my_pkg.package import MyPkg ``` and can configure their editors with ``` PYTHONPATH=$spack/lib/spack:$spack/var/spack/repos ``` [skip-verify-checksums]
32 lines
1001 B
Python
32 lines
1001 B
Python
# Copyright Spack Project Developers. See COPYRIGHT file for details.
|
|
#
|
|
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
|
|
|
|
from spack.package import *
|
|
|
|
|
|
class Libwindowswm(AutotoolsPackage, XorgPackage):
|
|
"""WindowsWM - Cygwin/X rootless window management extension.
|
|
|
|
WindowsWM is a simple library designed to interface with the
|
|
Windows-WM extension. This extension allows X window managers to
|
|
better interact with the Cygwin XWin server when running X11 in a
|
|
rootless mode."""
|
|
|
|
homepage = "https://gitlab.freedesktop.org/xorg/lib/libWindowsWM"
|
|
xorg_mirror_path = "lib/libWindowsWM-1.0.1.tar.gz"
|
|
|
|
license("MIT")
|
|
|
|
version("1.0.1", sha256="94f9c0add3bad38ebd84bc43d854207c4deaaa74fb15339276e022546124b98a")
|
|
|
|
depends_on("c", type="build")
|
|
|
|
depends_on("libx11")
|
|
depends_on("libxext")
|
|
|
|
depends_on("xextproto", type="build")
|
|
depends_on("windowswmproto", type="build")
|
|
depends_on("pkgconfig", type="build")
|
|
depends_on("util-macros", type="build")
|