[Python-modules-commits] r6891 - in packages/pyamf/trunk/debian (changelog control rules)

piotr at users.alioth.debian.org piotr at users.alioth.debian.org
Fri Nov 14 20:48:10 UTC 2008


    Date: Friday, November 14, 2008 @ 20:48:10
  Author: piotr
Revision: 6891

* change binary name to python-pyamf
* add Pylons, Django and Twisted to Enhances
* remove .pyc files in clean rule
* don't run tests if "nocheck" is in DEB_BUILD_OPTIONS

Modified:
  packages/pyamf/trunk/debian/changelog
  packages/pyamf/trunk/debian/control
  packages/pyamf/trunk/debian/rules

Modified: packages/pyamf/trunk/debian/changelog
===================================================================
--- packages/pyamf/trunk/debian/changelog	2008-11-14 19:39:37 UTC (rev 6890)
+++ packages/pyamf/trunk/debian/changelog	2008-11-14 20:48:10 UTC (rev 6891)
@@ -1,10 +1,5 @@
 pyamf (0.3.1-1) UNRELEASED; urgency=low
 
-  [ Daniel Watkins ]
   * Initial release. (Closes: #499617)
 
-  [ Sandro Tosi ]
-  * debian/control
-    - switch Vcs-Browser field to viewsvn
-
  -- Daniel Watkins <daniel at daniel-watkins.co.uk>  Fri, 14 Nov 2008 15:41:05 +0000

Modified: packages/pyamf/trunk/debian/control
===================================================================
--- packages/pyamf/trunk/debian/control	2008-11-14 19:39:37 UTC (rev 6890)
+++ packages/pyamf/trunk/debian/control	2008-11-14 20:48:10 UTC (rev 6891)
@@ -10,10 +10,11 @@
 Vcs-Svn: svn://svn.debian.org/python-modules/packages/pyamf/trunk/
 Vcs-Browser: http://svn.debian.org/viewsvn/python-modules/packages/pyamf/trunk/
 
-Package: python-amf
+Package: python-pyamf
 Architecture: all
 XB-Python-Version: ${python:Versions}
 Depends: ${python:Depends}, ${misc:Depends}
+Enhances: python-pylons, python-django, python-twisted
 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/rules
===================================================================
--- packages/pyamf/trunk/debian/rules	2008-11-14 19:39:37 UTC (rev 6890)
+++ packages/pyamf/trunk/debian/rules	2008-11-14 20:48:10 UTC (rev 6891)
@@ -11,12 +11,15 @@
 
 clean: pre-clean unpatch
 	dh clean
+	find . -name '*\.py[co]' -delete
 
 build: patch
 	dh build
 
 install: build
+ifeq (,$(findstring nocheck,$(DEB_BUILD_OPTIONS)))
 	PYTHONPATH=. python pyamf/tests/__init__.py
+endif
 	dh install --before dh_installchangelogs
 	dh_installchangelogs CHANGES.txt
 	dh install --before dh_compress




More information about the Python-modules-commits mailing list