Package: dh-make
Version: 2.201604
Severity: normal
Tags: patch

Hi,

When passing the "-c mit" parameter, dh-make behaves as if no license parameter
was given.  The problem is only a missing key in the "matches" dictionary (line
258).

Yannick

-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386, x32

Kernel: Linux 4.3.0-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages dh-make depends on:
ii  debhelper      9.20160115
ii  dpkg-dev       1.18.4
ii  make           4.1-6
ii  python-enum34  1.1.2-1
pn  python:any     <none>

dh-make recommends no packages.

Versions of packages dh-make suggests:
ii  build-essential  12.2

-- no debconf information
diff --git a/dh_make b/dh_make
index 04ea6d8..9c635ba 100755
--- a/dh_make
+++ b/dh_make
@@ -258,7 +258,7 @@ class License(Enum):
         matches = {'apache': cls.apache, 'artistic': cls.artistic,
                    'bsd': cls.bsd, 'gpl': cls.gpl2, 'gpl2': cls.gpl2,
                    'gpl3': cls.gpl3, 'lgpl': cls.lgpl2, 'lgpl2': cls.lgpl2,
-                   'lgpl3': cls.lgpl3}
+                   'lgpl3': cls.lgpl3, 'mit': cls.mit}
         if args.copyright == 'custom':
             if args.copyrightfile is None:
                 sys.stderr.write(

Reply via email to