[Python-modules-commits] r3940 - in packages/python-processing/trunk (10 files)

morph-guest at users.alioth.debian.org morph-guest at users.alioth.debian.org
Thu Dec 13 22:13:59 UTC 2007


    Date: Thursday, December 13, 2007 @ 22:13:57
  Author: morph-guest
Revision: 3940

[svn-inject] Applying Debian modifications to trunk

Added:
  packages/python-processing/trunk/debian/
  packages/python-processing/trunk/debian/changelog
  packages/python-processing/trunk/debian/compat
  packages/python-processing/trunk/debian/control
  packages/python-processing/trunk/debian/copyright
  packages/python-processing/trunk/debian/patches/
  packages/python-processing/trunk/debian/patches/00list
  packages/python-processing/trunk/debian/patches/01_setup.py.dpatch
  packages/python-processing/trunk/debian/rules
  packages/python-processing/trunk/debian/watch


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

Added: packages/python-processing/trunk/debian/changelog
===================================================================
--- packages/python-processing/trunk/debian/changelog	                        (rev 0)
+++ packages/python-processing/trunk/debian/changelog	2007-12-13 22:13:57 UTC (rev 3940)
@@ -0,0 +1,10 @@
+python-processing (0.39-1) unstable; urgency=low
+
+  TO CHECK:
+    - should I patch index.html to reflect debian file disposition?
+    - install even test/ dir or not? in the doc part, maybe?
+    - I don't compress upstream "doc" dir files in doc, is it ok?
+
+  * Initial release (Closes: #454359)
+
+ -- Sandro Tosi <matrixhasu at gmail.com>  Thu, 13 Dec 2007 23:02:55 +0100

Added: packages/python-processing/trunk/debian/compat
===================================================================
--- packages/python-processing/trunk/debian/compat	                        (rev 0)
+++ packages/python-processing/trunk/debian/compat	2007-12-13 22:13:57 UTC (rev 3940)
@@ -0,0 +1 @@
+5

Added: packages/python-processing/trunk/debian/control
===================================================================
--- packages/python-processing/trunk/debian/control	                        (rev 0)
+++ packages/python-processing/trunk/debian/control	2007-12-13 22:13:57 UTC (rev 3940)
@@ -0,0 +1,29 @@
+Source: python-processing
+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-all-dev, python-central (>= 0.5.6), dpatch
+Standards-Version: 3.7.3
+Homepage: http://developer.berlios.de/projects/pyprocessing
+Vcs-Svn: svn://svn.debian.org/python-modules/packages/processing/trunk/
+Vcs-Browser: http://svn.debian.org/wsvn/python-modules/packages/processing/trunk/?op=log
+XS-Python-Version: all
+
+Package: python-processing
+Architecture: any
+Depends: ${python:Depends}, ${misc:Depends}
+XB-Python-Version: ${python:Versions}
+Description: spawning processes mimicking the threading module
+ It's a package for the Python language which supports the spawning of
+ processes  using  the API  of  the  standard library's  ``threading``
+ module. Its features are:
+ .
+  * Objects  can  be transferred  between  processes  using pipes  or
+    multi-producer/multi-consumer queues.
+  * Objects can be shared between processes using a server process or
+    (for simple data) shared memory.
+  * Equivalents   of   all    the   synchronization   primitives   in
+    ``threading`` are available.
+  * A Pool  class makes it easy to  submit tasks to a  pool of worker
+    processes.

Added: packages/python-processing/trunk/debian/copyright
===================================================================
--- packages/python-processing/trunk/debian/copyright	                        (rev 0)
+++ packages/python-processing/trunk/debian/copyright	2007-12-13 22:13:57 UTC (rev 3940)
@@ -0,0 +1,50 @@
+This package was debianized by Sandro Tosi <matrixhasu at gmail.com> on
+Wed, 05 Dec 2007 00:23:19 +0100.
+
+It was downloaded from http://pypi.python.org/pypi/processing/
+
+Upstream Author: 
+
+    R Oudkerk <roudkerk at users.berlios.de>
+
+Copyright: 
+
+    Copyright (c) 2006, 2007, R Oudkerk
+
+License:
+
+    Redistribution and use in source and binary forms, with or without
+    modification, are permitted provided that the following conditions
+    are met:
+
+
+    1. Redistributions of source  code must retain the above copyright
+    notice, this list of conditions and the following disclaimer.
+
+    2.  Redistributions  in  binary  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.
+
+    3. Neither  the name of author  nor the names  of any contributors
+    may  be used  to endorse  or  promote products  derived from  this
+    software without specific prior written permission.
+
+    THIS SOFTWARE IS  PROVIDED BY THE AUTHOR 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 AUTHOR
+    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
+
+On a Debian system the complete text of the BSD License can be found in
+the file `/usr/share/common-licenses/BSD'
+
+The Debian packaging is (C) 2007, Sandro Tosi <matrixhasu at gmail.com> and
+is licensed under the GPL, see `/usr/share/common-licenses/GPL'.

Added: packages/python-processing/trunk/debian/patches/00list
===================================================================
--- packages/python-processing/trunk/debian/patches/00list	                        (rev 0)
+++ packages/python-processing/trunk/debian/patches/00list	2007-12-13 22:13:57 UTC (rev 3940)
@@ -0,0 +1 @@
+01_setup.py.dpatch

Added: packages/python-processing/trunk/debian/patches/01_setup.py.dpatch
===================================================================
--- packages/python-processing/trunk/debian/patches/01_setup.py.dpatch	                        (rev 0)
+++ packages/python-processing/trunk/debian/patches/01_setup.py.dpatch	2007-12-13 22:13:57 UTC (rev 3940)
@@ -0,0 +1,18 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 01_setup.py.dpatch by Sandro Tosi <matrixhasu at gmail.com>
+##
+## DP: Remove unneded doc installation (we'll manage this in debian/rules)
+
+ at DPATCH@
+diff -urNad python-processing-0.39~/setup.py python-processing-0.39/setup.py
+--- python-processing-0.39~/setup.py	2007-12-11 18:12:27.000000000 +0100
++++ python-processing-0.39/setup.py	2007-12-11 18:14:48.396612616 +0100
+@@ -134,7 +134,7 @@
+ # Extra files to install
+ #
+ 
+-data = ['*.txt', '*.html', 'doc/*.html', 'doc/*.css', 'test/*.py']
++data = ['test/*.py']
+ kwds['package_data'] = {'processing': data}
+ 
+ #


Property changes on: packages/python-processing/trunk/debian/patches/01_setup.py.dpatch
___________________________________________________________________
Name: svn:executable
   + *

Added: packages/python-processing/trunk/debian/rules
===================================================================
--- packages/python-processing/trunk/debian/rules	                        (rev 0)
+++ packages/python-processing/trunk/debian/rules	2007-12-13 22:13:57 UTC (rev 3940)
@@ -0,0 +1,82 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+include /usr/share/dpatch/dpatch.make
+
+PYVERS=$(shell pyversions -rv)
+
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+  CXXFLAGS += -O0
+else
+  CXXFLAGS += -O2
+endif
+export CXXFLAGS
+
+build: build-stamp
+build-stamp: patch-stamp
+	dh_testdir
+
+	for py in $(PYVERS); do  \
+	    python$$py setup.py build; \
+	done
+
+	# performing tests
+
+ifeq (,$(findstring nocheck,$(DEB_BUILD_OPTIONS)))
+	set -e ;\
+	for py in $(PYVERS); do  \
+	    PYTHONPATH=$(CURDIR)/build/lib.$(DEB_BUILD_ARCH_OS)-$(shell uname -m)-$$py \
+	    /usr/bin/time -v python$$py -c "from processing.test import main; main()";\
+	done
+endif
+
+	touch $@
+
+clean: unpatch
+	dh_testdir
+	dh_testroot
+
+	for py in $(PYVERS); do  \
+	    python$$py setup.py clean; \
+	done
+	rm *.pyc
+	[ ! -d build ] || rm -rf build
+
+	dh_clean 
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_installdirs
+	
+	for py in $(PYVERS); do  \
+  	    python$$py setup.py install --root=$(CURDIR)/debian/python-processing; \
+	done
+
+
+# Build architecture-independent files here.
+binary-indep: build install
+# We have nothing to do by default.
+
+# Build architecture-dependent files here.
+binary-arch: build install
+	dh_testdir
+	dh_testroot
+	dh_installchangelogs	CHANGES.txt
+	dh_installdocs		README.txt THANKS.txt *.html doc
+	dh_installexamples
+	dh_pycentral
+	dh_link
+	dh_strip
+	dh_compress		-X doc/python-processing/doc
+	dh_fixperms
+	dh_installdeb
+	dh_shlibdeps
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install configure


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

Added: packages/python-processing/trunk/debian/watch
===================================================================
--- packages/python-processing/trunk/debian/watch	                        (rev 0)
+++ packages/python-processing/trunk/debian/watch	2007-12-13 22:13:57 UTC (rev 3940)
@@ -0,0 +1,4 @@
+version=3
+
+
+http://pypi.python.org/packages/source/p/processing/processing-(.*)\.zip




More information about the Python-modules-commits mailing list