[Python-modules-commits] [wifi] 07/13: Try to make separate binary package
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 b0c98c706bf348087a011514baa04f26138931bc
Author: Ethan Ward <ethan.ward at mycroft.ai>
Date: Fri Aug 11 16:00:59 2017 -0500
Try to make separate binary package
---
debian/control | 10 ++++++++++
debian/rules | 5 +++++
debian/wifi-python-wrapper.install | 1 +
3 files changed, 16 insertions(+)
diff --git a/debian/control b/debian/control
index 03c8af7..817ea38 100644
--- a/debian/control
+++ b/debian/control
@@ -38,3 +38,13 @@ Description: Library wrappers around iwlist and /etc/network/interfaces. (Python
that makes it easier to connect to WiFi networks.
.
This package contains the module for Python 3.
+
+Package: wifi-python-wrapper
+Section: utils
+Architecture: all
+Depends: python3-wifi
+Description: Command line wrapper for iwlist and /etc/network/interfaces.
+ A wrapper that makes it easier to connect to wifi networks
+ from the command line.
+ .
+ This package contains the application for Python 3.
diff --git a/debian/rules b/debian/rules
index 3aef1ca..f4f683e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -5,3 +5,8 @@ export PYBUILD_NAME=wifi
%:
dh $@ --with python2,python3 --buildsystem=pybuild
+
+override_dh_auto_install:
+ dh_auto_install
+ #rm debian/python-gtts/usr/bin/wifi
+ rm debian/python3-gtts/usr/bin/wifi
diff --git a/debian/wifi-python-wrapper.install b/debian/wifi-python-wrapper.install
new file mode 100644
index 0000000..b39eca2
--- /dev/null
+++ b/debian/wifi-python-wrapper.install
@@ -0,0 +1 @@
+bin/wifi /usr/bin/
--
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