summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorranke <ranke@f247ebf9-aa24-0410-a698-f940e971ad2b>2011-04-14 06:29:26 +0000
committerranke <ranke@f247ebf9-aa24-0410-a698-f940e971ad2b>2011-04-14 06:29:26 +0000
commitbaa647f87637ea55afc76fb5fd13f934d219191f (patch)
treec0f99847c96397e518d536005e3bcda98e05d21f
parentf5f3a124912d4bd5da816d4de5ef81f382a1c2a9 (diff)
- Update of the build scripts for the backport of 2.13.0 finished today
- Added rkward for squeeze in order to fix a problem that the squeeze version has with current R - rpy does not compile on lenny git-svn-id: svn+ssh://stiller/home/schatz/reps/r-backports@70 f247ebf9-aa24-0410-a698-f940e971ad2b
-rw-r--r--backport_others.sh10
-rw-r--r--build_others.sh4
-rw-r--r--clean.sh9
3 files changed, 14 insertions, 9 deletions
diff --git a/backport_others.sh b/backport_others.sh
index bfbf05e..163a5b0 100644
--- a/backport_others.sh
+++ b/backport_others.sh
@@ -12,7 +12,7 @@
# - Set the R version
# R version against which the software is compiled
-Rversion=2.12.2
+Rversion=2.13.0
echo Distribution is $DIST
echo Architecture is $ARCH
@@ -22,15 +22,15 @@ text="Recompiled on $DIST for CRAN"
apt-get update
pbuilder update
-#for i in boot; do
-for i in boot cluster codetools foreign kernsmooth lattice mgcv nlme r-cran-class r-cran-spatial r-cran-nnet r-cran-mass rmatrix rodbc rpart survival littler rpy; do
+#for i in rkward; do
+for i in boot cluster codetools foreign kernsmooth lattice mgcv nlme r-cran-class r-cran-spatial r-cran-nnet r-cran-mass rmatrix rodbc rpart survival littler rpy rkward; do
apt-get source $i
cd $i-*
version=`dpkg-parsechangelog | grep ^Version | cut -f2 -d " "`~$DIST"cran".$Rversion
dch -b -v $version --force-distribution -D $DIST-cran $text
- ssed -i -R '/^Build-Depends/s/r-base-dev \(>= 2\..*?\)/r-base-dev (>= 2.12.2-1~lennycran.0)/' debian/control
- ssed -i -R '/^Build-Depends-Indep/s/r-base-dev \(>= 2\..*?\)/r-base-dev (>= 2.12.2-1~lennycran.0)/' debian/control
+ ssed -i -R '/^Build-Depends/s/r-base-dev \(>= 2\..*?\)/r-base-dev (>= 2.13.0-1~lennycran.0)/' debian/control
+ ssed -i -R '/^Build-Depends-Indep/s/r-base-dev \(>= 2\..*?\)/r-base-dev (>= 2.13.0-1~lennycran.0)/' debian/control
dch -a "debian/control: adapt build dependencies on r-base-dev to current backport"
diff --git a/build_others.sh b/build_others.sh
index 7c0ff16..671ed92 100644
--- a/build_others.sh
+++ b/build_others.sh
@@ -13,8 +13,8 @@ echo Architecture is $ARCH
apt-get update
pbuilder update
-#for i in mgcv; do
-for i in cluster foreign lattice mgcv nlme r-cran-class r-cran-spatial r-cran-nnet r-cran-mass kernsmooth rmatrix rodbc rpart survival littler rpy; do
+#for i in rkward; do
+for i in cluster foreign lattice mgcv nlme r-cran-class r-cran-spatial r-cran-nnet r-cran-mass kernsmooth rmatrix rodbc rpart survival littler rpy rkward; do
apt-get source $i
cd $i-*
diff --git a/clean.sh b/clean.sh
index ec7d7f4..cac929a 100644
--- a/clean.sh
+++ b/clean.sh
@@ -1,5 +1,10 @@
# Author: Johannes Ranke <jranke@uni-bremen.de>
-for i in boot cluster codetools foreign kernsmooth lattice mgcv nlme r-cran-class r-cran-mass r-cran-nnet r-cran-spatial rmatrix rodbc rpart survival vr littler rpy; do
- rm -rf $i*
+for i in boot cluster codetools foreign kernsmooth lattice mgcv nlme r-cran-class r-cran-mass r-cran-nnet r-cran-spatial rmatrix rodbc rpart survival littler rpy rkward; do
+ rm -rf $i-* # build directories leftover from backporting
+ rm $i*.dsc # source package descriptions from Debian unstable
+ rm $i*.diff.gz # source package diffs from Debian unstable
+ #rm -rf $i*
done
+rm -f *.build
+rm -f *.changes

Contact - Imprint