summaryrefslogtreecommitdiff
path: root/backport_others.sh
diff options
context:
space:
mode:
Diffstat (limited to 'backport_others.sh')
-rw-r--r--backport_others.sh12
1 files changed, 6 insertions, 6 deletions
diff --git a/backport_others.sh b/backport_others.sh
index b0e9b8e..9b66c63 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.15.3
+Rversion=3.0.0
echo Distribution is $DIST
echo Architecture is $ARCH
@@ -27,17 +27,17 @@ pbuilder update
# lenny packages:
#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; do
# squeeze packages:
-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 r-cran-rjags; 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
+ dch -b -v $version --force-distribution -D $DIST-cran3 $text
- ssed -i -R '/^Build-Depends/s/r-base-dev \(>= 2\..*?\)/r-base-dev (>= 2.15.3-1~squeezecran.0)/' debian/control
- ssed -i -R '/^Build-Depends-Indep/s/r-base-dev \(>= 2\..*?\)/r-base-dev (>= 2.15.3-1~squeezecran.0)/' debian/control
+ ssed -i -R '/^Build-Depends/s/r-base-dev \(>= \..*?\)/r-base-dev (>= 3.0.0-1~squeezecran.0)/' debian/control
+ ssed -i -R '/^Build-Depends-Indep/s/r-base-dev \(>= \..*?\)/r-base-dev (>= 3.0.0-1~squeezecran.0)/' debian/control
dch -a "debian/control: adapt build dependencies on r-base-dev to current backport"
- pdebuild --debbuildopts '-sa' --buildresult /home/ranke/svn/website/www/ranke/r-cran/$DIST-cran/ -- --distribution $DIST --basetgz /var/cache/pbuilder/$DIST-$ARCH-base.tgz --aptcache /var/cache/pbuilder/$DIST-$ARCH/aptcache --buildplace /var/cache/pbuilder/$DIST-$ARCH/build
+ pdebuild --debbuildopts '-sa' --buildresult /home/ranke/svn/website/www/ranke/r-cran/$DIST-cran3/ -- --distribution $DIST --basetgz /var/cache/pbuilder/$DIST-$ARCH-base.tgz --aptcache /var/cache/pbuilder/$DIST-$ARCH/aptcache --buildplace /var/cache/pbuilder/$DIST-$ARCH/build
cd ..
done

Contact - Imprint