[Python-modules-commits] [wifi-python] 07/07: Update files for new binary

Ethan Ward ethanward-guest at moszumanska.debian.org
Thu Aug 24 00:00:04 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-python.

commit 887397eb1a4a30f787b8066d31fd04131d1b8a61
Author: Ethan Ward <ethan.ward at mycroft.ai>
Date:   Wed Aug 23 18:59:37 2017 -0500

    Update files for new binary
---
 debian/{wifi-helper.1 => pywifi.1} |  0
 debian/pywifi.manpages             |  1 +
 debian/rules                       | 11 ++++++++++-
 debian/wifi-helper.install         |  1 -
 debian/wifi-helper.manpages        |  1 -
 5 files changed, 11 insertions(+), 3 deletions(-)

diff --git a/debian/wifi-helper.1 b/debian/pywifi.1
similarity index 100%
rename from debian/wifi-helper.1
rename to debian/pywifi.1
diff --git a/debian/pywifi.manpages b/debian/pywifi.manpages
new file mode 100644
index 0000000..cd4633f
--- /dev/null
+++ b/debian/pywifi.manpages
@@ -0,0 +1 @@
+debian/pywifi.1
diff --git a/debian/rules b/debian/rules
index 3aef1ca..8ce0018 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,7 +1,16 @@
 #!/usr/bin/make -f
 
-#export DH_VERBOSE=1
 export PYBUILD_NAME=wifi
 
 %:
 	dh $@ --with python2,python3 --buildsystem=pybuild
+
+override_dh_python3:
+	dh_python3 --shebang=/usr/bin/python3
+
+override_dh_auto_install:
+	dh_auto_install
+	rm debian/python-wifi/usr/bin/pywifi
+	mkdir debian/pywifi/usr/
+	mkdir debian/pywifi/usr/bin
+	mv debian/python3-wifi/usr/bin/pywifi debian/pywifi/usr/bin/pywifi
diff --git a/debian/wifi-helper.install b/debian/wifi-helper.install
deleted file mode 100644
index a4d4e93..0000000
--- a/debian/wifi-helper.install
+++ /dev/null
@@ -1 +0,0 @@
-bin/wifi-helper /usr/bin/
diff --git a/debian/wifi-helper.manpages b/debian/wifi-helper.manpages
deleted file mode 100644
index 9914699..0000000
--- a/debian/wifi-helper.manpages
+++ /dev/null
@@ -1 +0,0 @@
-debian/wifi-helper.1

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



More information about the Python-modules-commits mailing list