summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Ranke <jranke@uni-bremen.de>2018-03-15 16:15:30 +0100
committerJohannes Ranke <jranke@uni-bremen.de>2018-03-15 16:16:52 +0100
commit80ef5b6b09a4ceea7cf19b3938858d3619d15150 (patch)
tree7e8670ef838b31a0d7b930d0cba888f8a05fd850
parentd1a8163b872a759cc3439b8d122738c9cf76c95f (diff)
Remove wheezy, terminate support for rjags
-rwxr-xr-xbackport20
-rwxr-xr-xbackport_others4
-rwxr-xr-xbuild_others4
-rw-r--r--jessie/_reverts_jags.sh3
-rw-r--r--jessie/_reverts_r-cran-rjags.sh4
5 files changed, 14 insertions, 21 deletions
diff --git a/backport b/backport
index 4898e4e..04c2f38 100755
--- a/backport
+++ b/backport
@@ -7,7 +7,7 @@ export ARCH
# R version against which the software is compiled
iteration=0
-Rversion=3.4.3
+Rversion=3.4.4
# Set required r-base-dev version for packages build-depending on R
rbasedev="r-base-dev (>= $Rversion)"
@@ -17,7 +17,7 @@ rcrandir=/home/jranke/svn/website/www/ranke/r-cran
# Author: Johannes Ranke <jranke@uni-bremen.de>
-# Preconditions:
+# Preconditions:
# - up to date R version specified above, for packages depending on R
# - sudo and pbuilder configuration (see README)
# - sid sources in /etc/apt/sources/list
@@ -26,7 +26,7 @@ rcrandir=/home/jranke/svn/website/www/ranke/r-cran
usage()
{
-echo "Usage: ./backport [options] sourcepackage stretch|jessie|wheezy"
+echo "Usage: ./backport [options] sourcepackage stretch|jessie"
echo "Options:"
echo " -k, --keep Keep copied source package and directory used for package building"
echo " -s, --skip Skip apt-get update/upgrade and pbuilder update"
@@ -62,7 +62,7 @@ pkg=$1
DIST=$2
# Validate distribution argument
-if [ $DIST != "stretch" ] && [ $DIST != "jessie" ] && [ $DIST != "wheezy" ]; then usage; exit 1; fi
+if [ $DIST != "stretch" ] && [ $DIST != "jessie" ]; then usage; exit 1; fi
export DIST
# Remove previously extracted sources
@@ -94,8 +94,8 @@ upstreamversion=`dpkg-parsechangelog | grep ^Version | cut -f2 -d " "`
cranversion=$upstreamversion"~"$DIST"cran.$iteration"
# Only do a backport if not already available
-# This avoids recompiling packages resulting in different sizes which
-# would make an update of the archive index inside the loop in backport_others
+# This avoids recompiling packages resulting in different sizes which
+# would make an update of the archive index inside the loop in backport_others
# necessary
new_dsc=$rcrandir/$DIST-cran34/${pkg}_${cranversion}.dsc
@@ -105,7 +105,7 @@ if [ -e $new_dsc ]; then
echo backport.sh: $new_dsc already present
-else
+else
echo backport.sh: Upstream version is $upstreamversion
echo backport.sh: New CRAN version is $cranversion
@@ -115,7 +115,7 @@ else
# Adapt build dependency on r-base-dev if present
if grep -q "^Build-Depends.*r-base-dev" debian/control
- then
+ then
ssed -i -R "/^Build-Depends/s/r-base-dev \(>= .*?\)/$rbasedev/" debian/control
ssed -i -R "/^Build-Depends-Indep/s/r-base-dev \(>= .*?\)/$rbasedev/" debian/control
@@ -133,7 +133,7 @@ else
--override-config \
--distribution $DIST \
--basetgz /var/cache/pbuilder/$DIST-$ARCH-base.tgz \
- --aptcache /var/cache/pbuilder/$DIST-$ARCH/aptcache
+ --aptcache /var/cache/pbuilder/$DIST-$ARCH/aptcache
fi
sudo -E pdebuild --debbuildopts '-sa' \
--buildresult $rcrandir/$DIST-cran34/ \
@@ -143,7 +143,7 @@ else
--aptcache /var/cache/pbuilder/$DIST-$ARCH/aptcache \
--buildplace /var/cache/pbuilder/$DIST-$ARCH/build
if [ $? -ne 0 ]; then
- exit
+ exit
fi
fi
diff --git a/backport_others b/backport_others
index 725cf72..b8c456d 100755
--- a/backport_others
+++ b/backport_others
@@ -61,8 +61,8 @@ export DIST
#for i in lattice r-cran-mass; do
#for i in rmatrix nlme; do
#for i in survival; do
-#for i in rpart mgcv boot cluster codetools foreign kernsmooth r-cran-class r-cran-coda r-cran-spatial r-cran-nnet rodbc littler rpy rpy2 rkward r-cran-rjags; 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 dh-r; do
+#for i in rpart mgcv boot cluster codetools foreign kernsmooth r-cran-class r-cran-coda r-cran-spatial r-cran-nnet rodbc 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
./backport -s $i $DIST
diff --git a/build_others b/build_others
index 6ba911d..14777eb 100755
--- a/build_others
+++ b/build_others
@@ -39,7 +39,7 @@ fi
#for i in lattice r-cran-mass; do
#for i in rmatrix nlme; do
#for i in survival; 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 cluster foreign r-cran-class r-cran-spatial r-cran-nnet kernsmooth mgcv rodbc rpart littler rpy rpy2 rkward; 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; do
./build -s $i
done
diff --git a/jessie/_reverts_jags.sh b/jessie/_reverts_jags.sh
deleted file mode 100644
index 97a5bd1..0000000
--- a/jessie/_reverts_jags.sh
+++ /dev/null
@@ -1,3 +0,0 @@
-ssed -i -R "/^Build-Depends/s/gfortran \(.*\)/gfortran/" debian/control
-ssed -i -R "/^Build-Depends/s/g++ \(.*\)/g++/" debian/control
-dch -a "debian/control: remove version requirements for gfortran and g++"
diff --git a/jessie/_reverts_r-cran-rjags.sh b/jessie/_reverts_r-cran-rjags.sh
deleted file mode 100644
index e7fc882..0000000
--- a/jessie/_reverts_r-cran-rjags.sh
+++ /dev/null
@@ -1,4 +0,0 @@
-# Lower dependencies for jags
-ssed -i -R "/^Build-Depends/s/jags \(>= .*?\)/jags (>= 4.0)/" debian/control
-ssed -i -R "/^Depends/s/jags \(>= .*?\)/jags (>= 4.0)/" debian/control
-dch -a "debian/control: Lower (build) dependency on jags to be satisfied by backport"

Contact - Imprint