diff options
author | ranke <ranke@f247ebf9-aa24-0410-a698-f940e971ad2b> | 2011-10-31 09:42:01 +0000 |
---|---|---|
committer | ranke <ranke@f247ebf9-aa24-0410-a698-f940e971ad2b> | 2011-10-31 09:42:01 +0000 |
commit | 442c37f1fb9c648da671b68e53c9ad21c5cbffdb (patch) | |
tree | 0f72ef3da5c361751112fda09a2113d245d67ef5 | |
parent | d2b1368be4f390b6b1ba299adcfe622e7bb85281 (diff) |
Build scripts for the R 2.14.0 backport
git-svn-id: svn+ssh://stiller/home/schatz/reps/r-backports@75 f247ebf9-aa24-0410-a698-f940e971ad2b
-rw-r--r-- | backport_others.sh | 9 | ||||
-rw-r--r-- | backport_r-base.sh | 6 | ||||
-rw-r--r-- | move_lenny64.sh | 6 | ||||
-rw-r--r-- | move_squeeze64.sh | 6 |
4 files changed, 21 insertions, 6 deletions
diff --git a/backport_others.sh b/backport_others.sh index ceb012c..987fcdc 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.13.2 +Rversion=2.14.0 echo Distribution is $DIST echo Architecture is $ARCH @@ -22,16 +22,19 @@ text="Recompiled on $DIST for CRAN" apt-get update 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 +# 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 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.13.2-1~squeezecran.0)/' debian/control - ssed -i -R '/^Build-Depends-Indep/s/r-base-dev \(>= 2\..*?\)/r-base-dev (>= 2.13.2-1~squeezecran.0)/' debian/control + ssed -i -R '/^Build-Depends/s/r-base-dev \(>= 2\..*?\)/r-base-dev (>= 2.14.0-1~squeezecran.0)/' debian/control + ssed -i -R '/^Build-Depends-Indep/s/r-base-dev \(>= 2\..*?\)/r-base-dev (>= 2.14.0-1~squeezecran.0)/' debian/control dch -a "debian/control: adapt build dependencies on r-base-dev to current backport" diff --git a/backport_r-base.sh b/backport_r-base.sh index d8c04f1..61d6b87 100644 --- a/backport_r-base.sh +++ b/backport_r-base.sh @@ -60,7 +60,7 @@ then sed -i '/^Build-Depends/s/debhelper (>= 7.2.3)/debhelper/' debian/control dch -a "debian/control: revert Build-Depends: to 'debhelper' since $DIST has a version < 7.2.3" sed -i 's/dh_prep/dh_clean/g' debian/rules - dch -a "debian/rules: revert dh_prep calls to dh_clean calls since the latter is not present in this release's version of 'debhelper'" + dch -a "debian/rules: revert dh_prep calls to dh_clean calls since the latter is not present lennys version of 'debhelper'" # 2. Starting with Debian packages for R 2.9.2-2 there is an install # dependency on 'dpkg (>= 1.15.4) | install-info'. Neither package is in @@ -68,12 +68,12 @@ then # debian/r-doc-{info,html}.{postinst,prerm}, just like for the fix above. sed -i '/^Depends/s/dpkg (>= 1.15.4) | install-info/dpkg | install-info/' debian/control - dch -a "debian/control: revert Depends: to 'dpkg | install-info' for r-doc-info since ${DISTRIB_DESCRIPTION} has a version of dpkg < 1.15.4 and no separate package install-info" + dch -a "debian/control: revert Depends: to 'dpkg | install-info' for r-doc-info since lenny has a version of dpkg < 1.15.4 and no separate package install-info" # 3. liblzma is not available in Debian distributions before squeeze sed -i '/^Build-Depends/s/, liblzma-dev//' debian/control - dch -a "debian/control: Remove dependency to liblzma-dev as it is not available in ${DISTRIB_DESCRIPTION}. As a consequence, the version provided in the R sources is used" + dch -a "debian/control: Remove dependency to liblzma-dev as it is not available in lenny. As a consequence, the version provided in the R sources is used" fi pbuilder update diff --git a/move_lenny64.sh b/move_lenny64.sh new file mode 100644 index 0000000..cb5c83b --- /dev/null +++ b/move_lenny64.sh @@ -0,0 +1,6 @@ +#!/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 + diff --git a/move_squeeze64.sh b/move_squeeze64.sh new file mode 100644 index 0000000..7690d38 --- /dev/null +++ b/move_squeeze64.sh @@ -0,0 +1,6 @@ +#!/bin/bash + +# Move binary packages built in a chroot to the local repository + +mv /var/chroot/squeeze-amd64/home/ranke/svn/r-backports/*squeezecran*_amd64.deb ~/svn/website/www/ranke/r-cran/squeeze-cran + |