[Python-modules-commits] [pychromecast] 01/04: Enable build of python3-pychromecast

Ruben Undheim rubund-guest at moszumanska.debian.org
Sun Dec 11 18:05:26 UTC 2016


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

rubund-guest pushed a commit to branch master
in repository pychromecast.

commit 13b41fa7a3db3a819c7f8577c46742130ad74ae4
Author: Ruben Undheim <ruben.undheim at gmail.com>
Date:   Sun Dec 11 18:54:19 2016 +0100

    Enable build of python3-pychromecast
---
 debian/changelog                    |  6 +++++
 debian/control                      | 48 ++++++++++++++++---------------------
 debian/python-pychromecast.install  |  4 +---
 debian/python3-pychromecast.install |  2 +-
 debian/rules                        |  3 +--
 5 files changed, 30 insertions(+), 33 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 5a25019..f444ba8 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+pychromecast (0.7.7-2) unstable; urgency=medium
+
+  * Enable build of python3-pychromecast.
+
+ -- Ruben Undheim <ruben.undheim at gmail.com>  Sun, 11 Dec 2016 18:53:47 +0100
+
 pychromecast (0.7.7-1) unstable; urgency=medium
 
   * New upstream release
diff --git a/debian/control b/debian/control
index 67b2118..ff51a18 100644
--- a/debian/control
+++ b/debian/control
@@ -6,13 +6,11 @@ Uploaders: Ruben Undheim <ruben.undheim at gmail.com>
 Build-Depends: debhelper (>= 9),
                dh-python,
                python-all,
-               python-setuptools
-# Add these when python3-protobuf is in Debian:
-#               python3-all,
-#               python3-setuptools
+               python-setuptools,
+               python3-all,
+               python3-setuptools,
+               python3-protobuf
 Standards-Version: 3.9.8
-# 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
@@ -34,24 +32,20 @@ Description: Library to communicate with Google Chromecast
   - Easily extendable to add support for unsupported namespaces
 
 
-# Uncomment this part when python3-protobuf is in Debian:
-#
-#Package: python3-pychromecast
-#Architecture: all
-#Depends: ${python3:Depends}, ${misc:Depends}, python3-zeroconf, python3-protobuf (>= 3)
-## 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
+Package: python3-pychromecast
+Architecture: all
+Depends: ${python3:Depends}, ${misc:Depends}, python3-zeroconf, python3-protobuf (>= 3)
+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 d899c25..4c0c522 100644
--- a/debian/python-pychromecast.install
+++ b/debian/python-pychromecast.install
@@ -1,3 +1 @@
-# Uncomment this line when python3-protobuf is in Debian:
-#usr/lib/python2*/
-
+usr/lib/python2*/
diff --git a/debian/python3-pychromecast.install b/debian/python3-pychromecast.install
index ae2be1d..5b790f6 100644
--- a/debian/python3-pychromecast.install
+++ b/debian/python3-pychromecast.install
@@ -1 +1 @@
-#usr/lib/python3*/
+usr/lib/python3*/
diff --git a/debian/rules b/debian/rules
index 38d26e1..d9612fe 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,9 +3,8 @@
 
 
 
-# Add "--with python3" when python3-protobuf is in Debian:
 %:
-	dh $@ --with python2 --buildsystem=pybuild
+	dh $@ --with python2,python3 --buildsystem=pybuild
 
 
 override_dh_clean:

-- 
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