[r-cran-deldir] 05/12: Final polishing; ITP bug; Upload to unstable

Sébastien Villemot sebastien at debian.org
Wed Nov 15 15:27:19 UTC 2017


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

sebastien pushed a commit to branch master
in repository r-cran-deldir.

commit b89d45ceb9fb64e978b1bced421942c4d1b0dcff
Author: Andreas Tille <tille at debian.org>
Date:   Thu May 16 07:31:50 2013 +0000

    Final polishing; ITP bug; Upload to unstable
---
 debian/changelog                 |  4 ++--
 debian/patches/prevent_csh.patch | 23 +++++++++++++++++++++++
 debian/rules                     |  3 +++
 3 files changed, 28 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index af73052..0bd6b4e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,5 +1,5 @@
-r-cran-deldir (0.0-22-1) UNRELEASED; urgency=low
+r-cran-deldir (0.0-22-1) unstable; urgency=low
 
-  * Initial release (Closes: #).
+  * Initial release (Closes: #708395).
 
  -- Andreas Tille <tille at debian.org>  Wed, 15 May 2013 15:12:06 +0200
diff --git a/debian/patches/prevent_csh.patch b/debian/patches/prevent_csh.patch
new file mode 100644
index 0000000..da3cc08
--- /dev/null
+++ b/debian/patches/prevent_csh.patch
@@ -0,0 +1,23 @@
+Author: Andreas Tille <tille at debian.org>
+Description: Convert simple csh script to POSIX shell to silence lintian.
+ However, this is not needed inside the binary package so simply removing
+ the ratfor code from binary seems to be the more sane solution.  Leave it
+ here for reference might not harm anyway
+LastChanged: Wed, 15 May 2013 15:12:06 +0200
+
+--- a/inst/ratfor/makefor
++++ b/inst/ratfor/makefor
+@@ -1,7 +1,7 @@
+-#! /bin/csh
++#!/bin/sh
+ 
+-foreach file (*.r)
+-set stem = `basename $file .r`
+-ratfor $file > $stem.f
+-/bin/mv $stem.f ../../src
+-end
++for file in `ls *.r` ; do
++	stem=`basename $file .r`
++	ratfor $file > $stem.f
++	/bin/mv $stem.f ../../src
++done
diff --git a/debian/rules b/debian/rules
index 483abdd..955f7cc 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,3 +4,6 @@
 # Copyright 2009 by Andreas Tille <tille at debian.org>
 
 include /usr/share/R/debian/r-cran.mk
+
+install/$(package)::
+	rm -rf debian/$(package)/usr/lib/R/site-library/deldir/ratfor

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/r-cran-deldir.git



More information about the debian-science-commits mailing list