[med-svn] [pycorrfit] 02/12: d/patches: deleted d/rules: new get-orig-source target d/get-orig-source: deleted

Alex Mestiashvili malex-guest at moszumanska.debian.org
Mon Jun 1 13:02:53 UTC 2015


This is an automated email from the git hooks/post-receive script.

malex-guest pushed a commit to branch master
in repository pycorrfit.

commit aa1fa00b37ae865c4350e21a3a627661200a08a2
Author: Alexandre Mestiashvili <alex at biotec.tu-dresden.de>
Date:   Fri May 29 18:01:45 2015 +0200

    d/patches: deleted
    d/rules: new get-orig-source target
    d/get-orig-source: deleted
---
 debian/get-orig-source                     | 27 ---------------------------
 debian/patches/fcs_data_set_syntax.patch   | 13 -------------
 debian/patches/inst_read_pt3_scripts.patch | 17 -----------------
 debian/patches/series                      |  2 --
 debian/rules                               |  5 ++++-
 5 files changed, 4 insertions(+), 60 deletions(-)

diff --git a/debian/get-orig-source b/debian/get-orig-source
deleted file mode 100755
index b9773ad..0000000
--- a/debian/get-orig-source
+++ /dev/null
@@ -1,27 +0,0 @@
-#!/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}/freeze_pyinstaller
-#rm -f ${UPSTREAMDIR}/*.pdf
-
-GZIP="--best --no-name" tar -czf "$PKG"_"$VERSION".orig.tar.gz "${UPSTREAMDIR}"
-rm -rf "${UPSTREAMDIR}"
-
diff --git a/debian/patches/fcs_data_set_syntax.patch b/debian/patches/fcs_data_set_syntax.patch
deleted file mode 100644
index a7a1b1f..0000000
--- a/debian/patches/fcs_data_set_syntax.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-Author: Alex Mestiashvili <alex at biotec.tu-dresden.de>
-Description: missing colon after parentheses
---- pycorrfit.orig/pycorrfit/fcs_data_set.py
-+++ pycorrfit/pycorrfit/fcs_data_set.py
-@@ -177,7 +177,7 @@
-              self.background1 is not None and
-              self.background2 is not None and
-              self.IsCrossCorrelation
--           )
-+           ):
-             S = self.countrate1
-             S2 = self.countrate2
-             B = self.background1.countrate1
diff --git a/debian/patches/inst_read_pt3_scripts.patch b/debian/patches/inst_read_pt3_scripts.patch
deleted file mode 100644
index bac972c..0000000
--- a/debian/patches/inst_read_pt3_scripts.patch
+++ /dev/null
@@ -1,17 +0,0 @@
-Author: Alex Mestiashvili <alex at biotec.tu-dresden.de>
-Description: copy the whole subdir read_pt3_scripts to the destination
---- pycorrfit.orig/setup.py
-+++ pycorrfit/setup.py
-@@ -54,10 +54,12 @@
-     packages=['pycorrfit',
-               'pycorrfit.models',
-               'pycorrfit.readfiles',
-+              'pycorrfit.readfiles.read_pt3_scripts',
-               'pycorrfit.tools'],
-     package_dir={'pycorrfit': 'pycorrfit',
-                  'pycorrfit.models': 'pycorrfit/models',
-                  'pycorrfit.readfiles': 'pycorrfit/readfiles',
-+                 'pycorrfit.readfiles.read_pt3_scripts': 'pycorrfit/readfiles/read_pt3_scripts',
-                  'pycorrfit.tools': 'pycorrfit/tools'},
-     data_files=[('pycorrfit_doc', ['ChangeLog.txt', 'doc/PyCorrFit_doc.pdf'])],
-     license="GPL v2",
diff --git a/debian/patches/series b/debian/patches/series
deleted file mode 100644
index 5703a1b..0000000
--- a/debian/patches/series
+++ /dev/null
@@ -1,2 +0,0 @@
-inst_read_pt3_scripts.patch
-fcs_data_set_syntax.patch
diff --git a/debian/rules b/debian/rules
index b82839b..20b0f64 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,6 +1,6 @@
 #!/usr/bin/make -f
 
-#export DH_VERBOSE=1
+export DH_VERBOSE=1
 
 TEXDOC=PyCorrFit_doc.tex
 BIBDOC=PyCorrFit_doc.aux
@@ -33,3 +33,6 @@ override_dh_install:
 
 override_dh_compress:
 	dh_compress -Xsample_sessions -Xexternal_model_functions
+
+get-orig-source:
+	uscan --verbose --force-download --repack --compression xz

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/pycorrfit.git



More information about the debian-med-commit mailing list