[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#742639: ITP: python-expyriment -- Python library for cognitive and neuroscientific experiments



... and it works great, thanks!

Please, find attached below three patches for improving your package. The first one adds a .gitignore file, the second one adds doc-base support, and the third one adds a watch file for uscan.

As regards the doc-base support, I set the section to "Science/Medicine", which seems to be the more appropriate one.

As regards the watch file, it does not work currently, because you are using a version name containing a git commit hash, as well as a prefix "+git34-" This may be tricky to get mangled.

There is still a Lintian warning left:

 W: python-expyriment: wrong-section-according-to-package-name python-expyriment => python

The package's section is currently set to "science". Perhaps an override should be added.

Rafael

* Oliver Lindemann <oliver.lindemann@uni-potsdam.de> [2014-04-01 10:13]:

I guess I fixed it.

Oliver

On 01/04/2014 09:30, Andreas Tille wrote:
Hi Oliver,

On Tue, Apr 01, 2014 at 08:39:25AM +0200, Oliver Lindemann wrote:
Hi Andres,

thanks for the fast feedback. I pushed the source packages to git/debian-science/packages/python-expyriment.git Was there anything wrong with it?
I can only find an empty Git repository.  Did you tried

   git push origin master
   git push --all --set-upstream
   git push --tags

Sorry if this is not (yet) mentioned in the Debian Science policy which is a bit orphaned. I personally always sneak into Debian Med policy[1] which is quite verbose about these things.

Hope this helps

        Andreas.

[1] http://debian-med.alioth.debian.org/docs/policy.html


--
/*Dr. Oliver Lindemann*
Division of Cognitive Science
University of Potsdam/

Karl - Liebknecht Str. 24/25, Building 14, 14476 Potsdam, Germany Tel: +49 - 331 - 977 2915, Fax: +49 - 331 - 977 2794 Room: 6.24, Building 14, http://www.cognitive-psychology.eu/lindemann



>From e662539d99c85163bc572a5bbf7cf6b5ad80904b Mon Sep 17 00:00:00 2001
From: Rafael Laboissiere <rafael@laboissiere.net>
Date: Tue, 1 Apr 2014 11:22:18 +0200
Subject: [PATCH 1/3] Add list of exclusions for git

---
 .gitignore | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
 create mode 100644 .gitignore

diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..39f4689
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,15 @@
+/bin/
+/build/
+/debian/files
+/debian/python-expyriment.debhelper.log
+/debian/python-expyriment.*.debhelper
+/debian/python-expyriment.substvars
+/debian/python-expyriment/
+/expyriment/*.pyc
+/expyriment/*/*.pyc
+/expyriment/*/*/*.pyc
+/documentation/sphinx/_build/
+/documentation/sphinx/Changelog.rst
+/documentation/sphinx/expyriment.*rst
+/documentation/sphinx/numpydoc/*.pyc
+/man/
-- 
1.9.0

>From 8756241a722be4d759a300e84ed0945659f4c495 Mon Sep 17 00:00:00 2001
From: Rafael Laboissiere <rafael@laboissiere.net>
Date: Tue, 1 Apr 2014 12:15:58 +0200
Subject: [PATCH 2/3] Add doc-base support

Note that the section has been set to "Science/Medicine".  Among the
sections proposed in the doc-base documentation, this seems to be the
better choice, but something like "Science/Psychology" would fit better.
---
 debian/python-expyriment.doc-base | 39 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 39 insertions(+)
 create mode 100644 debian/python-expyriment.doc-base

diff --git a/debian/python-expyriment.doc-base b/debian/python-expyriment.doc-base
new file mode 100644
index 0000000..204718d
--- /dev/null
+++ b/debian/python-expyriment.doc-base
@@ -0,0 +1,39 @@
+Document: expyriment-documentation
+Title: Expyriment documentation
+Author: Florian Krause and Oliver Lindemann
+Abstract: Expyriment is an open-source and platform independent
+ light-weight Python library for designing and conducting
+ timing-critical behavioural and neuroimaging experiments. The major
+ goal is to provide a well-structured Python library for a
+ script-based experiment development with a high priority on the
+ readability of the resulting programme code. It has been tested
+ extensively under Linux and Windows.
+ .
+ Expyriment is an all-in-one solution, as it handles the stimulus
+ presentation, recording of I/O events, communication with other
+ devices and the collection and preprocessing of data. It offers
+ furthermore a hierarchical design structure, which allows an
+ intuitive transition from the experimental design to a running
+ programme. It is therefore also suited for students as well as
+ experimental psychologists and neuroscientists with little
+ programming experience.
+Section: Science/Medicine
+
+Format: HTML
+Index: /usr/share/doc/python-expyriment/html/index.html
+Files: /usr/share/doc/python-expyriment/html/*
+ /usr/share/doc/python-expyriment/html/_downloads/*
+ /usr/share/doc/python-expyriment/html/_modules/*
+ /usr/share/doc/python-expyriment/html/_modules/expyriment/control/*
+ /usr/share/doc/python-expyriment/html/_modules/expyriment/design/*
+ /usr/share/doc/python-expyriment/html/_modules/expyriment/io/*
+ /usr/share/doc/python-expyriment/html/_modules/expyriment/io/extras/*
+ /usr/share/doc/python-expyriment/html/_modules/expyriment/misc/*
+ /usr/share/doc/python-expyriment/html/_modules/expyriment/stimuli/*
+ /usr/share/doc/python-expyriment/html/_modules/expyriment/stimuli/extras/* 
+ /usr/share/doc/python-expyriment/html/_static/*
+ /usr/share/doc/python-expyriment/html/_images/*
+ /usr/share/doc/python-expyriment/html/_sources/*
+
+Format: PDF
+Files: /usr/share/doc/python-expyriment/Expyriment.pdf.gz
-- 
1.9.0

>From 5285972f5bdc118c643aae56c2e6445084d26cdc Mon Sep 17 00:00:00 2001
From: Rafael Laboissiere <rafael@laboissiere.net>
Date: Tue, 1 Apr 2014 12:18:13 +0200
Subject: [PATCH 3/3] Add watch file for uscan

The standard syntax for GitHub-distributed upstream tarballs is used in
this new debian/watch file.  Note that it does not currently work,
because the upstream version is taken from a specific git version.  some
complex version mangling may be needed here.
---
 debian/watch | 2 ++
 1 file changed, 2 insertions(+)
 create mode 100644 debian/watch

diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..5e78bfd
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,2 @@
+version=3
+https://github.com/expyriment/expyriment/tags .*/v?(\d\S*)\.tar\.gz
-- 
1.9.0


Reply to: