pyepl (1.1.0-3) debian-dir only changes

Summary

 debian/README.Debian        |    7 +
 debian/README.Debian-source |    7 +
 debian/TODO                 |   28 +++++++
 debian/changelog            |  158 ++++++++++++++++++++++++++++++++++++++++++++
 debian/compat               |    1 
 debian/control              |   64 +++++++++++++++++
 debian/copyright            |   33 +++++++++
 debian/description.in       |   18 +++++
 debian/pycompat             |    1 
 debian/rules                |  125 ++++++++++++++++++++++++++++++++++
 debian/watch                |    2 
 11 files changed, 444 insertions(+)

    
download this patch

Patch contents

--- pyepl-1.1.0.orig/debian/watch
+++ pyepl-1.1.0/debian/watch
@@ -0,0 +1,2 @@
+version=3
+http://sf.net/pyepl/ pyepl-([\d\.]*)\.tgz debian svn-upgrade
--- pyepl-1.1.0.orig/debian/copyright
+++ pyepl-1.1.0/debian/copyright
@@ -0,0 +1,33 @@
+Format-Specification: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=135
+Name: PyEPL
+Maintainer: NeuroDebian Team <team@neuro.debian.net>
+Source: http://pyepl.sourceforge.net/
+
+Copyright: 2003-2005, Michael J. Kahana
+           2005-2009, Per B. Sederberg
+           2005-2007, Aaron Geller
+License: LGPL-2+
+ This package 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 of the License, or (at your option) any later version.
+ .
+ This package is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ Lesser General Public License for more details.
+ .
+ You should have received a copy of the GNU Lesser General Public
+ License along with this package; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
+ .
+ On Debian systems, the complete text of the GNU Lesser General
+ Public License can be found in `/usr/share/common-licenses/LGPL'.
+
+Files: code/hardware/sound/Rt*
+Copyright: 2001-2009, Gary P. Scavone
+License: Expat
+
+Files: debian/*
+Copyright: 2006-2010, NeuroDebian Team <team@neuro.debian.net>
+License: Expat
--- pyepl-1.1.0.orig/debian/control
+++ pyepl-1.1.0/debian/control
@@ -0,0 +1,64 @@
+Source: pyepl
+Section: python
+Priority: optional
+Maintainer: NeuroDebian Team <team@neuro.debian.net>
+Uploaders: Yaroslav Halchenko <debian@onerussian.com>, Michael Hanke <michael.hanke@gmail.com>
+Build-Depends: debhelper (>= 5.0.37.2), libasound2-dev, libsndfile1-dev, libsamplerate0-dev, swig, libode-dev, python-all-dev (>= 2.3.5-10), python-central (>=0.5), jade, python-pyrex
+XS-Python-Version: >=2.3
+Homepage: http://pyepl.sourceforge.net/
+Vcs-Browser: http://git.debian.org/?p=pkg-exppsy/pyepl.git
+Vcs-Git: git://git.debian.org/git/pkg-exppsy/pyepl.git
+Standards-Version: 3.9.0
+
+Package: python-pyepl
+Architecture: any
+Depends: ${misc:Depends}, ${python:Depends}, python-pyepl-common (= ${source:Version}), python-numpy, python-imaging, python-pygame, python-pyode, python-opengl, ttf-dejavu, ${shlibs:Depends}
+Conflicts: python2.3-pyepl, python2.4-pyepl
+Replaces: python2.3-pyepl, python2.4-pyepl
+Provides: ${python:Provides}
+XB-Python-Version: ${python:Versions}
+Description: module for coding psychology experiments in Python
+ PyEPL is a stimuli delivery and response registration toolkit to be
+ used for generating psychology (as well as neuroscience, marketing
+ research, and other) experiments.
+ .
+ It provides
+  - presentation: both visual and auditory stimuli
+  - responses registration: both manual (keyboard/joystick) and
+    sound (microphone) time-stamped
+  - sync-pulsing: synchronizing your behavioral task with external
+    acquisition hardware
+  - flexibility of encoding various experiments due to the use of
+    Python as a description language
+  - fast execution of critical points due to the calls to linked
+    compiled libraries
+ .
+ This toolbox is here to be an alternative for a widely used
+ commercial product E'(E-Prime)
+ .
+ This package provides PyEPL for supported versions of Python.
+
+Package: python-pyepl-common
+Architecture: all
+Depends: ${misc:Depends}, python
+Description: module for coding psychology experiments in Python
+ PyEPL is a stimuli delivery and response registration toolkit to be
+ used for generating psychology (as well as neuroscience, marketing
+ research, and other) experiments.
+ .
+ It provides
+  - presentation: both visual and auditory stimuli
+  - responses registration: both manual (keyboard/joystick) and
+    sound (microphone) time-stamped
+  - sync-pulsing: synchronizing your behavioral task with external
+    acquisition hardware
+  - flexibility of encoding various experiments due to the use of
+    Python as a description language
+  - fast execution of critical points due to the calls to linked
+    compiled libraries
+ .
+ This toolbox is here to be an alternative for a widely used
+ commercial product E'(E-Prime)
+ .
+ This package provides common files such as images.
+
--- pyepl-1.1.0.orig/debian/TODO
+++ pyepl-1.1.0/debian/TODO
@@ -0,0 +1,28 @@
+python-pyepl for Debian
+-----------------------
+
+* Proper "clean"-up procedure
+
+  Well... though it is not required (or in other words "could be
+   avoided") -- it is good to have proper clean-up procedure and
+   original Makefiles were missing clean target. Besides that setup.py
+   is not tailored to provide proper cleaning. Temporary fix was
+   applied but proper solution would be better
+
+* Check if python2.?-opengl is required in all cases since may be it is worth
+  to wrap import in try clause to avoid getting:
+ 
+Traceback (most recent call last):
+  File "./bugs.py", line 4, in ?
+    from pyepl.locals import *
+  File "/usr/lib/python2.4/site-packages/pyepl/__init__.py", line 15, in ?
+    import hardware
+  File "/usr/lib/python2.4/site-packages/pyepl/hardware/__init__.py", line 18, in ?
+    import graphics
+  File "/usr/lib/python2.4/site-packages/pyepl/hardware/graphics/__init__.py", line 16, in ?
+    from OpenGL.GL import *
+ImportError: No module named OpenGL.GL
+
+for now I added strong dependency on python-opengl
+
+* Provide -doc package which should be shipped from different source upstream tarball 
--- pyepl-1.1.0.orig/debian/rules
+++ pyepl-1.1.0/debian/rules
@@ -0,0 +1,125 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+# Sample debian/rules that uses debhelper.
+#
+# This file was originally written by Joey Hess and Craig Small.
+# build-arch and build-indep targets  by Bill Allombert 2001
+# Changes for python-pyepl by Yaroslav Halchenko
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+# This has to be exported to make some magic below work.
+export DH_OPTIONS
+
+PYVERS  := $(shell pyversions -vs)
+PYVER   := $(shell pyversions -vd)
+
+include /usr/share/python/python.mk
+
+PYNAME=pyepl
+PYPACKAGE=python-$(PYNAME)
+BASE=$(CURDIR)/debian
+PY_COMMON_PATH=$(BASE)/$(PYPACKAGE)-common/usr/share/$(PYPACKAGE)/
+
+CFLAGS = -Wall -g
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+	CFLAGS += -O0
+else
+	CFLAGS += -O2
+endif
+
+#Architecture
+build: build-arch build-indep
+build-arch: build-arch-stamp
+build-arch-stamp: $(PYVERS:%=build-arch-python%)
+	touch $@
+
+build-arch-python%:
+	python$* setup.py build_ext
+	touch $@
+
+build-indep: build-indep-stamp
+build-indep-stamp:
+#	$(MAKE) -C code/documentation/
+	touch $@
+
+clean:
+	dh_testdir
+	dh_testroot
+
+	python setup.py clean
+
+	rm -f build-arch-stamp build-arch-python* build-indep-stamp
+	rm -rf build
+	dh_clean
+
+pre-install:
+	dh_testdir
+	dh_testroot
+	dh_clean -k
+	dh_installdirs
+
+install: build pre-install install-indep install-arch
+install-indep:
+	dh_installdirs -i
+
+	mkdir -p $(PY_COMMON_PATH)
+	cp -rp code/resources/*.png $(PY_COMMON_PATH)
+
+	dh_install -i
+
+install-python%:
+	python$* setup.py install --root $(BASE)/$(PYPACKAGE) --no-compile --install-layout=deb
+	# remove unneeded and manually installed files
+	rm -f $(BASE)/$(PYPACKAGE)/usr/lib/*/*/pyepl/license.txt
+	rm -f $(BASE)/$(PYPACKAGE)/usr/lib/*/*/pyepl/resources/*
+	python$* setup.py clean
+
+install-arch: pre-install $(PYVERS:%=install-python%)
+
+# Must not depend on anything. This is to be called by
+# binary-arch/binary-indep
+# in another 'make' thread.
+binary-common:
+	dh_testdir
+	dh_testroot
+	dh_installchangelogs
+	dh_installdocs
+	dh_link
+
+	dh_strip
+
+	dh_pycentral
+	dh_python
+
+	# Need to create links semi-automatically after call to pycentral,
+	# otherwise they will be ruined. And provide condition to work
+	# only for arch-dep packages
+	if [ "$(DH_OPTIONS)" = "-a" ]; then \
+	for py in $(PYVERS); do \
+		site=$(call py_sitename_sh,$$py); \
+		dh_link -a  usr/share/$(PYPACKAGE) \
+				 usr/lib/python$$py/$$site/$(PYNAME)/resources; \
+	done; \
+	fi
+
+	dh_compress -X.py -X.pdf
+	dh_fixperms
+	dh_makeshlibs
+	dh_installdeb
+	dh_shlibdeps
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+# Build architecture independant packages using the common target.
+binary-indep: build-indep install-indep
+	$(MAKE) -f debian/rules DH_OPTIONS=-i binary-common
+
+# Build architecture dependant packages using the common target.
+binary-arch: build-arch install-arch
+	$(MAKE) -f debian/rules DH_OPTIONS=-a binary-common
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install install-indep install-arch
--- pyepl-1.1.0.orig/debian/pycompat
+++ pyepl-1.1.0/debian/pycompat
@@ -0,0 +1 @@
+2
--- pyepl-1.1.0.orig/debian/changelog
+++ pyepl-1.1.0/debian/changelog
@@ -0,0 +1,158 @@
+pyepl (1.1.0-3) unstable; urgency=low
+
+  * Absorbed some changes from upstream:
+     - NF: Added show warnings on streams.
+     - RF: Cleaning up sound code.
+     - BF: Was not picking streams properly.
+     - BF: Trying out separate streams.
+     - BF: Added updated RtAudio files for potential recording bug fix.
+     - BF/NF: If you generate a Showable surface yourself, do not unload
+       it automatically.
+     - DOC: Updated changelog with another update.
+     - DOC: Updated changelog with the latest fix.
+     - BF: Fixed simulatneous play/record bug.
+     - NF: Added flush to sound recording.
+  * Debian packaging:
+     - Policy compliance boosted to 3.9.0: no changes seems to be due
+     - Moved under NeuroDebian umbrella
+     - Converting copyright to machine-readable DEP5
+     - Build-Depends on python-all-dev
+
+ -- Yaroslav Halchenko <debian@onerussian.com>  Thu, 15 Jul 2010 14:08:55 -0400
+
+pyepl (1.1.0-2) unstable; urgency=low
+
+  * BF: use ode-config provided flags for avatar.so (Closes: #521755)
+  * {misc:Depends}
+  * Boosted standards version to 3.8.4: no changes
+
+ -- Yaroslav Halchenko <debian@onerussian.com>  Fri, 07 May 2010 17:03:38 -0400
+
+pyepl (1.1.0-1) unstable; urgency=low
+
+  * New upstream release (gcc 4.3 compatible, so a relevant
+    dpatch is dropped)
+  * Debian packaging:
+    - debhelper compatibility boosted to 5
+    - both upstream and Debian packaging are available within the same
+      git repository (so VCS fields added). Previous histories
+      (upstream, debian packaging) are imported and finally merged
+      within the same tree
+    - boosted standards revision (no changes are due) to 3.8.1
+    - stripped off dpatch and absorbed the patches within debian and upstream
+      branches
+    - README.Debian-source mentions the fact that we are building directly
+      from git (upstream+debian) now
+    - deprecating confusing autogeneration of debian/control
+    - provided VCS fields within debian/control
+    - adopted the patch from Matthias Klose <doko@ubuntu.com>, which should
+      make pyepl friendlier to python2.6 and make use of python-provided
+      makefile
+
+ -- Yaroslav Halchenko <debian@onerussian.com>  Wed, 13 May 2009 15:54:48 -0400
+
+pyepl (1.0.29-3.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Change libode0-dev build-dep to libode-dev. (Closes: #520732).
+  * Use python-numpy in place of python-numeric-ext. (Closes: #478445).
+  * Replace ttf-bitstream-vera with ttf-dejavu. (Closes: #528151).
+    + Source was already patched to use DejavuSans.tff.
+
+ -- Barry deFreese <bdefreese@debian.org>  Wed, 13 May 2009 12:18:36 -0400
+
+pyepl (1.0.29-3) unstable; urgency=low
+
+  * Rebuild to move files to /usr/share/pyshared (Closes: #490519)
+  * Boosted standards version to 3.8.0:
+   - section python instead of science
+   - homepage header field
+  * Slight adjustment of the description
+  * gcc-4.3 compatibility patch (fixed FTBS on up-to-date sid) 
+
+ -- Yaroslav Halchenko <debian@onerussian.com>  Sat, 12 Jul 2008 22:44:14 -0400
+
+pyepl (1.0.29-2) unstable; urgency=low
+
+  * Replaced dependenship on ttf-bitstream-vera. Now use ttf-dejavu
+    (Closes: #461284). Thanks Daniel Baumann
+
+ -- Yaroslav Halchenko <debian@onerussian.com>  Fri, 22 Feb 2008 10:37:23 -0500
+
+pyepl (1.0.29-1.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * debian/rules: Dropped bashim (==). (Closes: #459170)
+
+ -- Marc 'HE' Brockschmidt <he@debian.org>  Wed, 23 Jan 2008 19:38:18 +0100
+
+pyepl (1.0.29-1) unstable; urgency=low
+
+  * New upstream release (closes: #422824, FTBFS on i386 in sid)
+  * Adjusted debian/patches/01_fix_makefiles.dpatch so
+    code/hardware/eeg/Makefile has proper "clean" target
+
+ -- Yaroslav Halchenko <debian@onerussian.com>  Wed, 09 May 2007 21:44:08 -0400
+
+pyepl (1.0.28-2) UNRELEASED; urgency=low
+
+  * Updated build-depends to comply to the latest Python policy.
+
+ -- Michael Hanke <michael.hanke@gmail.com>  Thu, 22 Feb 2007 19:43:25 +0100
+
+pyepl (1.0.28-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- Yaroslav Halchenko <debian@onerussian.com>  Tue, 30 Jan 2007 20:59:40 -0500
+
+pyepl (1.0.27-1) unstable; urgency=low
+
+  * New upstream release
+  * 01_fix_makefiles patch had to be adjusted
+  * policy boosted to 3.7.2.2 - no changes necessary
+
+ -- Yaroslav Halchenko <debian@onerussian.com>  Thu, 14 Dec 2006 09:52:29 -0500
+
+pyepl (1.0.26-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- Yaroslav Halchenko <debian@onerussian.com>  Tue, 31 Oct 2006 21:00:47 -0500
+
+pyepl (1.0.22-1) unstable; urgency=low
+
+  * New upstream release
+  * Depends on ttf-bitstream-vera (instead of recommends)
+
+ -- Yaroslav Halchenko <debian@onerussian.com>  Wed, 11 Oct 2006 00:51:18 -0400
+
+pyepl (1.0.21-1) unstable; urgency=low
+
+  * New upstream release, which fixes memory leak bug
+
+ -- Yaroslav Halchenko <debian@onerussian.com>  Sun, 24 Sep 2006 23:19:19 -0400
+
+pyepl (1.0.20-1) unstable; urgency=low
+
+  * New upstream release.
+  * Removed obsolete -fPIC patch from 01_fix_makefiles.dpatch.
+
+ -- Michael Hanke <michael.hanke@gmail.com>  Thu, 21 Sep 2006 09:17:03 +0200
+
+pyepl (1.0.19-1) unstable; urgency=low
+
+  * New upstream release
+  * Upstream includes now free TTF font thus repackaging now is not necessary
+    and 02_free_ttf patch is no longer applied, rather pyepl now depends on
+    ttf-bitsream-vera package
+
+ -- Yaroslav Halchenko <debian@onerussian.com>  Mon,  4 Sep 2006 12:40:31 -0400
+
+pyepl (1.0.14.dfsg.1-1) unstable; urgency=low
+
+  * Initial release (closes: #356950)
+
+ -- Yaroslav Halchenko <debian@onerussian.com>  Sun, 18 Jun 2006 11:25:12 -0400
+
+
--- pyepl-1.1.0.orig/debian/description.in
+++ pyepl-1.1.0/debian/description.in
@@ -0,0 +1,18 @@
+Description: module for coding psychology experiments in Python
+ PyEPL is a stimuli delivery and response registration toolkit to be
+ used for generating psychology (as well as neuroscience, marketing
+ research, and other) experiments.
+ .
+ It provides
+  - presentation: both visual and auditory stimuli
+  - responses registration: both manual (keyboard/joystick) and
+    sound (microphone) time-stamped
+  - sync-pulsing: synchronizing your behavioral task with external
+    acquisition hardware
+  - flexibility of encoding various experiments due to the use of
+    Python as a description language
+  - fast execution of critical points due to the calls to linked
+    compiled libraries
+ .
+ This toolbox is here to be an alternative for a widely used
+ commercial product E'(E-Prime)
--- pyepl-1.1.0.orig/debian/compat
+++ pyepl-1.1.0/debian/compat
@@ -0,0 +1 @@
+5
--- pyepl-1.1.0.orig/debian/README.Debian-source
+++ pyepl-1.1.0/debian/README.Debian-source
@@ -0,0 +1,7 @@
+python-pyepl for Debian Source Package
+--------------------------------------
+
+Since 1.1.0 version upstream sources and debian packaging available
+within the same GIR repository.  Debian packages built using git-buildpackage
+directly from git repository without reverting to downloading of upstream
+tarballs.
--- pyepl-1.1.0.orig/debian/README.Debian
+++ pyepl-1.1.0/debian/README.Debian
@@ -0,0 +1,7 @@
+python-pyepl for Debian
+-----------------------
+
+So far not much to describe about specifics of Debian package of
+PyEpl, but there are quite a few items on my TODO list (please see TODO file).
+
+ -- Yaroslav O. Halchenko <debian@onerussian.com>, Tue, 14 Mar 2006 23:24:48 -0500