summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorranke <ranke@f247ebf9-aa24-0410-a698-f940e971ad2b>2006-12-20 14:08:52 +0000
committerranke <ranke@f247ebf9-aa24-0410-a698-f940e971ad2b>2006-12-20 14:08:52 +0000
commitc77475f194d65b2cb7bfc52fd1375aea859cc9fd (patch)
tree0199bc2cb78c54163685b21d9ca4d395d056df0d
parent2e3311bac6b25568eb57780aa938f9c8563f9958 (diff)
- 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
-rw-r--r--backport_r-base.sh17
-rw-r--r--backport_recommended.sh9
-rw-r--r--clean.sh4
-rw-r--r--edit_changelog.py6
-rw-r--r--get_sources.sh6
5 files changed, 29 insertions, 13 deletions
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 <jranke@uni-bremen.de>
+# 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 <jranke@uni-bremen.de>
+# 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 <jranke@uni-bremen.de>
+# 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

Contact - Imprint