debian/0000755000000000000000000000000012016026561007165 5ustar debian/copyright0000644000000000000000000000417511763110045011126 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: pysurfer Upstream-Contact: nipy-devel@neuroimaging.scipy.org Source: http://pysurfer.github.com Files: * Copyright: 2011, Michael Waskom, Stanford & MIT 2011, Alexandre Gramfort, Harvard Med. School MGH Martinos Center 2011, Scott Burns, Harvard Med. School MGH Martinos Center 2011, Satrajit Gosh, MIT 2011, Martin Luessi, Harvard Med. School MGH Martinos Center License: BSD-3-clause Files: debian/* Copyright: 2011-2012, Michael Hanke License: BSD-3-clause License: BSD-3-clause Copyright (c) The Regents of the University of California. All rights reserved. . 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 the University nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. . THIS SOFTWARE IS PROVIDED BY THE REGENTS 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 REGENTS 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 SUCH DAMAGE. debian/control0000644000000000000000000000245712016026561010600 0ustar Source: pysurfer Section: python Priority: extra Maintainer: NeuroDebian Team Uploaders: Michael Hanke , Yaroslav Halchenko Build-Depends: debhelper (>= 7.2.18), python-all (>= 2.6), python-support (>= 0.6), python-numpy, help2man, python-argparse, python-setuptools, python-nibabel Standards-Version: 3.9.3 XS-Python-Version: >= 2.6 Homepage: http://pysurfer.github.com Vcs-Browser: http://git.debian.org/?p=pkg-exppsy/pysurfer.git Vcs-Git: git://git.debian.org/git/pkg-exppsy/pysurfer.git Package: python-surfer Architecture: all Depends: ${misc:Depends}, ${python:Depends}, python-numpy, python-scipy, python-nibabel, python-imaging, mayavi2, python-argparse, ipython, python-matplotlib XB-Python-Version: ${python:Versions} Recommends: mencoder Description: visualize Freesurfer's data in Python This is a Python package for visualization and interaction with cortical surface representations of neuroimaging data from Freesurfer. It extends Mayavi’s powerful visualization engine with a high-level interface for working with MRI and MEG data. . PySurfer offers both a command-line interface designed to broadly replicate Freesurfer’s Tksurfer program as well as a Python library for writing scripts to efficiently explore complex datasets. debian/rules0000755000000000000000000000321311763110045010243 0ustar #!/usr/bin/make -f # -*- mode: makefile; coding: utf-8 -*- srcpkg = $(shell LC_ALL=C dpkg-parsechangelog | grep '^Source:' | cut -d ' ' -f 2,2) debver = $(shell LC_ALL=C dpkg-parsechangelog | grep '^Version:' | cut -d ' ' -f 2,2 ) upstreamver = $(shell echo $(debver) | sed -e 's/-[^-]*$$//') # this figures out the last merge point from 'master' into the Debian branch and # then described this commit relative to the last release tag (V...) # If this should make any sense the local master branch must track upstreams # master. gitver = $(shell [ -x /usr/bin/git ] && git describe --tags $$(git merge-base -a HEAD master) | sed -e 's/-/+git/') # one ring to rule them all ... %: # need to enforce distutils, since we also have a makefile dh $@ --buildsystem=python_distutils --builddirectory=build # tests need data files from Freesurfer -- need to wait #override_dh_auto_test: #ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS))) # for buildver in $(shell pyversions -vr); do \ # echo "I: Running PySurfer unittests using python$$buildver"; \ # $(MAKE) unittest PYTHON=python$$buildver || exit 1 ;\ # done #endif override_dh_installman: PYTHONPATH=. help2man --version-string="$(upstreamver)" -N \ --no-discard-stderr \ -n 'visualize cortical surface reconstruction from Freesurfer' \ debian/python-surfer/usr/bin/pysurfer > build/pysurfer.1 dh_installman build/pysurfer.1 override_dh_clean: rm -rf pysurfer.egg-info build dh_clean # make orig tarball from repository content get-orig-source: # orig tarball, turn directory into something nicer git archive --format=tar --prefix=$(srcpkg)-$(gitver)/ HEAD | \ gzip -9 > $(srcpkg)_$(gitver).orig.tar.gz debian/changelog0000644000000000000000000000166412016026476011053 0ustar pysurfer (0.3+git15-gae6cbb1-1.1) unstable; urgency=low * Non-maintainer upload. * Add missing dependency on python-matplotlib, thanks to Jakub Wilk (closes: #684754). -- David Prévot Fri, 24 Aug 2012 21:41:16 -0400 pysurfer (0.3+git15-gae6cbb1-1) unstable; urgency=low [ Michael Hanke ] * New upstream snapshot. * Add mencoder as a recommended package. Required by animate(). [ Yaroslav Halchenko ] * Specify minimal python version as 2.6 -- Michael Hanke Mon, 04 Jun 2012 12:42:02 +0200 pysurfer (0.2+git29-g3a98681-1) unstable; urgency=low * Update to recent upstream snapshot (Closes: #641345). * Bump Standards-Version to 3.9.3, no changes necessary. -- Michael Hanke Wed, 18 Apr 2012 12:38:01 +0200 pysurfer (0.1+git21-g55debc4-1) UNRELEASED; urgency=low * Initial release. -- Michael Hanke Mon, 12 Sep 2011 20:13:01 +0200 debian/source/0000755000000000000000000000000011763110045010464 5ustar debian/source/format0000644000000000000000000000001411763110045011672 0ustar 3.0 (quilt) debian/pycompat0000644000000000000000000000000211763110045010733 0ustar 2 debian/watch0000644000000000000000000000016311763110045010215 0ustar # Compulsory line, this is a version 3 file version=3 https://github.com/nipy/Pysurfer/tags .*/tarball/(\d[\d\.]+) debian/gbp.conf0000644000000000000000000000035311763110045010604 0ustar [DEFAULT] # the default branch for upstream sources: upstream-branch = master # the default branch for the debian patch: debian-branch = debian # the default tag formats used: upstream-tag = %(version)s debian-tag = debian/%(version)s debian/compat0000644000000000000000000000000211763110045010362 0ustar 7