summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbackport19
1 files changed, 4 insertions, 15 deletions
diff --git a/backport b/backport
index acfde10..a8f3a7b 100755
--- a/backport
+++ b/backport
@@ -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

Contact - Imprint