diff options
author | ranke <ranke@f247ebf9-aa24-0410-a698-f940e971ad2b> | 2006-12-21 14:12:49 +0000 |
---|---|---|
committer | ranke <ranke@f247ebf9-aa24-0410-a698-f940e971ad2b> | 2006-12-21 14:12:49 +0000 |
commit | 5f27b05342292e3bfe6415ae5df9ef9fc46ec1cb (patch) | |
tree | 4102cf7f9e1d1d38481637b909a05a1de3a6a85d /edit_changelog_etch.py | |
parent | c77475f194d65b2cb7bfc52fd1375aea859cc9fd (diff) |
Added the possibility to backport R 2.4.1 to sarge
with the backport from CRAN (2.4.0-0sarge2) installed
git-svn-id: svn+ssh://stiller/home/schatz/reps/r-backports@6 f247ebf9-aa24-0410-a698-f940e971ad2b
Diffstat (limited to 'edit_changelog_etch.py')
-rw-r--r-- | edit_changelog_etch.py | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/edit_changelog_etch.py b/edit_changelog_etch.py new file mode 100644 index 0000000..61cf371 --- /dev/null +++ b/edit_changelog_etch.py @@ -0,0 +1,28 @@ +#!/usr/bin/python +# SVN: $Id: edit_changelog.py 5 2006-12-20 14:08:52Z ranke $ +# Author: Johannes Ranke <jranke@uni-bremen.de> +# Last Change: 2006 Dez 20 + +from time import strftime +from debian_bundle.changelog import Changelog, Version + +author = 'Johannes Ranke <jranke@uni-bremen.de>' + +chlg = "debian/changelog" +content = file(chlg).read() +changelog = Changelog(content) +newVersion = changelog.upstream_version() + "-" + changelog.debian_version() + "~cran.1" + +changelog.new_block(package=changelog.package(), + version=Version(newVersion), + distributions='etch-cran', + urgency='low', + author=author, + date=strftime("%a, %e %b %Y %H:%M:%S %z"), + ) + +changelog.add_change(''); +changelog.add_change(' * Backport to etch for repository on CRAN'); +changelog.add_change(''); + +file(chlg,"w").write(str(changelog)) |