From c77475f194d65b2cb7bfc52fd1375aea859cc9fd Mon Sep 17 00:00:00 2001 From: ranke Date: Wed, 20 Dec 2006 14:08:52 +0000 Subject: - distribution is now etch-cran - SVN Ids are now used in the scripts - Comment and author information in the scripts - Last Changes: in the scripts git-svn-id: svn+ssh://stiller/home/schatz/reps/r-backports@5 f247ebf9-aa24-0410-a698-f940e971ad2b --- backport_r-base.sh | 17 +++++++++++++++++ backport_recommended.sh | 9 ++++++++- clean.sh | 4 ---- edit_changelog.py | 6 ++++-- get_sources.sh | 6 ------ 5 files changed, 29 insertions(+), 13 deletions(-) create mode 100644 backport_r-base.sh delete mode 100644 clean.sh delete mode 100644 get_sources.sh diff --git a/backport_r-base.sh b/backport_r-base.sh new file mode 100644 index 0000000..3ee8187 --- /dev/null +++ b/backport_r-base.sh @@ -0,0 +1,17 @@ +#!/bin/bash +# SVN: $Id$ +# Script to automate building backports from Dirks r-base packages to etch. +# Depends: python-debian, edit_changelog.py +# Author: Johannes Ranke +# Comment: Doesn't currently work, since debian_bundle.changelog from +# python-debian throws an error with the changelog in r-base (message +# to pkg-python-debian-discuss on December 16 2006) +# Last Change: 2006 Dez 20 + +cd r-base +rm -rf * +apt-get source -t unstable r-base +cd r-base-* +python ../../edit_changelog.py +fakeroot dpkg-buildpackage +cd ../.. diff --git a/backport_recommended.sh b/backport_recommended.sh index 65d9af6..d24ebad 100644 --- a/backport_recommended.sh +++ b/backport_recommended.sh @@ -1,4 +1,11 @@ #!/bin/bash +# SVN: $Id$ +# Script to automate building backports from Dirks r-cran-* packages to etch. +# Depends: python-debian, edit_changelog.py +# Author: Johannes Ranke +# Comment: First, a backport of R should be installed +# Last Change: 2006 Dez 20 + for i in boot cluster foreign kernsmooth lattice mgcv nlme rpart survival vr; do cd $i rm -rf * @@ -6,5 +13,5 @@ for i in boot cluster foreign kernsmooth lattice mgcv nlme rpart survival vr; do cd $i-* python ../../edit_changelog.py fakeroot dpkg-buildpackage - cd .. + cd ../.. done diff --git a/clean.sh b/clean.sh deleted file mode 100644 index 522f315..0000000 --- a/clean.sh +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/bash -for i in boot cluster foreign kernsmooth lattice mgcv nlme rpart survival vr; do - rm -rf $i/* -done diff --git a/edit_changelog.py b/edit_changelog.py index d85d48b..34bf950 100644 --- a/edit_changelog.py +++ b/edit_changelog.py @@ -1,5 +1,7 @@ #!/usr/bin/python -# edit_changelog.py +# SVN: $Id$ +# Author: Johannes Ranke +# Last Change: 2006 Dez 20 from time import strftime from debian_bundle.changelog import Changelog, Version @@ -13,7 +15,7 @@ newVersion = changelog.upstream_version() + "-" + changelog.debian_version() + changelog.new_block(package=changelog.package(), version=Version(newVersion), - distributions='etch-backports', + distributions='etch-cran', urgency='low', author=author, date=strftime("%a, %e %b %Y %H:%M:%S %z"), diff --git a/get_sources.sh b/get_sources.sh deleted file mode 100644 index dbfd1f8..0000000 --- a/get_sources.sh +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/bash -for i in boot cluster foreign kernsmooth lattice mgcv nlme rpart survival vr; do - cd $i - apt-get source -t unstable r-cran-$i - cd .. -done -- cgit v1.2.1