--- python-decorator-2.2.0.orig/debian/copyright +++ python-decorator-2.2.0/debian/copyright @@ -0,0 +1,20 @@ +This package was debianized by Oleksandr Moskalenko on +Fri, 13 Apr 2007 13:10:43 -0600. + +It was downloaded from +http://www.phyast.pitt.edu/~micheles/python/documentation.html + +Upstream Author: Michele Simionato + +Copyright: 2007 Michele Simionato + +License: + + This software is licensed under the 2-clause BSD license. + + On Debian systems, the complete text of the BSD license can be found in + /usr/share/common-licenses/BSD + + +The Debian packaging is (C) 2007, Oleksandr Moskalenko and +is licensed under the GPL, see `/usr/share/common-licenses/GPL'. --- python-decorator-2.2.0.orig/debian/changelog +++ python-decorator-2.2.0/debian/changelog @@ -0,0 +1,40 @@ +python-decorator (2.2.0-1) unstable; urgency=low + + * New upstream release. + + -- Oleksandr Moskalenko Tue, 28 Aug 2007 18:30:22 -0600 + +python-decorator (2.1.0-1) unstable; urgency=low + + * New upstream release. + + -- Oleksandr Moskalenko Wed, 18 Jul 2007 15:28:47 -0600 + +python-decorator (2.0.1-4) unstable; urgency=low + + * New python-support handles egg's directory name correctly: + @ Piotr Ożarowski + - bump python-support required version + - remove mv part from debian/rules + + -- Oleksandr Moskalenko Fri, 11 May 2007 11:12:01 -0600 + +python-decorator (2.0.1-3) unstable; urgency=low + + * debian/control: Changed section from web to python (Closes: #422981). + + -- Oleksandr Moskalenko Thu, 10 May 2007 00:23:24 -0600 + +python-decorator (2.0.1-2) unstable; urgency=low + + * Added debian/watch file + * Finished the NEW queue. Upload into unstable. + + -- Oleksandr Moskalenko Mon, 07 May 2007 15:30:30 -0600 + +python-decorator (2.0.1-1) experimental; urgency=low + + * Initial release (Closes: #419127). + + -- Oleksandr Moskalenko Fri, 13 Apr 2007 13:10:43 -0600 + --- python-decorator-2.2.0.orig/debian/control +++ python-decorator-2.2.0/debian/control @@ -0,0 +1,30 @@ +Source: python-decorator +Section: python +Priority: optional +Maintainer: Oleksandr Moskalenko +Uploaders: Debian Python Modules Team +Build-Depends: debhelper (>= 5), python (>= 2.4), python-all-dev, python-support (>= 0.6.4), python-setuptools (>= 0.6b3-1) +Standards-Version: 3.7.2 +XS-Python-Version: all +XS-Vcs-Svn: svn://svn.debian.org/python-modules/packages/python-decorator/trunk/ +XS-Vcs-Browser: http://svn.debian.org/wsvn/python-modules/packages/python-decorator/trunk/?op=log + +Package: python-decorator +Architecture: all +Depends: ${python:Depends}, python (>=2.4) +XB-Python-Version: ${python:Versions} +Enhances: python-pylons +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 separation of concerns; + * decorators enhance readability and maintenability; + * 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. --- python-decorator-2.2.0.orig/debian/docs +++ python-decorator-2.2.0/debian/docs @@ -0,0 +1,4 @@ +documentation.html +documentation.pdf +documentation.txt +README.txt --- python-decorator-2.2.0.orig/debian/watch +++ python-decorator-2.2.0/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://www.phyast.pitt.edu/~micheles/python/documentation.html http://www.phyast.pitt.edu/~micheles/python/decorator-(.*)\.zip --- python-decorator-2.2.0.orig/debian/compat +++ python-decorator-2.2.0/debian/compat @@ -0,0 +1 @@ +5 --- python-decorator-2.2.0.orig/debian/rules +++ python-decorator-2.2.0/debian/rules @@ -0,0 +1,59 @@ +#!/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-* + dh_testdir + dh_testroot + python setup.py clean + rm -rf build + find . -name *\.py[co] -exec rm -f {} \; + dh_clean + +build: build-indep + +build-indep: + touch $@ + +build-stamp: + dh_testdir + python setup.py build + touch $@ + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + python setup.py install \ + --no-compile \ + --single-version-externally-managed \ + --root $(CURDIR)/debian/$(package) + +binary-indep: build install + dh_testdir + dh_testroot + dh_installchangelogs CHANGES.txt + dh_installdocs +# mv debian/$(package)/usr/share/doc/$(package)/CHANGES.txt \ + debian/$(package)/usr/share/doc/$(package)/changelog + dh_installexamples + dh_strip + dh_compress -X.py + dh_fixperms + dh_pysupport + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary-arch: + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install configure --- python-decorator-2.2.0.orig/debian/dirs +++ python-decorator-2.2.0/debian/dirs @@ -0,0 +1 @@ +usr/share/python-support/python-decorator