[r-backports] / backport_others.sh Repository:
ViewVC logotype

Diff of /backport_others.sh

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 63, Fri Apr 23 04:20:03 2010 UTC revision 64, Fri May 7 06:20:44 2010 UTC
# Line 4  Line 4 
4  # sudo -E sh backport_others.sh  # sudo -E sh backport_others.sh
5    
6  # Preconditions: - shell variables DIST and ARCH  # Preconditions: - shell variables DIST and ARCH
7  #                - sources for current R backport in /etc/apt/sources/list  #                - current R backport in /etc/apt/sources/list
8  #                - sid sources in /etc/apt/sources/list  #                - sid sources in /etc/apt/sources/list
9  #                - ssed and cdbs installed (and maybe more)  #                - ssed and cdbs installed (and maybe more)
10  #                - Edit the sed scripts below to adapt the build dependencies  #                - Edit the sed scripts below to adapt the build dependencies
11  #                  to the appropriate version of r-base-dev  #                  (don't forget distribution name) to the appropriate version of
12    #                  r-base-dev
13  #                - Set the R version  #                - Set the R version
14    
15  # R version against which the software is compiled  # R version against which the software is compiled
# Line 24  Line 25 
25    
26  #for i in vr; do  #for i in vr; do
27  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; do
28      apt-get source -t unstable $i      apt-get source $i
29      cd $i-*      cd $i-*
30      version=`dpkg-parsechangelog | grep ^Version | cut -f2 -d " "`~$DIST"cran".$Rversion      version=`dpkg-parsechangelog | grep ^Version | cut -f2 -d " "`~$DIST"cran".$Rversion
31      dch -b -v $version --force-distribution -D $DIST-cran $text      dch -b -v $version --force-distribution -D $DIST-cran $text

Legend:
Removed from v.63  
changed lines
  Added in v.64

Johannes Ranke
ViewVC Help
Powered by ViewVC 1.0.1