[Python-modules-commits] r6236 - in packages/python-progressbar/trunk (9 files)

morph-guest at users.alioth.debian.org morph-guest at users.alioth.debian.org
Tue Aug 19 15:41:33 UTC 2008


    Date: Tuesday, August 19, 2008 @ 15:41:31
  Author: morph-guest
Revision: 6236

[svn-inject] Applying Debian modifications to trunk

Added:
  packages/python-progressbar/trunk/debian/
  packages/python-progressbar/trunk/debian/changelog
  packages/python-progressbar/trunk/debian/compat
  packages/python-progressbar/trunk/debian/control
  packages/python-progressbar/trunk/debian/copyright
  packages/python-progressbar/trunk/debian/examples/
  packages/python-progressbar/trunk/debian/examples/example1.py
  packages/python-progressbar/trunk/debian/rules
  packages/python-progressbar/trunk/debian/watch


Property changes on: packages/python-progressbar/trunk/debian
___________________________________________________________________
Name: mergeWithUpstream
   + 1

Added: packages/python-progressbar/trunk/debian/changelog
===================================================================
--- packages/python-progressbar/trunk/debian/changelog	                        (rev 0)
+++ packages/python-progressbar/trunk/debian/changelog	2008-08-19 15:41:31 UTC (rev 6236)
@@ -0,0 +1,5 @@
+python-progressbar (2.2-1) UNRELEASED; urgency=low
+
+  * Initial release. (Closes: #495664)
+
+ -- Sandro Tosi <matrixhasu at gmail.com>  Tue, 19 Aug 2008 16:59:35 +0200

Added: packages/python-progressbar/trunk/debian/compat
===================================================================
--- packages/python-progressbar/trunk/debian/compat	                        (rev 0)
+++ packages/python-progressbar/trunk/debian/compat	2008-08-19 15:41:31 UTC (rev 6236)
@@ -0,0 +1 @@
+5

Added: packages/python-progressbar/trunk/debian/control
===================================================================
--- packages/python-progressbar/trunk/debian/control	                        (rev 0)
+++ packages/python-progressbar/trunk/debian/control	2008-08-19 15:41:31 UTC (rev 6236)
@@ -0,0 +1,20 @@
+Source: python-progressbar
+Section: python
+Priority: optional
+Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
+Uploaders: Sandro Tosi <matrixhasu at gmail.com>
+Build-Depends: debhelper (>= 5), python
+Build-Depends-Indep: python-support (>= 0.4)
+Standards-Version: 3.8.0
+Homepage: http://pypi.python.org/pypi/progressbar
+Vcs-Svn: svn://svn.debian.org/python-modules/packages/python-progressbar/trunk/
+Vcs-Browser: http://svn.debian.org/wsvn/python-modules/packages/python-progressbar/trunk/?op=log
+XS-DM-Upload-Allowed: yes
+
+Package: python-progressbar
+Architecture: all
+Depends: ${python:Depends}, ${misc:Depends}
+Description: text progressbar library for Python
+ This library provides a text mode progressbar. This is tipically used
+ to display the progress of a long running operation, providing a
+ visual clue that processing is underway.

Added: packages/python-progressbar/trunk/debian/copyright
===================================================================
--- packages/python-progressbar/trunk/debian/copyright	                        (rev 0)
+++ packages/python-progressbar/trunk/debian/copyright	2008-08-19 15:41:31 UTC (rev 6236)
@@ -0,0 +1,25 @@
+This package was debianized by Sandro Tosi <matrixhasu at gmail.com> on
+Tue, 19 Aug 2008 17:06:03 +0200
+
+It was downloaded from http://pypi.python.org/pypi/progressbar
+
+Upstream Author: 
+
+    Nilton Volpato <nilton.volpato at gmail.com>
+
+Copyright: 
+
+    Copyright (C) 2005 Nilton Volpato
+
+License:
+
+    This library 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 2.1 of the License, or (at your option) any later version.
+
+On a Debian system the complete text of the GNU General Public License v2.1
+can be found in the file `/usr/share/common-licenses/LGPL-2.1'.
+
+The Debian packaging is (C) 2008, Sandro Tosi <matrixhasu at gmail.com> and
+is licensed under the LGPLv2.1, see `/usr/share/common-licenses/LGPL-2.1'.

Added: packages/python-progressbar/trunk/debian/examples/example1.py
===================================================================
--- packages/python-progressbar/trunk/debian/examples/example1.py	                        (rev 0)
+++ packages/python-progressbar/trunk/debian/examples/example1.py	2008-08-19 15:41:31 UTC (rev 6236)
@@ -0,0 +1,14 @@
+#!/usr/bin/python
+
+# Taken from http://www.pythonbrasil.com.br/moin.cgi/BarraProgresso
+
+from progressbar import *
+
+def example1():
+    widgets = ['Test: ', Percentage(), ' ', Bar(marker=RotatingMarker()),' ', ETA(), ' ', FileTransferSpeed()]
+    pbar = ProgressBar(widgets=widgets, maxval=20000000).start()
+    for i in range(2000000):
+        pbar.update(10*i+1)
+    pbar.finish()
+
+example1()

Added: packages/python-progressbar/trunk/debian/rules
===================================================================
--- packages/python-progressbar/trunk/debian/rules	                        (rev 0)
+++ packages/python-progressbar/trunk/debian/rules	2008-08-19 15:41:31 UTC (rev 6236)
@@ -0,0 +1,53 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+build: build-stamp
+build-stamp:
+	dh_testdir
+
+	python setup.py build;
+	
+	touch $@
+
+clean:
+	dh_testdir
+	dh_testroot
+	rm -f build-stamp
+
+	[ ! -d build ] || rm -rf build
+
+	python setup.py clean;
+
+	find . -name '*\.pyc' -delete
+
+	dh_clean 
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_installdirs
+
+	# Add here commands to install the package into debian/python-progressbar.
+	python setup.py install --root=debian/python-progressbar;
+
+
+# Build architecture-independent files here.
+binary-indep: build install
+	dh_testdir
+	dh_testroot
+	dh_installchangelogs
+	dh_installdocs		README
+	dh_installexamples	debian/examples/*
+	dh_pysupport		-X.py
+	dh_compress
+	dh_fixperms
+	dh_installdeb
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install


Property changes on: packages/python-progressbar/trunk/debian/rules
___________________________________________________________________
Name: svn:executable
   + *

Added: packages/python-progressbar/trunk/debian/watch
===================================================================
--- packages/python-progressbar/trunk/debian/watch	                        (rev 0)
+++ packages/python-progressbar/trunk/debian/watch	2008-08-19 15:41:31 UTC (rev 6236)
@@ -0,0 +1,2 @@
+version=3
+http://pypi.python.org/packages/source/p/progressbar/progressbar-(.*)\.tar\.gz




More information about the Python-modules-commits mailing list