[Python-modules-commits] r15362 - in packages/pyamf/trunk/debian (5 files)

nomadium-guest at users.alioth.debian.org nomadium-guest at users.alioth.debian.org
Wed Jan 19 16:04:34 UTC 2011


    Date: Wednesday, January 19, 2011 @ 16:04:24
  Author: nomadium-guest
Revision: 15362

* Update Homepage field.
* Expand long description.
* Fix Depends for python-pyamf-dbg.
* Remove unit tests results and include the tests themselves in doc dir.
* Change packaging license to MIT (the same used by upstream).
* Fix clean target.
* Fix test target.
* Introduce a override rule for dh_compress.

Modified:
  packages/pyamf/trunk/debian/changelog
  packages/pyamf/trunk/debian/control
  packages/pyamf/trunk/debian/copyright
  packages/pyamf/trunk/debian/python-pyamf.docs
  packages/pyamf/trunk/debian/rules

Modified: packages/pyamf/trunk/debian/changelog
===================================================================
--- packages/pyamf/trunk/debian/changelog	2011-01-19 14:35:14 UTC (rev 15361)
+++ packages/pyamf/trunk/debian/changelog	2011-01-19 16:04:24 UTC (rev 15362)
@@ -2,4 +2,4 @@
 
   * Initial release. (Closes: #499617)
 
- -- Miguel Landaeta <miguel at miguel.cc>  Sat, 08 Jan 2011 18:25:26 -0430
+ -- Miguel Landaeta <miguel at miguel.cc>  Wed, 19 Jan 2011 11:30:21 -0430

Modified: packages/pyamf/trunk/debian/control
===================================================================
--- packages/pyamf/trunk/debian/control	2011-01-19 14:35:14 UTC (rev 15361)
+++ packages/pyamf/trunk/debian/control	2011-01-19 16:04:24 UTC (rev 15362)
@@ -9,7 +9,7 @@
  python-elixir (>= 0.7.1), python-sqlalchemy (>= 0.4), python-django (>= 0.96),
  python-unittest2, python-pysqlite2
 Standards-Version: 3.9.1
-Homepage: http://pyamf.org/
+Homepage: http://www.pyamf.org/
 Vcs-Svn: svn://svn.debian.org/python-modules/packages/pyamf/trunk/
 Vcs-Browser: http://svn.debian.org/viewsvn/python-modules/packages/pyamf/trunk/
 
@@ -23,17 +23,32 @@
  PyAMF provides Action Message Format (AMF) support for Python
  that is compatible with the Flash Player. It includes integration
  with Python web frameworks like Django, Pylons, Twisted, and more.
+ .
+ The Adobe Integrated Runtime and Adobe Flash Player use AMF to
+ communicate between an application and a remote server. AMF encodes
+ remote procedure calls (RPC) into a compact binary representation
+ that can be transferred over HTTP/HTTPS or the RTMP/RTMPS protocol.
+ Objects and data values are serialized into this binary format,
+ which increases performance, allowing applications to load data up
+ to 10 times faster than with text-based formats such as XML or SOAP.
 
 Package: python-pyamf-dbg
 Section: debug
 Priority: extra
 Architecture: any
 Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends},
- python-pyamf (= ${binary:Version})
-Recommends: python-dbg
+ python-dbg, python-pyamf (= ${binary:Version})
 Description: Action Message Format support for Python (debugging files)
  PyAMF provides Action Message Format (AMF) support for Python
  that is compatible with the Flash Player. It includes integration
  with Python web frameworks like Django, Pylons, Twisted, and more.
  .
+ The Adobe Integrated Runtime and Adobe Flash Player use AMF to
+ communicate between an application and a remote server. AMF encodes
+ remote procedure calls (RPC) into a compact binary representation
+ that can be transferred over HTTP/HTTPS or the RTMP/RTMPS protocol.
+ Objects and data values are serialized into this binary format,
+ which increases performance, allowing applications to load data up
+ to 10 times faster than with text-based formats such as XML or SOAP.
+ .
  This package contains the extension built for the Python debug interpreter.

Modified: packages/pyamf/trunk/debian/copyright
===================================================================
--- packages/pyamf/trunk/debian/copyright	2011-01-19 14:35:14 UTC (rev 15361)
+++ packages/pyamf/trunk/debian/copyright	2011-01-19 16:04:24 UTC (rev 15362)
@@ -6,6 +6,15 @@
 Files: *
 Copyright: 2007-2009 The PyAMF Project <dev at pyamf.org>
 License: MIT
+
+Files: debian/*
+Copyright: 2008-2009, Daniel Watkins <daniel at daniel-watkins.co.uk>,
+           2008, Piotr Ożarowski <piotr at debian.org>,
+           2009, Sandro Tosi <morph at debian.org>,
+           2010-2011, Miguel Landaeta <miguel at miguel.cc>
+License: MIT
+
+License: MIT
  Permission is hereby granted, free of charge, to any person obtaining
  a copy of this software and associated documentation files (the
  "Software"), to deal in the Software without restriction, including
@@ -24,33 +33,3 @@
  LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER 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.
-
-Files: debian/*
-Copyright: 2008-2009, Daniel Watkins <daniel at daniel-watkins.co.uk>,
-           2008, Piotr Ożarowski <piotr at debian.org>,
-           2009, Sandro Tosi <morph at debian.org>,
-           2010-2011, Miguel Landaeta <miguel at miguel.cc>
-License: BSD
- Redistribution and use in source and binary forms, with or without
- modification, are permitted provided that the following conditions
- are met:
- 1. Redistributions of source code must retain the above copyright
-    notice, this list of conditions and the following disclaimer.
- 2. 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.
- 3. Neither the name of the University 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 REGENTS 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 REGENTS 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.

Modified: packages/pyamf/trunk/debian/python-pyamf.docs
===================================================================
--- packages/pyamf/trunk/debian/python-pyamf.docs	2011-01-19 14:35:14 UTC (rev 15361)
+++ packages/pyamf/trunk/debian/python-pyamf.docs	2011-01-19 16:04:24 UTC (rev 15362)
@@ -1,2 +1,2 @@
 README.txt
-unit-tests-results.txt
+pyamf/tests

Modified: packages/pyamf/trunk/debian/rules
===================================================================
--- packages/pyamf/trunk/debian/rules	2011-01-19 14:35:14 UTC (rev 15361)
+++ packages/pyamf/trunk/debian/rules	2011-01-19 16:04:24 UTC (rev 15362)
@@ -10,24 +10,26 @@
 override_dh_auto_clean:
 	find pyamf/tests -type f -name '*.pyc' -delete
 	dh_auto_clean
-	-rm -rf PyAMF.egg-info cpyamf/*.so cpyamf/*.c foo unit-tests-results.txt
+	rm -rf PyAMF.egg-info cpyamf/*.so cpyamf/*.c
 
 override_dh_auto_test:
 ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
-	# the test suite does not 100% pass at present,
-	# but the output could be useful documentation for users
-	mkdir -p pyamf/tests/imports/spam.py && touch pyamf/tests/imports/spam.py
-	(dh_auto_test ; \
+	# the test suite does not 100% pass at present.
+	# See http://dev.pyamf.org/ticket/821
+	mkdir -p pyamf/tests/imports && touch pyamf/tests/imports/spam.py
 	for python in $(shell pyversions -r); do \
 		$$python setup.py test; \
 		$$python-dbg setup.py test; \
-	done; echo $?) 2>&1 | tee unit-tests-results.txt
+	done || true
 endif
 
 override_dh_auto_install:
 	find pyamf cpyamf -name '*.pyc' -o -name '*.so' -type f | xargs rm -f
 	dh_auto_install
 
+override_dh_compress:
+	dh_compress -X.py
+
 get-orig-source:
 	cd $(dir $(firstword $(MAKEFILE_LIST)))../ && \
 	uscan --rename --force-download --watchfile debian/watch --destdir $(CURDIR)




More information about the Python-modules-commits mailing list