[Python-modules-commits] r18446 - in packages/python-decorator/trunk/debian (12 files)
piotr at users.alioth.debian.org
piotr at users.alioth.debian.org
Mon Sep 5 20:20:10 UTC 2011
Date: Monday, September 5, 2011 @ 20:20:08
Author: piotr
Revision: 18446
* New upstream release
- documentation.py installed instead of pdf and html file (which are no
longer available)
* New binary package: python3-decorator
* Switch from dh_pysupport to dh_python2 (Closes: #631402)
* Homepage field updated (Closes: #626325)
* debian/compat bumped to 7, debian/clean added
* Source format changed to 3.0 (quilt)
* Standards-Version bumped to 3.9.2 (no changes needed)
* python added to Build-Depends (clean rule needs it)
Added:
packages/python-decorator/trunk/debian/clean
packages/python-decorator/trunk/debian/python-decorator.docs
packages/python-decorator/trunk/debian/python3-decorator.docs
Modified:
packages/python-decorator/trunk/debian/changelog
packages/python-decorator/trunk/debian/compat
packages/python-decorator/trunk/debian/control
packages/python-decorator/trunk/debian/copyright
packages/python-decorator/trunk/debian/rules
packages/python-decorator/trunk/debian/source/format
Deleted:
packages/python-decorator/trunk/debian/dirs
packages/python-decorator/trunk/debian/docs
packages/python-decorator/trunk/debian/python-decorator.doc-base
Modified: packages/python-decorator/trunk/debian/changelog
===================================================================
--- packages/python-decorator/trunk/debian/changelog 2011-09-05 19:42:29 UTC (rev 18445)
+++ packages/python-decorator/trunk/debian/changelog 2011-09-05 20:20:08 UTC (rev 18446)
@@ -1,3 +1,17 @@
+python-decorator (3.3.2-1) unstable; urgency=low
+
+ * New upstream release
+ - documentation.py installed instead of pdf and html file (which are no
+ longer available)
+ * New binary package: python3-decorator
+ * Switch from dh_pysupport to dh_python2 (Closes: #631402)
+ * Homepage field updated (Closes: #626325)
+ * debian/compat bumped to 7, debian/clean added
+ * Source format changed to 3.0 (quilt)
+ * Standards-Version bumped to 3.9.2 (no changes needed)
+
+ -- Piotr Ożarowski <piotr at debian.org> Mon, 05 Sep 2011 21:42:56 +0200
+
python-decorator (3.2.0-1) unstable; urgency=low
* New upstream release
@@ -2,2 +16,3 @@
- changelog no longer available
+ * python added to Build-Depends (clean rule needs it)
* debian/watch file points to PyPI now
Added: packages/python-decorator/trunk/debian/clean
===================================================================
--- packages/python-decorator/trunk/debian/clean (rev 0)
+++ packages/python-decorator/trunk/debian/clean 2011-09-05 20:20:08 UTC (rev 18446)
@@ -0,0 +1,2 @@
+setup.cfg
+src/decorator.egg-info/SOURCES.txt
Modified: packages/python-decorator/trunk/debian/compat
===================================================================
--- packages/python-decorator/trunk/debian/compat 2011-09-05 19:42:29 UTC (rev 18445)
+++ packages/python-decorator/trunk/debian/compat 2011-09-05 20:20:08 UTC (rev 18446)
@@ -1 +1 @@
-5
+7
Modified: packages/python-decorator/trunk/debian/control
===================================================================
--- packages/python-decorator/trunk/debian/control 2011-09-05 19:42:29 UTC (rev 18445)
+++ packages/python-decorator/trunk/debian/control 2011-09-05 20:20:08 UTC (rev 18446)
@@ -3,18 +3,19 @@
Priority: optional
Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
Uploaders: Oleksandr Moskalenko <malex at debian.org>, Piotr Ożarowski <piotr at debian.org>
-Build-Depends: debhelper (>= 5)
-Build-Depends-Indep: python-support (>= 0.6.4), python-all-dev, python-setuptools (>= 0.6b3~)
-Standards-Version: 3.8.4
+Build-Depends: debhelper (>= 7), python-all (>= 2.6.6-3), python3-all,
+ python-setuptools (>= 0.6b3~), python3-setuptools
+Standards-Version: 3.9.2
Vcs-Svn: svn://svn.debian.org/python-modules/packages/python-decorator/trunk/
Vcs-Browser: http://svn.debian.org/viewsvn/python-modules/packages/python-decorator/trunk/
-Homepage: http://www.phyast.pitt.edu/~micheles/python/documentation.html
+Homepage: http://pypi.python.org/pypi/decorator
+X-Python-Version: >= 2.4
Package: python-decorator
Architecture: all
-Depends: ${python:Depends}, ${misc:Depends},
+Depends: ${python:Depends}, ${misc:Depends}
Enhances: python-pylons
-Description: simplify usage of python decorators by programmers
+Description: simplify usage of Python decorators by programmers
Python 2.4 decorators have significantly changed the way Python programs are
structured.
* decorators help reduce boilerplate code;
@@ -28,3 +29,21 @@
The aim of the decorator module it to simplify the usage of decorators for
the average programmer and to popularize decorators usage giving examples of
useful decorators, such as memoize, tracing, redirecting_stdout, locked, etc.
+
+Package: python3-decorator
+Architecture: all
+Depends: ${python3:Depends}, ${misc:Depends}
+Description: simplify usage of Python decorators by programmers
+ Python 2.4 decorators have significantly changed the way Python programs are
+ structured.
+ * decorators help reduce boilerplate code;
+ * decorators help the separation of concerns;
+ * decorators enhance readability and maintainability;
+ * decorators are very explicit.
+ Still, as of now, writing custom decorators correctly requires some
+ experience and is not as easy as it could be. For instance, typical
+ implementations of decorators involve nested functions and we all know that
+ flat is better than nested.
+ The aim of the decorator module it to simplify the usage of decorators for
+ the average programmer and to popularize decorators usage giving examples of
+ useful decorators, such as memoize, tracing, redirecting_stdout, locked, etc.
Modified: packages/python-decorator/trunk/debian/copyright
===================================================================
--- packages/python-decorator/trunk/debian/copyright 2011-09-05 19:42:29 UTC (rev 18445)
+++ packages/python-decorator/trunk/debian/copyright 2011-09-05 20:20:08 UTC (rev 18446)
@@ -2,17 +2,33 @@
Fri, 13 Apr 2007 13:10:43 -0600.
It was downloaded from
-http://www.phyast.pitt.edu/~micheles/python/documentation.html
+http://pypi.python.org/packages/source/d/decorator/
-Copyright 2007-2010 Michele Simionato <michele.simionato at gmail.com>
+Copyright 2005-2011 Michele Simionato <michele.simionato at gmail.com>
License:
- This software is licensed under the 2-clause BSD license.
+ All rights reserved.
- On Debian systems, the complete text of the BSD license can be found in
- /usr/share/common-licenses/BSD
+ Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+ Redistributions in bytecode 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.
+ 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
+ HOLDERS 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.
The Debian packaging is copyright 2007-2010, Oleksandr Moskalenko
<malex at debian.org> and is licensed under the BSD license as above.
Deleted: packages/python-decorator/trunk/debian/dirs
===================================================================
--- packages/python-decorator/trunk/debian/dirs 2011-09-05 19:42:29 UTC (rev 18445)
+++ packages/python-decorator/trunk/debian/dirs 2011-09-05 20:20:08 UTC (rev 18446)
@@ -1 +0,0 @@
-usr/share/python-support/python-decorator
Deleted: packages/python-decorator/trunk/debian/docs
===================================================================
--- packages/python-decorator/trunk/debian/docs 2011-09-05 19:42:29 UTC (rev 18445)
+++ packages/python-decorator/trunk/debian/docs 2011-09-05 20:20:08 UTC (rev 18446)
@@ -1,3 +0,0 @@
-documentation.html
-documentation.pdf
-README.txt
Deleted: packages/python-decorator/trunk/debian/python-decorator.doc-base
===================================================================
--- packages/python-decorator/trunk/debian/python-decorator.doc-base 2011-09-05 19:42:29 UTC (rev 18445)
+++ packages/python-decorator/trunk/debian/python-decorator.doc-base 2011-09-05 20:20:08 UTC (rev 18446)
@@ -1,13 +0,0 @@
-Document: python-decorator
-Title: Python Decorator Manual
-Author: Michele Simionato
-Abstract: This manuals describes the need for python-decorator module and its use.
-Section: Programming
-
-Format: HTML
-Index: /usr/share/doc/python-decorator/documentation.html
-Files: /usr/share/doc/python-decorator/documentation.html
-
-Format: PDF
-Files: /usr/share/doc/python-decorator/documentation.pdf.gz
-
Added: packages/python-decorator/trunk/debian/python-decorator.docs
===================================================================
--- packages/python-decorator/trunk/debian/python-decorator.docs (rev 0)
+++ packages/python-decorator/trunk/debian/python-decorator.docs 2011-09-05 20:20:08 UTC (rev 18446)
@@ -0,0 +1,2 @@
+documentation.py
+README.txt
Added: packages/python-decorator/trunk/debian/python3-decorator.docs
===================================================================
--- packages/python-decorator/trunk/debian/python3-decorator.docs (rev 0)
+++ packages/python-decorator/trunk/debian/python3-decorator.docs 2011-09-05 20:20:08 UTC (rev 18446)
@@ -0,0 +1,2 @@
+documentation3.py
+README.txt
Modified: packages/python-decorator/trunk/debian/rules
===================================================================
--- packages/python-decorator/trunk/debian/rules 2011-09-05 19:42:29 UTC (rev 18445)
+++ packages/python-decorator/trunk/debian/rules 2011-09-05 20:20:08 UTC (rev 18446)
@@ -1,10 +1,4 @@
#!/usr/bin/make -f
-# -*- makefile -*-
-# Uncomment this to turn on verbose mode.
-#export DH_VERBOSE=1
-DEB_UPSTREAM_VERSION=$(shell dpkg-parsechangelog \
- | grep ^Version: | cut -d ' ' -f 2 | cut -d '-' -f 1)
-package=python-decorator
clean:
rm -f build-*
@@ -13,27 +7,26 @@
python setup.py clean
rm -rf build
find . -name *\.py[co] -exec rm -f {} \;
- dh_clean
+ dh_clean build-indep
build: build-indep
+build-arch:
-build-indep:
- touch $@
-
-build-stamp:
+build-indep:
dh_testdir
python setup.py build
touch $@
-install: build
+install:
dh_testdir
dh_testroot
- dh_clean -k
dh_installdirs
python setup.py install \
- --no-compile \
--single-version-externally-managed \
- --root $(CURDIR)/debian/$(package)
+ --root $(CURDIR)/debian/python-decorator
+ python3 setup.py install \
+ --single-version-externally-managed \
+ --root $(CURDIR)/debian/python3-decorator
binary-indep: build install
dh_testdir
@@ -41,7 +34,8 @@
dh_installchangelogs
dh_installdocs
dh_installexamples
- dh_pysupport
+ dh_python2
+ dh_python3
dh_compress -X.py
dh_fixperms
dh_installdeb
@@ -51,5 +45,5 @@
binary-arch:
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install configure
+binary: binary-indep
+.PHONY: build build-arch clean binary-indep binary-arch binary install
Modified: packages/python-decorator/trunk/debian/source/format
===================================================================
--- packages/python-decorator/trunk/debian/source/format 2011-09-05 19:42:29 UTC (rev 18445)
+++ packages/python-decorator/trunk/debian/source/format 2011-09-05 20:20:08 UTC (rev 18446)
@@ -1 +1 @@
-1.0
+3.0 (quilt)
More information about the Python-modules-commits
mailing list