From cca60df4629c82243349420eed86c7fc9192a921 Mon Sep 17 00:00:00 2001 From: ranke Date: Thu, 14 Jul 2011 18:06:51 +0000 Subject: Small updates of the build scripts for the backport of 2.13.1 git-svn-id: svn+ssh://stiller/home/schatz/reps/r-backports@72 f247ebf9-aa24-0410-a698-f940e971ad2b --- backport_others.sh | 9 +++++---- build_others.sh | 5 +++-- clean.sh | 2 +- 3 files changed, 9 insertions(+), 7 deletions(-) diff --git a/backport_others.sh b/backport_others.sh index 1976755..968fe97 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.13.0 +Rversion=2.13.1 echo Distribution is $DIST echo Architecture is $ARCH @@ -23,14 +23,15 @@ apt-get update pbuilder update for i in 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 +#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 +#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 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.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 + ssed -i -R '/^Build-Depends/s/r-base-dev \(>= 2\..*?\)/r-base-dev (>= 2.13.1-1~lennycran.0)/' debian/control + ssed -i -R '/^Build-Depends-Indep/s/r-base-dev \(>= 2\..*?\)/r-base-dev (>= 2.13.1-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 a9b6b45..835b05e 100644 --- a/build_others.sh +++ b/build_others.sh @@ -13,8 +13,9 @@ echo Architecture is $ARCH apt-get update pbuilder update -for i in r-cran-rjags; 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 +#for i in r-cran-rjags; 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; 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 r-cran-rjags; do apt-get source $i cd $i-* diff --git a/clean.sh b/clean.sh index cac929a..b10b21b 100644 --- a/clean.sh +++ b/clean.sh @@ -1,6 +1,6 @@ # Author: Johannes Ranke -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 +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 jags r-cran-rjags; 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 -- cgit v1.2.1