Bug#616403: Haskell package names dropped the 6 from libghc6-
Package: lintian
Version: 2.4.3
Severity: normal
Tags: patch
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
Haskell package names will be libghc-.. in the future. Lintian has
regexes matching Haskell package names in two positions. I changed these
to libghc6?- to match both old and new names. (Attached patch actually
untested)
Greetings,
Joachim
- -- System Information:
Debian Release: 6.0
APT prefers unstable
APT policy: (500, 'unstable'), (101, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.36-trunk-amd64 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages lintian depends on:
ii binutils 2.20.1-16 The GNU assembler, linker and bina
ii diffstat 1.54-1 produces graph of changes introduc
ii dpkg-dev 1.15.8.10 Debian package development tools
ii file 5.04-5 Determines file type using "magic"
ii gettext 0.18.1.1-3 GNU Internationalization utilities
ii intltool-debian 0.35.0+20060710.1 Help i18n of RFC822 compliant conf
ii libapt-pkg-perl 0.1.24+b1 Perl interface to libapt-pkg
ii libclass-accessor-perl 0.34-1 Perl module that automatically gen
ii libipc-run-perl 0.89-1 Perl module for running processes
ii libparse-debianchangel 1.1.1-2.1 parse Debian changelogs and output
ii libtimedate-perl 1.2000-1 collection of modules to manipulat
ii liburi-perl 1.58-1 module to manipulate and access UR
ii locales 2.11.2-10 Embedded GNU C Library: National L
ii man-db 2.5.7-8 on-line manual pager
ii perl [libdigest-sha-pe 5.10.1-17 Larry Wall's Practical Extraction
lintian recommends no packages.
Versions of packages lintian suggests:
pn binutils-multiarch <none> (no description available)
ii libtext-template-perl 1.45-2 Text::Template perl module
ii man-db 2.5.7-8 on-line manual pager
- -- no debconf information
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
iEYEARECAAYFAk1weLAACgkQ9ijrk0dDIGzHVgCgoYhOtk+UF3cymBrc6KAdLo74
8ucAn27hfi8Hg/H2sXxWLdu1b0lpv59a
=WHtF
-----END PGP SIGNATURE-----
>From 8e92d2ec9472f8c939cba9455aab97242fa8ec8e Mon Sep 17 00:00:00 2001
From: Joachim Breitner <nomeata@debian.org>
Date: Fri, 4 Mar 2011 10:55:51 +0530
Subject: [PATCH] Haskell package names dropped the 6 from libghc6-
---
checks/fields | 2 +-
checks/menus | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/checks/fields b/checks/fields
index aba3aab..99afdd0 100644
--- a/checks/fields
+++ b/checks/fields
@@ -142,7 +142,7 @@ my @NAME_SECTION_MAPPINGS = (
[ qr/^lib.*-cil$/ => 'cli-mono' ],
[ qr/^lib.*-(?:java|gcj)$/ => 'java' ],
[ qr/^(?:lib)php-/ => 'php' ],
- [ qr/^lib(?:hugs|ghc6)-/ => 'haskell' ],
+ [ qr/^lib(?:hugs|ghc6?)-/ => 'haskell' ],
[ qr/^lib.*-ruby(?:1\.\d)?$/ => 'ruby' ],
[ qr/^lib.*-(?:ocaml|camlp4)-dev$/ => 'ocaml' ],
[ qr/^lib.*-dev$/ => 'libdevel' ],
diff --git a/checks/menus b/checks/menus
index 205ccae..27321a1 100644
--- a/checks/menus
+++ b/checks/menus
@@ -203,7 +203,7 @@ if ($docbase_file) {
}
closedir DOCBASEDIR;
} elsif ($documentation) {
- if ($pkg =~ /^libghc6-.*-doc$/) {
+ if ($pkg =~ /^libghc6?-.*-doc$/) {
# This is the library documentation for a haskell library. Haskell
# libraries register their documentation via the ghc compiler's
# documetation registration mechanism. See bug #586877.
--
1.7.2.3
Reply to: