diff options
Diffstat (limited to 'edit_changelogs.py')
| -rw-r--r-- | edit_changelogs.py | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/edit_changelogs.py b/edit_changelogs.py deleted file mode 100644 index 927e01d..0000000 --- a/edit_changelogs.py +++ /dev/null @@ -1,28 +0,0 @@ -#!/usr/bin/python -# edit_changelogs.py - -import glob -from time import strftime -from debian_bundle.changelog import Changelog, Version - -author = 'Johannes Ranke <jranke@uni-bremen.de>' - -path = glob.glob("r-base/r-base-*")[0] -chlg = path + "/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-backports', - urgency='low', - author=author, - date=strftime("%a, %e %b %Y %H:%M:%S %z"), - ) - -changelog.add_change(''); -changelog.add_change(' * Backport to etch for CRAN repository'); -changelog.add_change(''); - -#file(chlg,"w+").write(changelog) |
