
* 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]
23 lines
674 B
Python
23 lines
674 B
Python
# Copyright Spack Project Developers. See COPYRIGHT file for details.
|
|
#
|
|
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
|
|
|
|
from spack.package import *
|
|
|
|
|
|
class Xf86dga(AutotoolsPackage, XorgPackage):
|
|
"""dga is a simple test client for the XFree86-DGA extension."""
|
|
|
|
homepage = "https://gitlab.freedesktop.org/xorg/app/xf86dga"
|
|
xorg_mirror_path = "app/xf86dga-1.0.3.tar.gz"
|
|
|
|
version("1.0.3", sha256="acbf89f60a99b18c161d2beb0e4145a0fdf6c516f7f45fa52e547d88491f75c9")
|
|
|
|
depends_on("c", type="build") # generated
|
|
|
|
depends_on("libx11")
|
|
depends_on("libxxf86dga@1.1:")
|
|
|
|
depends_on("pkgconfig", type="build")
|
|
depends_on("util-macros", type="build")
|