Bug#788864: python-debian: License field in files paragraph should be required not optional

Orestis Ioannou orestis at oioannou.com
Mon Jun 15 18:05:07 UTC 2015


Package: python-debian
Version: 0.1.27
Severity: normal

Dear Maintainer,

Debian standard [1] suggests that the license field in the files
paragraph is required whereas when you parse it is only optional.

This is sometimes causing a trouble when using the package since
the user has to verify that the license object in the files
paragraph is not None and thus raising AttributeError when
accessing the synopsis for example.

I guess the solution must not be to consider the d/copyright file
as non machine readable but you might want to omit that specific
paragraph and log this error.

Thanks for maintaining python-debian,

Orestis

[1] https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/



-- System Information:
Debian Release: 8.1
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

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

Versions of packages python-debian depends on:
ii  python-chardet  2.3.0-1
ii  python-six      1.8.0-1
pn  python:any      <none>

Versions of packages python-debian recommends:
ii  python-apt  0.9.3.11

Versions of packages python-debian suggests:
ii  gpgv  1.4.18-7

-- no debconf information



More information about the pkg-python-debian-maint mailing list