[med-svn] [pycorrfit] 02/02: debian/*: initial packaging
Alex Mestiashvili
malex-guest at moszumanska.debian.org
Fri Nov 29 02:01:47 UTC 2013
This is an automated email from the git hooks/post-receive script.
malex-guest pushed a commit to branch master
in repository pycorrfit.
commit d26c57cb9f043009a78ee8871e4c702f9e5d6a7e
Author: Alexandre Mestiashvili <alex at biotec.tu-dresden.de>
Date: Fri Nov 29 02:56:23 2013 +0100
debian/*: initial packaging
---
debian/changelog | 7 +++++++
debian/compat | 1 +
debian/control | 27 +++++++++++++++++++++++++++
debian/copyright | 28 ++++++++++++++++++++++++++++
debian/get-orig-source | 27 +++++++++++++++++++++++++++
debian/rules | 9 +++++++++
debian/source/format | 1 +
debian/watch | 3 +++
8 files changed, 103 insertions(+)
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..3285162
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,7 @@
+pycorrfit (0.8.0-2~beta-1) UNRELEASED; urgency=low
+
+ [ Alexandre Mestiashvili ]
+
+ * Initial release. (Closes: #730640)
+
+ -- Alexandre Mestiashvili <alex at biotec.tu-dresden.de> Thu, 28 Nov 2013 17:11:15 +0100
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..7f8f011
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+7
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..88217de
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,27 @@
+Source: pycorrfit
+Maintainer: Alexandre Mestiashvili <alex at biotec.tu-dresden.de>
+Section: python
+Priority: optional
+Build-Depends: python-all (>= 2.6.6-3), debhelper (>= 7),
+ dh-python, python-setuptools,
+Standards-Version: 3.9.5
+Vcs-Browser: http://anonscm.debian.org/gitweb/?p=debian-med/pycorrfit.git
+Vcs-Git: git://anonscm.debian.org/debian-med/pycorrfit.git
+Homepage: http://paulmueller.github.io/PyCorrFit/
+
+Package: pycorrfit
+Architecture: all
+Depends: ${misc:Depends}, ${python:Depends},
+ python-scipy,
+ python-wxtools,
+ python-numpy,
+ python-sympy,
+ python-yaml
+Description: data analysis software for fluorescence correlation spectroscopy
+ PyCorrFit is a general-purpose FCS evaluation software that,
+ amongst other formats, supports the established Zeiss ConfoCor3 ~.fcs
+ file format. PyCorrFit comes with several built-in model functions,
+ covering a wide range of applications in standard confocal FCS.
+ In addition, it contains equations dealing with different excitation
+ geometries like total internal reflection (TIR).
+
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..40bc445
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,28 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: PyCorrFit
+Source: https://github.com/paulmueller/PyCorrFit/
+
+Files: *
+Copyright: 2013 Paul Mueller <paul.mueller at biotec.tu-dresden.de>
+License: GPL-2.0
+
+Files: debian/*
+Copyright: 2013 Alexandre Mestiashvili <alex at biotec.tu-dresden.de>
+License: GPL-2.0
+
+License: GPL-2.0
+ This package is free software; you can redistribute it and/or modify
+ it under the terms of the GNU 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 General Public License for more details.
+ .
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>
+ .
+ On Debian systems, the complete text of the GNU General
+ Public License version 2 can be found in "/usr/share/common-licenses/GPL-2".
diff --git a/debian/get-orig-source b/debian/get-orig-source
new file mode 100755
index 0000000..df9f45e
--- /dev/null
+++ b/debian/get-orig-source
@@ -0,0 +1,27 @@
+#!/bin/sh
+# script to download and repack source package of pycorrfit
+
+PKG=`dpkg-parsechangelog | awk '/^Source/ { print $2 }'`
+mkdir -p ../tarballs
+VERSION=`uscan --verbose --force-download --repack --destdir='../tarballs/' | \
+ grep "Newest version on remote site is .* local version is .*" | \
+ head -n 1 | \
+ sed "s/Newest version on remote site is \([-0-9.].*\),.*/\1/"`
+
+PKGVERSION=`echo $VERSION | sed "s/~//"`
+
+cd ../tarballs
+
+UPSTREAMNAME=pycorrfit
+UPSTREAMDIR="${UPSTREAMNAME}-${VERSION}"
+mkdir $UPSTREAMDIR
+cd $UPSTREAMDIR
+tar --strip-components=1 -xzf ../"${UPSTREAMNAME}-${PKGVERSION}".tar.gz
+cd ..
+
+rm -rf ${UPSTREAMDIR}/pyinstaller-howto
+#rm -f ${UPSTREAMDIR}/*.pdf
+
+GZIP="--best --no-name" tar -czf "$PKG"_"$VERSION".orig.tar.gz "${UPSTREAMDIR}"
+rm -rf "${UPSTREAMDIR}"
+
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..c8801b4
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,9 @@
+#!/usr/bin/make -f
+
+# This file was automatically generated by stdeb 0.6.0+git at
+# Wed, 20 Nov 2013 15:31:17 +0100
+
+%:
+ dh $@ --with python2 --buildsystem=pybuild
+
+
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..cd8a97f
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,3 @@
+version=3
+opts=uversionmangle=s/(\d)[_\.\-\+]?((RC|rc|pre|dev|beta|alpha)\d*)$/$1~$2/,filenamemangle=s/.+\/v?(\d\S*)\.tar\.gz/pycorrfit-$1\.tar\.gz/ \
+ https://github.com/paulmueller/PyCorrFit/tags .*/v?(\d\S*)\.tar\.gz
--
Alioth's /git/debian-med/git-commit-notice on /srv/git.debian.org/git/debian-med/pycorrfit.git
More information about the debian-med-commit
mailing list