diff options
author | ranke <ranke@f247ebf9-aa24-0410-a698-f940e971ad2b> | 2009-04-18 00:14:22 +0000 |
---|---|---|
committer | ranke <ranke@f247ebf9-aa24-0410-a698-f940e971ad2b> | 2009-04-18 00:14:22 +0000 |
commit | 45465a2ded6373a9fbae2419b502f9e3c049a740 (patch) | |
tree | 452db8c21539202ec97975a3eff2a8b480299ae9 /backport_all.sh | |
parent | 6a325bb92a1eaa6ed8fc5e161437d31736ad4c72 (diff) |
Update of the backporting scripts for 2.9.0 to etch
git-svn-id: svn+ssh://stiller/home/schatz/reps/r-backports@51 f247ebf9-aa24-0410-a698-f940e971ad2b
Diffstat (limited to 'backport_all.sh')
-rw-r--r-- | backport_all.sh | 16 |
1 files changed, 5 insertions, 11 deletions
diff --git a/backport_all.sh b/backport_all.sh index 319cc19..e7e5602 100644 --- a/backport_all.sh +++ b/backport_all.sh @@ -10,26 +10,20 @@ export DEBFULLNAME="Johannes Ranke" text="Recompiled on etch for CRAN" -for i in nlme; do -#for i in boot cluster codetools foreign kernsmooth lattice mgcv nlme rodbc rpart survival vr littler rpy; do +for i in rmatrix; do +#for i in boot cluster codetools foreign kernsmooth lattice rmatrix mgcv nlme rodbc rpart survival vr littler; do cd $i rm -rf $i* rm *.deb apt-get source -t unstable $i cd $i-* - version=`dpkg-parsechangelog | grep ^Version | cut -f2 -d " "`~etchcran.2.8.1 + version=`dpkg-parsechangelog | grep ^Version | cut -f2 -d " "`~etchcran.2.9.0 dch -b -v $version -D etch-cran $text - sed -i '/^Build-Depends/s/r-base-dev (>= 2\..\..)/r-base-dev (>= 2.8.1-1~etchcran.0)/' debian/control - sed -i '/^Build-Depends-Indep/s/r-base-dev (>= 2\..\..)/r-base-dev (>= 2.8.1-1~etchcran.0)/' debian/control + sed -i '/^Build-Depends/s/r-base-dev (>= 2\..\..)/r-base-dev (>= 2.9.0-1~etchcran.0)/' debian/control + sed -i '/^Build-Depends-Indep/s/r-base-dev (>= 2\..\..)/r-base-dev (>= 2.9.0-1~etchcran.0)/' debian/control dch -a "debian/control: adapt build dependencies on r-base-dev to current backport" - if [ ${i} == "rpy" ] - then - sed -i '/^Build-Depends/s/.*/&, lapack3-dev, python-minimal, python-central, python-dev, tetex-bin, texinfo/' debian/control - dch -a "debian/control: add build dependencies on lapack3-dev, python-minimal, python-central, tetex-bin and texinfo" - fi - fakeroot dpkg-buildpackage -sa cd ../.. done |