[Python-modules-commits] r18306 - in packages/python-amqplib/trunk/debian (10 files)

fladi-guest at users.alioth.debian.org fladi-guest at users.alioth.debian.org
Wed Aug 24 07:23:00 UTC 2011


    Date: Wednesday, August 24, 2011 @ 07:22:59
  Author: fladi-guest
Revision: 18306

New upstream release and major packaging overhaul.

Added:
  packages/python-amqplib/trunk/debian/python-amqplib-doc.docs
    (from rev 18305, packages/python-amqplib/trunk/debian/docs)
  packages/python-amqplib/trunk/debian/python-amqplib-doc.examples
    (from rev 18305, packages/python-amqplib/trunk/debian/examples)
Modified:
  packages/python-amqplib/trunk/debian/changelog
  packages/python-amqplib/trunk/debian/control
  packages/python-amqplib/trunk/debian/copyright
  packages/python-amqplib/trunk/debian/rules
  packages/python-amqplib/trunk/debian/source/format
  packages/python-amqplib/trunk/debian/watch
Deleted:
  packages/python-amqplib/trunk/debian/docs
  packages/python-amqplib/trunk/debian/examples

Modified: packages/python-amqplib/trunk/debian/changelog
===================================================================
--- packages/python-amqplib/trunk/debian/changelog	2011-08-24 04:24:16 UTC (rev 18305)
+++ packages/python-amqplib/trunk/debian/changelog	2011-08-24 07:22:59 UTC (rev 18306)
@@ -1,3 +1,19 @@
+python-amqplib (1.0.0-1) unstable; urgency=low
+
+  * New upstream release.
+  * Team upload.
+  * Switch to dh_python2.
+  * Switch to source format 3.0 (quilt).
+  * Build python3 version of package.
+  * Ship documentation in separate package.
+  * Bump standards version to 3.9.2.
+  * Use pypi.python.org in d/watch to fix uscan.
+  * Implement get-orig-source in d/rules to build consistent upstream
+    tarball.
+  * Format packaging files with wrap-and-sort.
+
+ -- Fladischer Michael <FladischerMichael at fladi.at>  Wed, 24 Aug 2011 08:43:44 +0200
+
 python-amqplib (0.6.1-1) unstable; urgency=low
 
   * New upstream release.

Modified: packages/python-amqplib/trunk/debian/control
===================================================================
--- packages/python-amqplib/trunk/debian/control	2011-08-24 04:24:16 UTC (rev 18305)
+++ packages/python-amqplib/trunk/debian/control	2011-08-24 07:22:59 UTC (rev 18306)
@@ -2,20 +2,50 @@
 Section: python
 Priority: optional
 Maintainer: Mikhail Gusarov <dottedmag at dottedmag.net>
-Uploaders: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
-Build-Depends: debhelper (>= 7), python-dev (>= 2.3.5-11)
-Build-Depends-Indep: python-support (>= 0.90)
-Standards-Version: 3.8.3
+Uploaders: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>,
+Build-Depends: debhelper (>= 7.0.50~),
+               python-all (>= 2.6.6-3~),
+               python3-all (>= 3.1.2-12~)
+Standards-Version: 3.9.2
+X-Python-Version: >= 2.3
+X-Python3-Version: >= 3.0
 Homepage: http://barryp.org/software/py-amqplib/
 Vcs-Svn: svn://svn.debian.org/python-modules/packages/python-amqplib/trunk/
 Vcs-Browser: http://svn.debian.org/viewsvn/python-modules/packages/python-amqplib/trunk/
 
 Package: python-amqplib
 Architecture: all
-Depends: ${python:Depends}, ${misc:Depends}
+Depends: ${misc:Depends}, ${python:Depends}
+Suggests: python-amqplib-doc
 Description: simple non-threaded Python AMQP client library
  Python client for the Advanced Message Queuing Protocol (AMQP) 0-8, featuring
  basic messaging functionality and SSL support.
  .
  python-amqplib provides synchronous API unlike other (event-driven)
  implementations.
+
+Package: python3-amqplib
+Architecture: all
+Depends: ${misc:Depends}, ${python3:Depends}
+Suggests: python-amqplib-doc
+Description: simple non-threaded Python AMQP client library (Python3 version)
+ Python client for the Advanced Message Queuing Protocol (AMQP) 0-8, featuring
+ basic messaging functionality and SSL support.
+ .
+ python3-amqplib provides synchronous API unlike other (event-driven)
+ implementations.
+ .
+ This package contains the Python 3 version of the library.
+
+Package: python-amqplib-doc
+Section: doc
+Architecture: all
+Depends: ${misc:Depends}
+Description: simple non-threaded Python AMQP client library (Documentation)
+ Python client for the Advanced Message Queuing Protocol (AMQP) 0-8, featuring
+ basic messaging functionality and SSL support.
+ .
+ python-amqplib provides synchronous API unlike other (event-driven)
+ implementations.
+ .
+ This package contains the documentation.

Modified: packages/python-amqplib/trunk/debian/copyright
===================================================================
--- packages/python-amqplib/trunk/debian/copyright	2011-08-24 04:24:16 UTC (rev 18305)
+++ packages/python-amqplib/trunk/debian/copyright	2011-08-24 07:22:59 UTC (rev 18306)
@@ -18,13 +18,14 @@
 
 Files: debian/*
 Copyright: 2009, Mikhail Gusarov <dottedmag at dottedmag.net>
+           2011, Fladischer Michael <FladischerMichael at fladi.at>
 License: LGPL-2.1+
 
 License: LGPL-2.1+
-    This program is free software; you can redistribute it and/or modify it
-    under the terms of the GNU Lesser General Public License as published by the
-    Free Software Foundation; either version 1, or (at your option) any later
-    version.
-
-    On Debian GNU/Linux systems, the complete text of the GNU Lesser General
-    Public License can be found in `/usr/share/common-licenses/LGPL'.
+ This program is free software; you can redistribute it and/or modify it
+ under the terms of the GNU Lesser General Public License as published by the
+ Free Software Foundation; either version 1, or (at your option) any later
+ version.
+ .
+ On Debian GNU/Linux systems, the complete text of the GNU Lesser General
+ Public License can be found in `/usr/share/common-licenses/LGPL'.

Deleted: packages/python-amqplib/trunk/debian/docs
===================================================================
--- packages/python-amqplib/trunk/debian/docs	2011-08-24 04:24:16 UTC (rev 18305)
+++ packages/python-amqplib/trunk/debian/docs	2011-08-24 07:22:59 UTC (rev 18306)
@@ -1,3 +0,0 @@
-docs/*
-README
-TODO

Deleted: packages/python-amqplib/trunk/debian/examples
===================================================================
--- packages/python-amqplib/trunk/debian/examples	2011-08-24 04:24:16 UTC (rev 18305)
+++ packages/python-amqplib/trunk/debian/examples	2011-08-24 07:22:59 UTC (rev 18306)
@@ -1,3 +0,0 @@
-demo
-extras
-tests

Copied: packages/python-amqplib/trunk/debian/python-amqplib-doc.docs (from rev 18305, packages/python-amqplib/trunk/debian/docs)
===================================================================
--- packages/python-amqplib/trunk/debian/python-amqplib-doc.docs	                        (rev 0)
+++ packages/python-amqplib/trunk/debian/python-amqplib-doc.docs	2011-08-24 07:22:59 UTC (rev 18306)
@@ -0,0 +1,3 @@
+docs/*
+README
+TODO

Copied: packages/python-amqplib/trunk/debian/python-amqplib-doc.examples (from rev 18305, packages/python-amqplib/trunk/debian/examples)
===================================================================
--- packages/python-amqplib/trunk/debian/python-amqplib-doc.examples	                        (rev 0)
+++ packages/python-amqplib/trunk/debian/python-amqplib-doc.examples	2011-08-24 07:22:59 UTC (rev 18306)
@@ -0,0 +1,3 @@
+demo
+extras
+tests

Modified: packages/python-amqplib/trunk/debian/rules
===================================================================
--- packages/python-amqplib/trunk/debian/rules	2011-08-24 04:24:16 UTC (rev 18305)
+++ packages/python-amqplib/trunk/debian/rules	2011-08-24 07:22:59 UTC (rev 18306)
@@ -1,3 +1,41 @@
 #!/usr/bin/make -f
+
+PYVERS :=  $(shell pyversions -r)
+PY3VERS := $(shell py3versions -r)
+
 %:
-	dh $@
+	dh $@ --with python2,python3
+
+.PHONY: override_dh_auto_build
+override_dh_auto_build:
+	set -e; \
+	for py in $(PYVERS) $(PY3VERS); do \
+		$$py setup.py build; \
+	done
+
+.PHONY: override_dh_auto_clean
+override_dh_auto_clean:
+	set -e; \
+	for py in $(PYVERS) $(PY3VERS); do \
+		$$py setup.py clean; \
+		rm -rf build; \
+	done
+
+.PHONY: override_dh_auto_install
+override_dh_auto_install:
+	set -e; \
+	for py in $(PYVERS); do \
+		$$py setup.py install --skip-build --root debian/python-amqplib \
+		                      --install-layout deb; \
+	done
+	set -e; \
+	for py in $(PY3VERS); do \
+		$$py setup.py install --skip-build --root debian/python3-amqplib \
+		                      --install-layout deb; \
+	done
+
+get-orig-source:
+	hg clone https://code.google.com/p/py-amqplib/
+	cd py-amqplib; hg archive -r 1.0.0 -t tbz2 ../python-amqplib_1.0.0.orig.tar.bz2
+	rm -rf py-amqplib
+

Modified: packages/python-amqplib/trunk/debian/source/format
===================================================================
--- packages/python-amqplib/trunk/debian/source/format	2011-08-24 04:24:16 UTC (rev 18305)
+++ packages/python-amqplib/trunk/debian/source/format	2011-08-24 07:22:59 UTC (rev 18306)
@@ -1 +1 @@
-1.0
+3.0 (quilt)

Modified: packages/python-amqplib/trunk/debian/watch
===================================================================
--- packages/python-amqplib/trunk/debian/watch	2011-08-24 04:24:16 UTC (rev 18305)
+++ packages/python-amqplib/trunk/debian/watch	2011-08-24 07:22:59 UTC (rev 18306)
@@ -1,2 +1,2 @@
 version=3
-http://code.google.com/p/py-amqplib/downloads/list http://py-amqplib.googlecode.com/files/amqplib-(.*)\.tgz
+http://pypi.python.org/packages/source/a/amqplib/amqplib-([\d\.]+)\.tgz




More information about the Python-modules-commits mailing list