diff options
author | ranke <ranke@f247ebf9-aa24-0410-a698-f940e971ad2b> | 2013-05-18 13:19:21 +0000 |
---|---|---|
committer | ranke <ranke@f247ebf9-aa24-0410-a698-f940e971ad2b> | 2013-05-18 13:19:21 +0000 |
commit | f5804cbf7176d0447debc9073d5de88ac4b3c91a (patch) | |
tree | 725ed055a230a6b5dad5752f86f870cf14d801bd | |
parent | fdcb0553481b6121881313ac3802df4fcadf28d0 (diff) |
Updates of build scripts for backport of 3.0.1 to squeeze
git-svn-id: svn+ssh://stiller/home/schatz/reps/r-backports@88 f247ebf9-aa24-0410-a698-f940e971ad2b
-rw-r--r-- | backport_jags.sh | 3 | ||||
-rw-r--r-- | backport_others.sh | 9 | ||||
-rw-r--r-- | build_others.sh | 5 | ||||
-rw-r--r-- | clean.sh | 2 |
4 files changed, 7 insertions, 12 deletions
diff --git a/backport_jags.sh b/backport_jags.sh index 71e30f9..f3a2987 100644 --- a/backport_jags.sh +++ b/backport_jags.sh @@ -4,9 +4,6 @@ # Author: Johannes Ranke <jranke@uni-bremen.de> -# On Debian I used to run this script as root. On Ubuntu I now run it with -# sudo -E sh backport_r-base.sh - # Preconditions: - shell variables DIST and ARCH # - sid sources in /etc/apt/sources/list # - cdbs installed (and maybe more) diff --git a/backport_others.sh b/backport_others.sh index c154318..02aacab 100644 --- a/backport_others.sh +++ b/backport_others.sh @@ -13,7 +13,7 @@ # - Set the R version # R version against which the software is compiled -Rversion=3.0.0 +Rversion=3.0.1 reposversion="cran3" echo Distribution is $DIST @@ -31,13 +31,12 @@ pbuilder update # built first, then nlme and rmatrix, then the rest # single package: -for i in r-cran-coda; do +for i in r-cran-rjags; do # squeeze/wheezy packages: -#for i in mgcv boot cluster codetools foreign kernsmooth r-cran-class r-cran-spatial r-cran-nnet r-cran-mass rodbc rpart survival littler rpy rpy2 rkward; do -#for i in lattice nlme rmatrix mgcv boot cluster codetools foreign kernsmooth r-cran-class r-cran-coda r-cran-spatial r-cran-nnet r-cran-mass rodbc rpart survival littler rpy rpy2 rkward; do +#for i in lattice nlme rmatrix mgcv boot cluster codetools foreign kernsmooth r-cran-class r-cran-coda r-cran-spatial r-cran-nnet r-cran-mass rodbc rpart survival littler rpy rpy2 rkward r-cran-rjags; do apt-get source $i cd $i-* - version=`dpkg-parsechangelog | grep ^Version | cut -f2 -d " "`~$DIST"cran3.0" + version=`dpkg-parsechangelog | grep ^Version | cut -f2 -d " "`~$DIST"cran."$Rversion dch -b -v $version --force-distribution -D $DIST-$reposversion $text ssed -i -R "/^Build-Depends/s/r-base-dev \(>= .*?\)/$rbasedev/" debian/control diff --git a/build_others.sh b/build_others.sh index 75fde95..cc33f93 100644 --- a/build_others.sh +++ b/build_others.sh @@ -7,9 +7,8 @@ apt-get upgrade # built first, then nlme and rmatrix, then the rest # squeeze/wheezy -#for i in rmatrix survival; do -for i in cluster foreign r-cran-class r-cran-coda r-cran-spatial r-cran-nnet kernsmooth mgcv rodbc rpart littler rpy rpy2 rkward r-cran-rjags; do -#for i in lattice rmatrix nlme cluster foreign r-cran-class r-cran-coda r-cran-spatial r-cran-nnet r-cran-mass kernsmooth mgcv rodbc rpart survival littler rpy rkward r-cran-rjags; do +for i in r-cran-rjags; do +#for i in lattice rmatrix nlme cluster foreign r-cran-class r-cran-coda r-cran-spatial r-cran-nnet r-cran-mass kernsmooth mgcv rodbc rpart survival littler rpy rpy2 rkward r-cran-rjags; do apt-get --no-install-recommends build-dep $i apt-get source $i cd $i-* @@ -4,7 +4,7 @@ for i in boot cluster codetools foreign kernsmooth lattice mgcv nlme r-cran-clas 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 -rf r-base* rm -f *.build rm -f *.changes |