[Git][haskell-team/haskell-devscripts][master] 2 commits: dh_haskell_provides_ghc: only operate on -dev and -prof packages
Scott Talbert (@swt2c)
gitlab at salsa.debian.org
Sat Oct 18 02:58:10 BST 2025
Scott Talbert pushed to branch master at Debian Haskell Group / haskell-devscripts
Commits:
ba79b126 by Scott Talbert at 2025-10-17T21:48:31-04:00
dh_haskell_provides_ghc: only operate on -dev and -prof packages
- - - - -
0c687af7 by Scott Talbert at 2025-10-17T21:48:35-04:00
haskell-devscripts (0.16.40) unstable; urgency=medium
- - - - -
2 changed files:
- debian/changelog
- dh_haskell_provides_ghc
Changes:
=====================================
debian/changelog
=====================================
@@ -1,3 +1,9 @@
+haskell-devscripts (0.16.40) unstable; urgency=medium
+
+ * dh_haskell_provides_ghc: only operate on -dev and -prof packages
+
+ -- Scott Talbert <swt at techie.net> Fri, 17 Oct 2025 21:43:28 -0400
+
haskell-devscripts (0.16.39) unstable; urgency=medium
* Only provide $haskell:ghc-package substvar for -dev pkgs (Closes: #1118032)
=====================================
dh_haskell_provides_ghc
=====================================
@@ -54,6 +54,9 @@ init_hs_env();
for my $installable (@{ $dh{DOPACKAGES} }) {
+ my $type = installable_type($installable);
+ next if ($type ne 'dev' && $type ne 'prof');
+
my $compiler = installable_hc($installable) || $ENV{DEB_DEFAULT_COMPILER};
my $pkgdir = hc_pkgdir($compiler);
@@ -82,7 +85,6 @@ for my $installable (@{ $dh{DOPACKAGES} }) {
my $substvars_path = "debian/$installable.substvars";
- my $type = installable_type($installable);
if ($type eq 'dev') {
replace_line($substvars_path, "haskell:$compiler-package",
join($SPACE, @hashed_ids));
View it on GitLab: https://salsa.debian.org/haskell-team/haskell-devscripts/-/compare/60968e94d84fcf15d308bcf437e0a59f6b3a5d4e...0c687af7274010659ff63cd7f9203d784b146b8d
--
View it on GitLab: https://salsa.debian.org/haskell-team/haskell-devscripts/-/compare/60968e94d84fcf15d308bcf437e0a59f6b3a5d4e...0c687af7274010659ff63cd7f9203d784b146b8d
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-haskell-commits/attachments/20251018/d7ed8cd6/attachment-0001.htm>
More information about the Pkg-haskell-commits
mailing list