1 From ffb19d8f3c7f1fe4f31f79f8601dd3079730401b Mon Sep 17 00:00:00 2001
2 From: Simon McVittie <smcv@debian.org>
3 Date: Fri, 27 Apr 2018 09:01:13 +0100
4 Subject: [PATCH] Remove empty avahi_discover Python module
6 The avahi-discover tool no longer has any code outside its main
7 executable, so it does not need to install library modules. Its only
8 library code was avahi_discover.SimpleGladeApp, which was removed
11 Signed-off-by: Simon McVittie <smcv@debian.org>
13 avahi-python/avahi-discover/Makefile.am | 6 ------
14 avahi-python/avahi-discover/__init__.py | 18 ------------------
15 2 files changed, 24 deletions(-)
16 delete mode 100755 avahi-python/avahi-discover/__init__.py
18 diff --git a/avahi-python/avahi-discover/Makefile.am b/avahi-python/avahi-discover/Makefile.am
19 index 5fc4b25f..bb4d7172 100644
20 --- a/avahi-python/avahi-discover/Makefile.am
21 +++ b/avahi-python/avahi-discover/Makefile.am
23 AM_CFLAGS=-I$(top_srcdir)
28 avahi-discover.desktop.in.in
30 @@ -31,15 +30,11 @@ pythonscripts =
31 desktopdir = $(datadir)/applications
34 -avahi_discoverdir = $(pythondir)/avahi_discover
35 -avahi_discover_PYTHON =
40 desktop_DATA += avahi-discover.desktop
41 @INTLTOOL_DESKTOP_RULE@
42 -avahi_discover_PYTHON += __init__.py
46 @@ -47,7 +42,6 @@ pythonscripts += \
48 desktop_DATA += avahi-discover.desktop
49 @INTLTOOL_DESKTOP_RULE@
50 -avahi_discover_PYTHON += __init__.py
53 avahi-discover.desktop.in: avahi-discover.desktop.in.in
54 diff --git a/avahi-python/avahi-discover/__init__.py b/avahi-python/avahi-discover/__init__.py
55 deleted file mode 100755
56 index 6f3ec7f9..00000000
57 --- a/avahi-python/avahi-discover/__init__.py
62 -# This file is part of avahi.
64 -# avahi is free software; you can redistribute it and/or modify it
65 -# under the terms of the GNU Lesser General Public License as
66 -# published by the Free Software Foundation; either version 2 of the
67 -# License, or (at your option) any later version.
69 -# avahi is distributed in the hope that it will be useful, but WITHOUT
70 -# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
71 -# or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public
72 -# License for more details.
74 -# You should have received a copy of the GNU Lesser General Public
75 -# License along with avahi; if not, write to the Free Software
76 -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307