Source: dh-dlang
Section: devel
Priority: optional
Maintainer: Debian D Language Group <team+d-team@tracker.debian.org>
Uploaders: Matthias Klumpp <mak@debian.org>
Build-Depends: debhelper-compat (= 13),
               flake8
Standards-Version: 4.7.0
Rules-Requires-Root: no
Vcs-Git: https://salsa.debian.org/d-team/dh-dlang.git
Vcs-Browser: https://salsa.debian.org/d-team/dh-dlang

Package: dh-dlang
Architecture: all
Depends: debhelper (>= 12),
         default-d-compiler,
         python3,
         ${misc:Depends}
Description: Packaging helpers for building D code
 This package contains common code for building D software for
 the Debian (and derivatives) archive.
 .
 It currently contains a debian/rules snippet for selecting the
 appropriate D build flags based on the default D compiler set
 for the current architecture.

Package: default-d-compiler
Architecture: amd64 arm64 i386 armhf s390x riscv64 loong64 ppc64el x32 mips64el
Depends: gdc (>= 4:12) [armhf s390x ppc64el x32 mips64el],
         ldc (>= 1:1.38) [amd64 arm64 i386 riscv64 loong64],
         ${misc:Depends}
Description: Default D compiler (metapackage)
 This is a metapackage installing the default D compiler in Debian
 for the respective architecture.
 .
 Packages building D libraries or using them should depend on this.
