[Python-modules-commits] r15272 - in packages/pyamf/trunk/debian (7 files)

nomadium-guest at users.alioth.debian.org nomadium-guest at users.alioth.debian.org
Sat Jan 8 23:11:06 UTC 2011


    Date: Saturday, January 8, 2011 @ 23:11:05
  Author: nomadium-guest
Revision: 15272

* Add minimum version to some Build-Depends.
* Add a Suggests field to binary package python-pyamf.
* Update copyright file.
* Add additional information to patches.
* Fix potential FTBFS errors with clean and install targets.

Modified:
  packages/pyamf/trunk/debian/changelog
  packages/pyamf/trunk/debian/control
  packages/pyamf/trunk/debian/copyright
  packages/pyamf/trunk/debian/patches/cython-declarations.diff
  packages/pyamf/trunk/debian/patches/missing_unittests.diff
  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-08 15:19:19 UTC (rev 15271)
+++ packages/pyamf/trunk/debian/changelog	2011-01-08 23:11:05 UTC (rev 15272)
@@ -2,4 +2,4 @@
 
   * Initial release. (Closes: #499617)
 
- -- Miguel Landaeta <miguel at miguel.cc>  Thu, 06 Jan 2011 19:15:25 -0430
+ -- Miguel Landaeta <miguel at miguel.cc>  Sat, 08 Jan 2011 18:25:26 -0430

Modified: packages/pyamf/trunk/debian/control
===================================================================
--- packages/pyamf/trunk/debian/control	2011-01-08 15:19:19 UTC (rev 15271)
+++ packages/pyamf/trunk/debian/control	2011-01-08 23:11:05 UTC (rev 15272)
@@ -4,8 +4,9 @@
 Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
 Uploaders: Miguel Landaeta <miguel at miguel.cc>
 Build-Depends: debhelper (>= 7.0.50~), python-all-dev, cython (>= 0.13),
- python-all-dbg, python-setuptools (>= 0.6c9), python-lxml, python-twisted-core,
- python-twisted-web, python-elixir, python-sqlalchemy, python-django,
+ python-all-dbg, python-setuptools (>= 0.6c9), python-lxml,
+ python-twisted-core (>= 2.5.0), python-twisted-web (>= 2.5.0),
+ 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/
@@ -16,6 +17,8 @@
 Architecture: any
 Depends: ${shlibs:Depends}, ${python:Depends}, ${misc:Depends}
 Enhances: python-pylons, python-django, python-twisted
+Suggests: python-twisted-core (>= 2.5.0), python-twisted-web (>= 2.5.0),
+ python-elixir (>= 0.7.1), python-sqlalchemy (>= 0.4), python-django (>= 0.96)
 Description: Action Message Format support for Python
  PyAMF provides Action Message Format (AMF) support for Python
  that is compatible with the Flash Player. It includes integration

Modified: packages/pyamf/trunk/debian/copyright
===================================================================
--- packages/pyamf/trunk/debian/copyright	2011-01-08 15:19:19 UTC (rev 15271)
+++ packages/pyamf/trunk/debian/copyright	2011-01-08 23:11:05 UTC (rev 15272)
@@ -29,7 +29,7 @@
 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, Miguel Landaeta <miguel at miguel.cc>
+           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

Modified: packages/pyamf/trunk/debian/patches/cython-declarations.diff
===================================================================
--- packages/pyamf/trunk/debian/patches/cython-declarations.diff	2011-01-08 15:19:19 UTC (rev 15271)
+++ packages/pyamf/trunk/debian/patches/cython-declarations.diff	2011-01-08 23:11:05 UTC (rev 15272)
@@ -5,6 +5,7 @@
  https://github.com/hydralabs/pyamf/raw/master/cpyamf/util.pxd
  https://github.com/hydralabs/pyamf/raw/master/cpyamf/codec.pxd
  https://github.com/hydralabs/pyamf/raw/master/cpyamf/amf3.pxd
+ For more information please visit: http://dev.pyamf.org/ticket/818
 Author: Miguel Landaeta <miguel at miguel.cc>
 Bug-Debian: http://bugs.debian.org/499617
 Forwarded: not-needed

Modified: packages/pyamf/trunk/debian/patches/missing_unittests.diff
===================================================================
--- packages/pyamf/trunk/debian/patches/missing_unittests.diff	2011-01-08 15:19:19 UTC (rev 15271)
+++ packages/pyamf/trunk/debian/patches/missing_unittests.diff	2011-01-08 23:11:05 UTC (rev 15272)
@@ -1,8 +1,9 @@
-Description: Include missing unit tests.
+Description: Include missing unit tests
  Those unit tests were obtained from the upstream git repo available at
  git://github.com/hydralabs/pyamf.git using the tag release-0.6.
  Upstream is aware of this issue and this patch should be dropped when
- new upstream releases will be available.
+ new upstream releases will be available. For more information please
+ visit: http://dev.pyamf.org/ticket/820.
 Author: Miguel Landaeta <miguel at miguel.cc>
 Forwarded: not-needed
 Last-Update: 2011-01-06

Modified: packages/pyamf/trunk/debian/python-pyamf.docs
===================================================================
--- packages/pyamf/trunk/debian/python-pyamf.docs	2011-01-08 15:19:19 UTC (rev 15271)
+++ packages/pyamf/trunk/debian/python-pyamf.docs	2011-01-08 23:11:05 UTC (rev 15272)
@@ -1 +1,2 @@
 README.txt
+unit-tests-results.txt

Modified: packages/pyamf/trunk/debian/rules
===================================================================
--- packages/pyamf/trunk/debian/rules	2011-01-08 15:19:19 UTC (rev 15271)
+++ packages/pyamf/trunk/debian/rules	2011-01-08 23:11:05 UTC (rev 15272)
@@ -1,5 +1,4 @@
 #!/usr/bin/make -f
-
 %:
 	dh --with python2 $@
 
@@ -9,6 +8,7 @@
 	dh_auto_build
 
 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
 
@@ -16,6 +16,7 @@
 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 ; \
 	for python in $(shell pyversions -r); do \
 		$$python setup.py test; \
@@ -23,6 +24,10 @@
 	done; echo $?) 2>&1 | tee unit-tests-results.txt
 endif
 
+override_dh_auto_install:
+	find pyamf cpyamf -name '*.pyc' -o -name '*.so' -type f | xargs rm -f
+	dh_auto_install
+
 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