diff options
author | Johannes Ranke <jranke@uni-bremen.de> | 2020-06-06 15:58:19 +0200 |
---|---|---|
committer | Johannes Ranke <jranke@uni-bremen.de> | 2020-06-06 15:58:19 +0200 |
commit | b0e1bc37ded73ed6350fb3f01387160365640c72 (patch) | |
tree | 52feabf324d3d57f37cb2c0ffd9a810098d74101 | |
parent | 7e750f644cbbc9ad35cbdc4f4909b52faede853d (diff) |
R 4.0.1
-rwxr-xr-x | backport | 19 |
1 files changed, 4 insertions, 15 deletions
@@ -6,11 +6,8 @@ ARCH=i386 export ARCH # R version against which the software is compiled -iteration=1 -Rversion=4.0.0 - -# Set required r-base-dev version for packages build-depending on R -rbasedev="r-base-dev (>= $Rversion)" +iteration=0 +Rversion=4.0.1 # Where the buildresults should be stored and where to look for current backports rcrandir=/home/jranke/git/uni/website/www/ranke/r-cran @@ -71,12 +68,13 @@ then sudo rm -rf `ls -d $pkg-*` fi -# Get current source from sid. If we want buildd-unstable, we need to change to -t buildd-unstable below +# Get current source from sid. If we want buildd-unstable, we need to remove -t sid if [ "$skip" = false ] then sudo apt-get update sudo apt-get upgrade fi +#sudo apt-get source $pkg sudo apt-get source -t sid $pkg # Copy sources to $DIST directory to enable parallel builds @@ -113,15 +111,6 @@ else # Add new version to changelog dch -v "${cranversion}" --force-distribution -D $DIST-cran -b "Backport from Debian unstable to Debian $DIST" - # Adapt build dependency on r-base-dev if present - if grep -q "^Build-Depends.*r-base-dev" debian/control - 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 - - dch -a "debian/control: Adapt build dependency on r-base-dev to current backport" - fi - # Check for a script doing modifications required for backporting script=../\_reverts\_$pkg\.sh |