[Python-modules-commits] [pychromecast] 03/03: Enable build of python3 package as well

Ruben Undheim rubund-guest at moszumanska.debian.org
Sat Aug 1 13:53:23 UTC 2015


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

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

commit 402f78b6a631bf5dde6f23ce88a77cf029a1a08d
Author: Ruben Undheim <ruben.undheim at gmail.com>
Date:   Sat Aug 1 15:50:30 2015 +0200

    Enable build of python3 package as well
---
 debian/control                             | 26 ++++++++++++++++++++------
 debian/{docs => python-pychromecast.docs}  |  0
 debian/python-pychromecast.install         |  2 ++
 debian/{docs => python3-pychromecast.docs} |  0
 debian/python3-pychromecast.install        |  1 +
 debian/rules                               |  2 +-
 6 files changed, 24 insertions(+), 7 deletions(-)

diff --git a/debian/control b/debian/control
index c3d747d..f46de2f 100644
--- a/debian/control
+++ b/debian/control
@@ -6,7 +6,9 @@ Uploaders: Ruben Undheim <ruben.undheim at gmail.com>
 Build-Depends: debhelper (>= 9),
                dh-python,
                python-all,
-               python-setuptools
+               python-setuptools,
+               python3-all,
+               python3-setuptools
 Standards-Version: 3.9.6
 X-Python-Version: all
 Homepage: https://github.com/balloob/pychromecast
@@ -29,8 +31,20 @@ 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}
-#Description: <insert up to 60 chars description>
-# <insert long description, indented with spaces>
+Package: python3-pychromecast
+Architecture: all
+Depends: ${python3:Depends}, ${misc:Depends}, python3-zeroconf
+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/docs b/debian/python-pychromecast.docs
similarity index 100%
copy from debian/docs
copy to debian/python-pychromecast.docs
diff --git a/debian/python-pychromecast.install b/debian/python-pychromecast.install
new file mode 100644
index 0000000..948618a
--- /dev/null
+++ b/debian/python-pychromecast.install
@@ -0,0 +1,2 @@
+usr/lib/python2*/
+
diff --git a/debian/docs b/debian/python3-pychromecast.docs
similarity index 100%
rename from debian/docs
rename to debian/python3-pychromecast.docs
diff --git a/debian/python3-pychromecast.install b/debian/python3-pychromecast.install
new file mode 100644
index 0000000..5b790f6
--- /dev/null
+++ b/debian/python3-pychromecast.install
@@ -0,0 +1 @@
+usr/lib/python3*/
diff --git a/debian/rules b/debian/rules
index 2788015..e334882 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,5 +2,5 @@
 #DH_VERBOSE = 1
 
 %:
-	dh $@ --with python2 --buildsystem=pybuild
+	dh $@ --with python2,python3 --buildsystem=pybuild
 

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