summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorranke <ranke@f247ebf9-aa24-0410-a698-f940e971ad2b>2015-08-17 00:21:25 +0000
committerranke <ranke@f247ebf9-aa24-0410-a698-f940e971ad2b>2015-08-17 00:21:25 +0000
commitd848bf9416058896406987d3b017d1046a4c32d3 (patch)
tree8c867774ea4f2de30b95b064720199c0b41f38e7
parent20c66280577414140edeac019d914f9e248789f1 (diff)
Adapt backport_others and build_others to R 3.2.2
git-svn-id: svn+ssh://stiller/home/schatz/reps/r-backports@109 f247ebf9-aa24-0410-a698-f940e971ad2b
-rw-r--r--backport_others.sh15
-rw-r--r--build_others.sh2
2 files changed, 12 insertions, 5 deletions
diff --git a/backport_others.sh b/backport_others.sh
index b78eff0..e0fb612 100644
--- a/backport_others.sh
+++ b/backport_others.sh
@@ -11,7 +11,7 @@
# - Set the R version
# R version against which the software is compiled
-Rversion=3.2.1
+Rversion=3.2.2
reposversion="cran3"
echo Distribution is $DIST
@@ -29,9 +29,9 @@ pbuilder update
# built first, then nlme and rmatrix, then the rest
# single package:
-#for i in rpy2; do
-# squeeze/wheezy packages:
-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
+#for i in r-cran-rjags; do
+# squeeze/wheezy packages (without rpy2):
+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 rkward r-cran-rjags; do
apt-get source $i
cd $i-*
version=`dpkg-parsechangelog | grep ^Version | cut -f2 -d " "`~$DIST"cran."$Rversion
@@ -42,6 +42,13 @@ for i in lattice nlme rmatrix mgcv boot cluster codetools foreign kernsmooth r-c
dch -a "debian/control: adapt build dependencies on r-base-dev to current backport"
+ if [ $i = "r-cran-rjags" ]
+ then
+ ssed -i -R "/^Build-Depends/s/jags \(>= 3.4.0-3\)/jags \(>= 3.4.0\)/" debian/control
+ dch -a "debian/control: lower version requirement for jags as build dependency as 4.0.3 is not needed for backports"
+ fi
+
+
pdebuild --debbuildopts '-sa' --buildresult /home/ranke/svn/website/www/ranke/r-cran/$DIST-$reposversion/ -- --distribution $DIST --basetgz /var/cache/pbuilder/$DIST-$ARCH-base.tgz --aptcache /var/cache/pbuilder/$DIST-$ARCH/aptcache --buildplace /var/cache/pbuilder/$DIST-$ARCH/build
cd ..
done
diff --git a/build_others.sh b/build_others.sh
index e3057d8..0ce6f5c 100644
--- a/build_others.sh
+++ b/build_others.sh
@@ -10,7 +10,7 @@ apt-get upgrade
#for i in lattice r-cran-mass survival; do
#for i in nlme rmatrix; do
#for i in cluster foreign r-cran-class 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-spatial r-cran-nnet r-cran-mass kernsmooth mgcv rodbc rpart survival littler rpy rpy2 rkward r-cran-rjags; do
+for i in lattice rmatrix nlme cluster foreign r-cran-class r-cran-spatial r-cran-nnet r-cran-mass kernsmooth mgcv rodbc rpart survival littler rpy rkward r-cran-rjags; do
apt-get --no-install-recommends build-dep $i
apt-get source $i
cd $i-*

Contact - Imprint