From 2bf9c7feac2d270555c2450333abd8582b5bf342 Mon Sep 17 00:00:00 2001 From: ranke Date: Wed, 29 Feb 2012 08:19:18 +0000 Subject: Updated build scripts for todays backport of R 2.14.2 git-svn-id: svn+ssh://stiller/home/schatz/reps/r-backports@77 f247ebf9-aa24-0410-a698-f940e971ad2b --- README | 17 ++++++++--------- backport_others.sh | 10 +++++----- move_lenny64.sh | 6 ------ 3 files changed, 13 insertions(+), 20 deletions(-) delete mode 100644 move_lenny64.sh diff --git a/README b/README index 3d1326f..332b6ea 100644 --- a/README +++ b/README @@ -1,7 +1,7 @@ This directory contains my scripts to build backports of R software from Debian sid to older Debian distributions. -Currently (2010-10-17) I am using the following setup: +Currently (2012-02-29) I am using the following setup: ~/.pbuilderrc contains: @@ -17,13 +17,12 @@ Currently (2010-10-17) I am using the following setup: COMPONENTS="main" This means I have the appropriate aptcache and buildresult directories set up -under /var/cache/pbuilder. I have four pbuilder images used for package -creation under /var/cache/pbuilder: +under /var/cache/pbuilder. I have several pbuilder images used for package +creation under /var/cache/pbuilder, among others: -/var/cache/pbuilder/etch-amd64-base.tgz /var/cache/pbuilder/lenny-amd64-base.tgz -/var/cache/pbuilder/etch-i386-base.tgz /var/cache/pbuilder/lenny-i386-base.tgz +/var/cache/pbuilder/squeeze-i386-base.tgz /var/cache/pbuilder/lenny-i386-base.tgz -All of these have a standard Debian mirror and the security sources setup in -their /etc/apt/sources.list, as well as my local http package source where the -r-base package build results are available. I have also imported the apt key -of my repository inside the pbuilder chroots. +These have a standard Debian mirror and the security sources setup in their +/etc/apt/sources.list, as well as my local http package source where the r-base +package build results are available. I have also imported the apt key of my +repository inside the pbuilder chroots. diff --git a/backport_others.sh b/backport_others.sh index 845c494..bbcf226 100644 --- a/backport_others.sh +++ b/backport_others.sh @@ -12,7 +12,7 @@ # - Set the R version # R version against which the software is compiled -Rversion=2.14.1 +Rversion=2.14.2 echo Distribution is $DIST echo Architecture is $ARCH @@ -25,16 +25,16 @@ pbuilder update # single package: #for i in r-cran-rjags; do # lenny packages: -for i in boot cluster codetools foreign kernsmooth lattice mgcv nlme r-cran-class r-cran-spatial r-cran-nnet r-cran-mass rmatrix rodbc rpart survival littler; do +#for i in boot cluster codetools foreign kernsmooth lattice mgcv nlme r-cran-class r-cran-spatial r-cran-nnet r-cran-mass rmatrix rodbc rpart survival littler; do # squeeze packages: -#for i in boot cluster codetools foreign kernsmooth lattice mgcv nlme r-cran-class r-cran-spatial r-cran-nnet r-cran-mass rmatrix rodbc rpart survival littler rpy rkward r-cran-rjags; do +for i in boot cluster codetools foreign kernsmooth lattice mgcv nlme r-cran-class r-cran-spatial r-cran-nnet r-cran-mass rmatrix 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 dch -b -v $version --force-distribution -D $DIST-cran $text - ssed -i -R '/^Build-Depends/s/r-base-dev \(>= 2\..*?\)/r-base-dev (>= 2.14.1-1~squeezecran.0)/' debian/control - ssed -i -R '/^Build-Depends-Indep/s/r-base-dev \(>= 2\..*?\)/r-base-dev (>= 2.14.1-1~squeezecran.0)/' debian/control + ssed -i -R '/^Build-Depends/s/r-base-dev \(>= 2\..*?\)/r-base-dev (>= 2.14.2-1~squeezecran.0)/' debian/control + ssed -i -R '/^Build-Depends-Indep/s/r-base-dev \(>= 2\..*?\)/r-base-dev (>= 2.14.2-1~squeezecran.0)/' debian/control dch -a "debian/control: adapt build dependencies on r-base-dev to current backport" diff --git a/move_lenny64.sh b/move_lenny64.sh deleted file mode 100644 index cb5c83b..0000000 --- a/move_lenny64.sh +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/bash - -# Move binary packages built in a chroot to the local repository - -mv /var/chroot/lenny-amd64/home/ranke/svn/r-backports/*lennycran*_amd64.deb ~/svn/website/www/ranke/r-cran/lenny-cran - -- cgit v1.2.1