[Python-modules-commits] [wifi] 09/13: Add patch files

Ethan Ward ethanward-guest at moszumanska.debian.org
Fri Aug 11 22:30:36 UTC 2017


This is an automated email from the git hooks/post-receive script.

ethanward-guest pushed a commit to branch master
in repository wifi.

commit 7859807a2565b2af55b56bf4e0c6a92383072b26
Author: Ethan Ward <ethan.ward at mycroft.ai>
Date:   Fri Aug 11 16:02:30 2017 -0500

    Add patch files
---
 .../patches/0002-Remove-binary-from-setup.py.patch  | 21 +++++++++++++++++++++
 debian/patches/0003-Change-binary-to-python3.patch  | 18 ++++++++++++++++++
 2 files changed, 39 insertions(+)

diff --git a/debian/patches/0002-Remove-binary-from-setup.py.patch b/debian/patches/0002-Remove-binary-from-setup.py.patch
new file mode 100644
index 0000000..168f9a7
--- /dev/null
+++ b/debian/patches/0002-Remove-binary-from-setup.py.patch
@@ -0,0 +1,21 @@
+From: Ethan Ward <ethan.ward at mycroft.ai>
+Date: Fri, 11 Aug 2017 16:01:32 -0500
+Subject: Remove binary from setup.py
+
+---
+ setup.py | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/setup.py b/setup.py
+index ccb9a16..3c21184 100644
+--- a/setup.py
++++ b/setup.py
+@@ -41,7 +41,7 @@ setup(
+     description=__doc__,
+     long_description='\n\n'.join([read('README.rst'), read('CHANGES.rst')]),
+     packages=['wifi'],
+-    scripts=['bin/wifi'],
++    #scripts=['bin/wifi'],
+     #test_suite='tests',
+     platforms=["Debian"],
+     license='BSD',
diff --git a/debian/patches/0003-Change-binary-to-python3.patch b/debian/patches/0003-Change-binary-to-python3.patch
new file mode 100644
index 0000000..d3f015c
--- /dev/null
+++ b/debian/patches/0003-Change-binary-to-python3.patch
@@ -0,0 +1,18 @@
+From: Ethan Ward <ethan.ward at mycroft.ai>
+Date: Fri, 11 Aug 2017 16:01:55 -0500
+Subject: Change binary to python3
+
+---
+ bin/wifi | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/bin/wifi b/bin/wifi
+index 140d437..c540f13 100755
+--- a/bin/wifi
++++ b/bin/wifi
+@@ -1,4 +1,4 @@
+-#!/usr/bin/python
++#!/usr/bin/python3
+ from __future__ import print_function
+ import argparse
+ import sys

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/wifi.git



More information about the Python-modules-commits mailing list