[Python-modules-commits] [pychromecast] 04/04: More improvements to the packaging:

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 07a162ad73e0421e97023a7efac0da50034f8f58
Author: Ruben Undheim <ruben.undheim at gmail.com>
Date:   Fri May 6 21:54:31 2016 +0200

    More improvements to the packaging:
    
     - Properly clean up
     - Enable tests again
     - New Standards version.
     - No explicit dependency on zeroconf
     - More copyright info
     - Added README.debian and README.source
---
 debian/README.debian |  9 +++++++++
 debian/README.source | 13 +++++++++++++
 debian/control       |  4 ++--
 debian/copyright     | 37 +++++++++++++++++++++++++++++++++++--
 debian/rules         |  6 ++++--
 5 files changed, 63 insertions(+), 6 deletions(-)

diff --git a/debian/README.debian b/debian/README.debian
new file mode 100644
index 0000000..8ce5064
--- /dev/null
+++ b/debian/README.debian
@@ -0,0 +1,9 @@
+
+Pychromecast for Debian has been patched to use Protobuf 2, since Protobuf 3 is
+not yet available in the Debian archive.
+
+As soon as Protobuf 3 is available in the archive, this patch will be removed.
+
+ You can see http://bugs.debian.org/795841 for more information.
+
+
diff --git a/debian/README.source b/debian/README.source
new file mode 100644
index 0000000..8bb27de
--- /dev/null
+++ b/debian/README.source
@@ -0,0 +1,13 @@
+Since pychromecast depends on Protobuf 3.0 which has not been packaged for
+Debian yet, one patch has been added which adds back support for Protobuf 2.
+This is of course temporary until bug #795841 has been closed.
+  See:  debian/patches/0001-Support-protobuf-2.patch
+
+Additionally, there is currently no Python 3 version of Protobuf, and hence no
+Python 3 version of pychromecast can therefore be built. The packaging contains
+support for the Python 3 package, but this is commented out. When bug #795841
+is closed, this code can be uncommented.
+
+
+Ruben
+
diff --git a/debian/control b/debian/control
index 71e676e..c1712c6 100644
--- a/debian/control
+++ b/debian/control
@@ -10,7 +10,7 @@ Build-Depends: debhelper (>= 9),
 # Add these when python3-protobuf is in Debian:
 #               python3-all,
 #               python3-setuptools
-Standards-Version: 3.9.6
+Standards-Version: 3.9.8
 # Remove this line when python3-protobuf is in Debian:
 X-Python3-Version: none
 Homepage: https://github.com/balloob/pychromecast
@@ -19,7 +19,7 @@ Vcs-Git: https://anonscm.debian.org/git/python-modules/packages/pychromecast.git
 
 Package: python-pychromecast
 Architecture: all
-Depends: ${python:Depends}, ${misc:Depends}, python-zeroconf
+Depends: ${python:Depends}, ${misc:Depends}
 Description: Library to communicate with Google Chromecast
  This library makes it easy to communicate with a Chromecast device using
  Python.
diff --git a/debian/copyright b/debian/copyright
index bf4336a..23e6d5a 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -3,11 +3,15 @@ Upstream-Name: pychromecast
 Source: https://github.com/balloob/pychromecast
 
 Files: *
-Copyright: 2013 Paulus Schoutsen
+Copyright: 2013-2016 Paulus Schoutsen
 License: MIT
 
+Files: chromecast_protobuf/*
+Copyright: 2014 The Chromium Authors
+License: BSD-3-Chromium
+
 Files: debian/*
-Copyright: 2015 Ruben Undheim <ruben.undheim at gmail.com>
+Copyright: 2015-2016 Ruben Undheim <ruben.undheim at gmail.com>
 License: MIT
 
 
@@ -29,3 +33,32 @@ License: MIT
  IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
  CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 
+
+License: BSD-3-Chromium
+ Copyright 2015 The Chromium Authors. All rights reserved.
+ .
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions are
+ met:
+ .
+    * Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+    * Redistributions in binary form must reproduce the above
+ copyright notice, this list of conditions and the following disclaimer
+ in the documentation and/or other materials provided with the
+ distribution.
+    * Neither the name of Google Inc. nor the names of its
+ contributors may be used to endorse or promote products derived from
+ this software without specific prior written permission.
+ .
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+ A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+ OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+ LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
diff --git a/debian/rules b/debian/rules
index 0ab51fe..38d26e1 100755
--- a/debian/rules
+++ b/debian/rules
@@ -7,5 +7,7 @@
 %:
 	dh $@ --with python2 --buildsystem=pybuild
 
-override_dh_auto_test:
-	
+
+override_dh_clean:
+	dh_clean
+	rm -rf PyChromecast.egg-info

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