[Python-modules-commits] [pychromecast] 01/04: Only build Python2 package
Ruben Undheim
rubund-guest at moszumanska.debian.org
Fri May 6 20:13:49 UTC 2016
This is an automated email from the git hooks/post-receive script.
rubund-guest pushed a commit to branch before_protobuf3_in_debian
in repository pychromecast.
commit 936fca569c6ed9e5c21eac288643edd9969b604b
Author: Ruben Undheim <ruben.undheim at gmail.com>
Date: Fri May 6 21:46:18 2016 +0200
Only build Python2 package
---
debian/control | 51 +++++++++++++++++++++-----------------
debian/python-pychromecast.install | 3 ++-
debian/rules | 5 +++-
3 files changed, 34 insertions(+), 25 deletions(-)
diff --git a/debian/control b/debian/control
index 6e62f23..71e676e 100644
--- a/debian/control
+++ b/debian/control
@@ -6,11 +6,13 @@ Uploaders: Ruben Undheim <ruben.undheim at gmail.com>
Build-Depends: debhelper (>= 9),
dh-python,
python-all,
- python-setuptools,
- python3-all,
- python3-setuptools
+ python-setuptools
+# Add these when python3-protobuf is in Debian:
+# python3-all,
+# python3-setuptools
Standards-Version: 3.9.6
-X-Python-Version: all
+# Remove this line when python3-protobuf is in Debian:
+X-Python3-Version: none
Homepage: https://github.com/balloob/pychromecast
Vcs-Browser: https://anonscm.debian.org/cgit/python-modules/packages/pychromecast.git
Vcs-Git: https://anonscm.debian.org/git/python-modules/packages/pychromecast.git
@@ -31,22 +33,25 @@ Description: Library to communicate with Google Chromecast
- Communicate with apps via channels
- Easily extendable to add support for unsupported namespaces
-Package: python3-pychromecast
-Architecture: all
-Depends: ${python3:Depends}, ${misc:Depends}, python3-zeroconf
-# Supposed to be Depends, but package is not yet in Debian:
-Recommends: python3-protobuf
-Description: Library to communicate with Google Chromecast (Python 3)
- This library makes it easy to communicate with a Chromecast device using
- Python.
- .
- It currently supports:
- .
- - Auto discovering connected Chromecasts on the network
- - Start the default media receiver and play any online media
- - Control playback of current playing media
- - Implement Google Chromecast API v2
- - Communicate with apps via channels
- - Easily extendable to add support for unsupported namespaces
- .
- This package contains the Python 3 version of pychromecast
+
+# Uncomment this part when python3-protobuf is in Debian:
+#
+#Package: python3-pychromecast
+#Architecture: all
+#Depends: ${python3:Depends}, ${misc:Depends}, python3-zeroconf
+## Supposed to be Depends, but package is not yet in Debian:
+#Recommends: python3-protobuf
+#Description: Library to communicate with Google Chromecast (Python 3)
+# This library makes it easy to communicate with a Chromecast device using
+# Python.
+# .
+# It currently supports:
+# .
+# - Auto discovering connected Chromecasts on the network
+# - Start the default media receiver and play any online media
+# - Control playback of current playing media
+# - Implement Google Chromecast API v2
+# - Communicate with apps via channels
+# - Easily extendable to add support for unsupported namespaces
+# .
+# This package contains the Python 3 version of pychromecast
diff --git a/debian/python-pychromecast.install b/debian/python-pychromecast.install
index 948618a..d899c25 100644
--- a/debian/python-pychromecast.install
+++ b/debian/python-pychromecast.install
@@ -1,2 +1,3 @@
-usr/lib/python2*/
+# Uncomment this line when python3-protobuf is in Debian:
+#usr/lib/python2*/
diff --git a/debian/rules b/debian/rules
index b436915..0ab51fe 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,8 +1,11 @@
#!/usr/bin/make -f
#DH_VERBOSE = 1
+
+
+# Add "--with python3" when python3-protobuf is in Debian:
%:
- dh $@ --with python2,python3 --buildsystem=pybuild
+ dh $@ --with python2 --buildsystem=pybuild
override_dh_auto_test:
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/pychromecast.git
More information about the Python-modules-commits
mailing list