[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#981268: marked as pending in lintian



Dear maintainer,

On Thu, 28 Jan 2021 17:48:19 +0000 Felix Lechner <noreply@salsa.debian.org> wrote:
Bug #981268 in lintian reported by you has been fixed in the
Git repository and is awaiting an upload. You can see the commit
message below and you can check the diff of the fix at:

https://salsa.debian.org/lintian/lintian/-/commit/2e0f6dae25728b726bcb71aa5e198fec46b7f843

I believe there is still an edge case missing, as Python
applications may have private modules in /usr/share/PACKAGENAME
which also often need an egg-info/ folder.

I suggest the modified regex
--- a/lib/Lintian/Check/Documentation.pm	2021-03-16 21:05:15.187252857 +0100
+++ b/lib/Lintian/Check/Documentation.pm	2021-03-16 21:07:56.039250618 +0100
@@ -153,7 +153,7 @@
           # see Bug#904852
           || $file->dirname =~ m{templates?(?:\.d)?/}
           || ( $file->basename =~ m{\.txt$}
-            && $file->dirname =~ m{^usr/lib/python3/.*\.egg-info/}s)
+            && $file->dirname =~ m{^usr/(?:lib/python3|share/$ppkg)/.*\.egg-info/}s)
           || ( $file->basename =~ m{^README}xi
             && $file->bytes =~ m{this directory}xi);
     }


Cheers
Timo

Attachment: signature.asc
Description: PGP signature


Reply to: