Author: malat-guest Date: 2011-11-13 18:42:02 +0000 (Sun, 13 Nov 2011) New Revision: 8549
Added: trunk/packages/tifffile/ trunk/packages/tifffile/trunk/ trunk/packages/tifffile/trunk/debian/ trunk/packages/tifffile/trunk/debian/changelog trunk/packages/tifffile/trunk/debian/compat trunk/packages/tifffile/trunk/debian/control trunk/packages/tifffile/trunk/debian/copyright trunk/packages/tifffile/trunk/debian/get-orig-source trunk/packages/tifffile/trunk/debian/rules trunk/packages/tifffile/trunk/debian/source/ trunk/packages/tifffile/trunk/debian/source/format Log: first attempt at tifffile Added: trunk/packages/tifffile/trunk/debian/changelog =================================================================== --- trunk/packages/tifffile/trunk/debian/changelog (rev 0) +++ trunk/packages/tifffile/trunk/debian/changelog 2011-11-13 18:42:02 UTC (rev 8549) @@ -0,0 +1,5 @@ +tifffile (20111112-1) unstable; urgency=low + + * Initial Debian Upload (Closes: #) + + -- Mathieu Malaterre <[email protected]> Sun, 13 Nov 2011 19:41:37 +0100 Added: trunk/packages/tifffile/trunk/debian/compat =================================================================== --- trunk/packages/tifffile/trunk/debian/compat (rev 0) +++ trunk/packages/tifffile/trunk/debian/compat 2011-11-13 18:42:02 UTC (rev 8549) @@ -0,0 +1 @@ +8 Added: trunk/packages/tifffile/trunk/debian/control =================================================================== --- trunk/packages/tifffile/trunk/debian/control (rev 0) +++ trunk/packages/tifffile/trunk/debian/control 2011-11-13 18:42:02 UTC (rev 8549) @@ -0,0 +1,20 @@ +Source: tifffile +Priority: optional +Section: python +Maintainer: Debian Med Packaging Team <[email protected]> +DM-Upload-Allowed: yes +Uploaders: Mathieu Malaterre <[email protected]> +Build-Depends: debhelper (>= 8), python-dev (>= 2.6.6-3~), python-numpy +Standards-Version: 3.9.2 +Homepage: http://www.lfd.uci.edu/~gohlke/ +Vcs-Browser: http://svn.debian.org/wsvn/debian-med/trunk/packages/tifffile/trunk/ +Vcs-Svn: svn://svn.debian.org/svn/debian-med/trunk/packages/tifffile/trunk/ + +Package: tifffile +Architecture: any +Depends: ${python:Depends}, ${misc:Depends}, ${shlibs:Depends}, python-matplotlib, python-tk +Provides: ${python:Provides} +Description: Reads image & metadata from TIFF, STK, LSM, OME-TIFF and FluoView files. + Various scientific formats are supported, such as uncompressed or losslessly + compressed integer images of any bit size, 32 and 64-bit floating point images, + Carl Zeiss LSM files, and MetaMorph(r) STK stacks. Added: trunk/packages/tifffile/trunk/debian/copyright =================================================================== --- trunk/packages/tifffile/trunk/debian/copyright (rev 0) +++ trunk/packages/tifffile/trunk/debian/copyright 2011-11-13 18:42:02 UTC (rev 8549) @@ -0,0 +1,38 @@ +Format: http://dep.debian.net/deps/dep5/ +Upstream-Name: tifffile +Source: http://www.lfd.uci.edu/~gohlke/ + +Files: * +Copyright: © C 2008-2011, The Regents of the University of California + Produced by the Laboratory for Fluorescence Dynamics. +License: BSD + +License: BSD + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are met: + . + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + * 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. + * Neither the name of the copyright holders 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 COPYRIGHT HOLDERS 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 COPYRIGHT OWNER 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. + + +Files: debian/* +Copyright: © 2011 Mathieu Malaterre <[email protected]> +License: BSD Added: trunk/packages/tifffile/trunk/debian/get-orig-source =================================================================== --- trunk/packages/tifffile/trunk/debian/get-orig-source (rev 0) +++ trunk/packages/tifffile/trunk/debian/get-orig-source 2011-11-13 18:42:02 UTC (rev 8549) @@ -0,0 +1,33 @@ +#!/bin/sh +set -ex + +PACKAGE=tifffile + +VERSION=${VERSION:-$2} +TARFILE=${TARFILE:-$3} + +if [ -z ${VERSION}]; then +VERSION=`dpkg-parsechangelog | sed -n -e 's/^Version: \(.*\)-[^-]*$/\1/p'` +fi + +REVISION=`echo $VERSION | sed -e 's/^.*svn//g'` + + +if [ -z ${TARFILE}]; then +TARFILE=${PACKAGE}_${VERSION}.orig.tar.gz +fi + +FOLDER=${PACKAGE}-${VERSION} + +mkdir ${FOLDER} +cd ${FOLDER} +wget -c http://www.lfd.uci.edu/~gohlke/code/tifffile.py.html +wget -c http://www.lfd.uci.edu/~gohlke/code/tifffile.c.html +links -dump tifffile.py.html > tifffile.py +sed -i -e 's/^ //g' tifffile.py +links -dump tifffile.c.html > tifffile.c +sed -i -e 's/^ //g' tifffile.c +cd .. + +GZIP="--best --no-name" tar czf ${TARFILE} ${FOLDER} +rm -rf ${FOLDER} Property changes on: trunk/packages/tifffile/trunk/debian/get-orig-source ___________________________________________________________________ Added: svn:executable + * Added: trunk/packages/tifffile/trunk/debian/rules =================================================================== --- trunk/packages/tifffile/trunk/debian/rules (rev 0) +++ trunk/packages/tifffile/trunk/debian/rules 2011-11-13 18:42:02 UTC (rev 8549) @@ -0,0 +1,7 @@ +#!/usr/bin/make -f + +%: + dh $@ --with python2 + +get-orig-source: + ./debian/get-orig-source Property changes on: trunk/packages/tifffile/trunk/debian/rules ___________________________________________________________________ Added: svn:executable + * Added: trunk/packages/tifffile/trunk/debian/source/format =================================================================== --- trunk/packages/tifffile/trunk/debian/source/format (rev 0) +++ trunk/packages/tifffile/trunk/debian/source/format 2011-11-13 18:42:02 UTC (rev 8549) @@ -0,0 +1 @@ +3.0 (quilt) _______________________________________________ debian-med-commit mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-med-commit
