summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--backport_jags.sh3
-rw-r--r--backport_others.sh9
-rw-r--r--build_others.sh5
-rw-r--r--clean.sh2
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-*
diff --git a/clean.sh b/clean.sh
index c880f6a..0eaca49 100644
--- a/clean.sh
+++ b/clean.sh
@@ -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

Contact - Imprint