Blame SOURCES/0003-Remove-empty-avahi_discover-Python-module.patch

38c882
From ffb19d8f3c7f1fe4f31f79f8601dd3079730401b Mon Sep 17 00:00:00 2001
38c882
From: Simon McVittie <smcv@debian.org>
38c882
Date: Fri, 27 Apr 2018 09:01:13 +0100
38c882
Subject: [PATCH] Remove empty avahi_discover Python module
38c882
38c882
The avahi-discover tool no longer has any code outside its main
38c882
executable, so it does not need to install library modules. Its only
38c882
library code was avahi_discover.SimpleGladeApp, which was removed
38c882
in 2009.
38c882
38c882
Signed-off-by: Simon McVittie <smcv@debian.org>
38c882
---
38c882
 avahi-python/avahi-discover/Makefile.am |  6 ------
38c882
 avahi-python/avahi-discover/__init__.py | 18 ------------------
38c882
 2 files changed, 24 deletions(-)
38c882
 delete mode 100755 avahi-python/avahi-discover/__init__.py
38c882
38c882
diff --git a/avahi-python/avahi-discover/Makefile.am b/avahi-python/avahi-discover/Makefile.am
38c882
index 5fc4b25..bb4d717 100644
38c882
--- a/avahi-python/avahi-discover/Makefile.am
38c882
+++ b/avahi-python/avahi-discover/Makefile.am
38c882
@@ -18,7 +18,6 @@
38c882
 AM_CFLAGS=-I$(top_srcdir)
38c882
 
38c882
 EXTRA_DIST = \
38c882
-	__init__.py \
38c882
 	avahi-discover.py \
38c882
 	avahi-discover.desktop.in.in
38c882
 
38c882
@@ -31,15 +30,11 @@ pythonscripts =
38c882
 desktopdir = $(datadir)/applications
38c882
 desktop_DATA =
38c882
 
38c882
-avahi_discoverdir = $(pythondir)/avahi_discover
38c882
-avahi_discover_PYTHON =
38c882
-
38c882
 if HAVE_GDBM
38c882
 pythonscripts += \
38c882
 	avahi-discover
38c882
 desktop_DATA += avahi-discover.desktop
38c882
 @INTLTOOL_DESKTOP_RULE@
38c882
-avahi_discover_PYTHON += __init__.py
38c882
 endif
38c882
 
38c882
 if HAVE_DBM
38c882
@@ -47,7 +42,6 @@ pythonscripts += \
38c882
 	avahi-discover
38c882
 desktop_DATA += avahi-discover.desktop
38c882
 @INTLTOOL_DESKTOP_RULE@
38c882
-avahi_discover_PYTHON += __init__.py
38c882
 endif
38c882
 
38c882
 avahi-discover.desktop.in: avahi-discover.desktop.in.in
38c882
diff --git a/avahi-python/avahi-discover/__init__.py b/avahi-python/avahi-discover/__init__.py
38c882
deleted file mode 100755
38c882
index 6f3ec7f..0000000
38c882
--- a/avahi-python/avahi-discover/__init__.py
38c882
+++ /dev/null
38c882
@@ -1,18 +0,0 @@
38c882
-#!@PYTHON@
38c882
-# -*-python-*-
38c882
-# This file is part of avahi.
38c882
-#
38c882
-# avahi is free software; you can redistribute it and/or modify it
38c882
-# under the terms of the GNU Lesser General Public License as
38c882
-# published by the Free Software Foundation; either version 2 of the
38c882
-# License, or (at your option) any later version.
38c882
-#
38c882
-# avahi is distributed in the hope that it will be useful, but WITHOUT
38c882
-# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
38c882
-# or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public
38c882
-# License for more details.
38c882
-#
38c882
-# You should have received a copy of the GNU Lesser General Public
38c882
-# License along with avahi; if not, write to the Free Software
38c882
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
38c882
-# USA.
38c882
-- 
38c882
2.14.3
38c882