File env.patch of Package wicd
--- ./gtk/configscript.py.orig 2014-12-21 20:40:46.000000000 +0100
+++ ./gtk/configscript.py 2021-04-26 10:27:29.907502132 +0200
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/python2
""" configscript -- Configure the scripts for a particular network.
--- ./gtk/wicd-client.py.orig 2015-04-24 16:49:55.000000000 +0200
+++ ./gtk/wicd-client.py 2021-04-26 10:27:29.903502117 +0200
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/python2
""" wicd - wireless connection daemon frontend implementation
--- ./setup.py.orig 2016-01-25 04:56:46.000000000 +0100
+++ ./setup.py 2021-04-26 10:27:29.911502146 +0200
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/python2
#
# Copyright (C) 2007 - 2009 Adam Blackburn
# Copyright (C) 2007 - 2009 Dan O'Reilly
--- ./vcsinfo.py.orig 2016-01-26 06:14:44.000000000 +0100
+++ ./vcsinfo.py 2021-04-26 10:27:29.899502102 +0200
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/python2
"""This file is automatically generated by generate_version_info
It uses the current working tree to determine the revision.
So don't edit it. :)
--- ./curses/curses_misc.py.orig 2014-12-21 20:40:46.000000000 +0100
+++ ./curses/curses_misc.py 2021-04-26 10:27:29.927502207 +0200
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/python2
# -* coding: utf-8 -*-
""" curses_misc.py: Module for various widgets that are used throughout
--- ./curses/netentry_curses.py.orig 2014-12-21 20:40:46.000000000 +0100
+++ ./curses/netentry_curses.py 2021-04-26 10:27:29.931502222 +0200
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/python2
"""
netentry_curses -- everyone's favorite networks settings dialogs... in text
form!
--- ./curses/wicd-curses.py.orig 2014-12-21 20:40:46.000000000 +0100
+++ ./curses/wicd-curses.py 2021-04-26 10:27:29.923502192 +0200
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/python2
# -* coding: utf-8 -*-
""" wicd-curses. (curses/urwid-based) console interface to wicd
--- ./curses/configscript_curses.py.orig 2014-12-21 20:40:46.000000000 +0100
+++ ./curses/configscript_curses.py 2021-04-26 10:27:29.919502177 +0200
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/python2
"""configscript_curses.py
Kind of like configscript.py, except written using urwid.
--- ./curses/prefs_curses.py.orig 2014-12-21 20:40:46.000000000 +0100
+++ ./curses/prefs_curses.py 2021-04-26 10:27:29.915502163 +0200
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/python2
"""prefs_curses.py -- Pretty, tabbable, console preferences dialog"""
--- ./wicd/wicd-daemon.py.orig 2015-02-12 17:55:35.000000000 +0100
+++ ./wicd/wicd-daemon.py 2021-04-26 10:27:29.979502402 +0200
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/python2
# -*- coding: utf-8 -*-
""" wicd - wireless connection daemon implementation.
--- ./wicd/wnettools.py.orig 2015-04-24 16:49:47.000000000 +0200
+++ ./wicd/wnettools.py 2021-04-26 10:27:29.959502327 +0200
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/python2
# -*- coding: utf-8 -*-
""" Network interface control tools for wicd.
--- ./wicd/autoconnect.py.orig 2014-12-21 20:40:46.000000000 +0100
+++ ./wicd/autoconnect.py 2021-04-26 10:27:29.955502312 +0200
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/python2
""" autoconnect -- Triggers an automatic connection attempt. """
--- ./wicd/configmanager.py.orig 2015-02-12 17:56:17.000000000 +0100
+++ ./wicd/configmanager.py 2021-04-26 10:27:29.943502267 +0200
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/python2
""" configmanager -- Wicd configuration file manager
--- ./wicd/backend.py.orig 2014-12-21 20:40:46.000000000 +0100
+++ ./wicd/backend.py 2021-04-26 10:27:29.939502253 +0200
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/python2
""" Backend manager for wicd.
--- ./wicd/networking.py.orig 2015-04-24 16:49:43.000000000 +0200
+++ ./wicd/networking.py 2021-04-26 10:27:29.947502282 +0200
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/python2
# -*- coding: utf-8 -*-
""" networking - Provides wrappers for common network operations
--- ./wicd/translations.py.orig 2014-12-21 20:40:46.000000000 +0100
+++ ./wicd/translations.py 2021-04-26 10:27:29.963502342 +0200
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/python2
# -* coding: utf-8 -*-
""" translations -- module for handling the translation strings for wicd. """
--- ./wicd/backends/be-ioctl.py.orig 2015-02-12 13:43:38.000000000 +0100
+++ ./wicd/backends/be-ioctl.py 2021-04-26 10:27:29.971502372 +0200
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/python2
# -*- coding: utf-8 -*-
""" ioctl Network interface control tools for wicd.
--- ./wicd/backends/be-external.py.orig 2014-12-21 20:40:46.000000000 +0100
+++ ./wicd/backends/be-external.py 2021-04-26 10:27:29.971502372 +0200
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/python2
# -*- coding: UTF-8 -*-
""" Network interface control tools for wicd.
--- ./wicd/monitor.py.orig 2014-12-21 20:40:46.000000000 +0100
+++ ./wicd/monitor.py 2021-04-26 10:27:29.983502417 +0200
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/python2
""" monitor -- connection monitoring process
--- ./wicd/logfile.py.orig 2014-12-21 20:40:46.000000000 +0100
+++ ./wicd/logfile.py 2021-04-26 10:27:29.935502237 +0200
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/python2
#
# Copyright (C) 1999-2006 Keith Dart <keith@kdart.com>
--- ./wicd/dbusmanager.py.orig 2014-12-21 20:40:46.000000000 +0100
+++ ./wicd/dbusmanager.py 2021-04-26 10:27:29.951502297 +0200
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/python2
""" The wicd DBus Manager.
--- ./wicd/suspend.py.orig 2014-12-21 20:40:46.000000000 +0100
+++ ./wicd/suspend.py 2021-04-26 10:27:29.967502358 +0200
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/python2
""" Suspends the wicd daemon.