[r-cran-plotrix] 03/29: R packages should be named r-cran-* in any case
Andreas Tille
tille at debian.org
Fri Sep 29 06:53:31 UTC 2017
This is an automated email from the git hooks/post-receive script.
tille pushed a commit to branch master
in repository r-cran-plotrix.
commit 9cab9af240758a8af8e63bf33861b0d6e77f2b76
Author: Andreas Tille <tille at debian.org>
Date: Sun Feb 8 17:36:34 2009 +0000
R packages should be named r-cran-* in any case
---
debian/changelog | 4 ++--
debian/control | 9 +++++----
debian/get-orig-source | 7 +++++++
debian/rules | 3 +++
debian/watch | 4 ++++
5 files changed, 21 insertions(+), 6 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 032f958..4459daa 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,5 +1,5 @@
-plotrix (2.5-1) unstable; urgency=low
+r-cran-plotrix (2.5.1-1) unstable; urgency=low
* Initial release (Closes: #512069).
- -- Andreas Tille <tille at debian.org> Fri, 16 Jan 2009 20:43:13 +0100
+ -- Andreas Tille <tille at debian.org> Sun, 08 Feb 2009 09:58:22 +0100
diff --git a/debian/control b/debian/control
index 8f4d1fa..494de20 100644
--- a/debian/control
+++ b/debian/control
@@ -1,11 +1,12 @@
-Source: plotrix
+Source: r-cran-plotrix
Section: math
Priority: optional
-Maintainer: Andreas Tille <tille at debian.org>
+Maintainer: Debian Science Team <debian-science-maintainers at lists.alioth.debian.org>
+Uploaders: Andreas Tille <tille at debian.org>
Build-Depends: debhelper (>= 7), r-base-dev, cdbs
Standards-Version: 3.8.0
-Vcs-Browser: http://svn.debian.org/wsvn/debian-med/packages/plotrix/trunk/?rev=0&sc=0
-Vcs-Svn: svn://svn.debian.org/svn/debian-science/packages/plotrix/trunk/
+Vcs-Browser: http://svn.debian.org/wsvn/debian-med/packages/R/plotrix/trunk/?rev=0&sc=0
+Vcs-Svn: svn://svn.debian.org/svn/debian-science/packages/R/plotrix/trunk/
Homepage: http://cran.r-project.org/web/packages/plotrix/
Package: r-cran-plotrix
diff --git a/debian/get-orig-source b/debian/get-orig-source
new file mode 100644
index 0000000..96ee179
--- /dev/null
+++ b/debian/get-orig-source
@@ -0,0 +1,7 @@
+#!/bin/sh
+PKG=`dpkg-parsechangelog | awk '/^Source/ { print $2 }'`
+RENAME=`uscan --verbose --force-download | \
+ grep "Newest version on remote site is .* local version is .*" | \
+ head -n 1 | \
+ sed "s?Newest .* \([-0-9.]\+\),.* \([0-9.]\+\)?mv ../${PKG}_\1.orig.tar.gz ../${PKG}_\2.orig.tar.gz?"`
+$RENAME
diff --git a/debian/rules b/debian/rules
index 649b83e..f5c7397 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,3 +4,6 @@
# Copyright 2009 by Andreas Tille <tille at debian.org>
include /usr/share/R/debian/r-cran.mk
+
+get-orig-source:
+ . debian/get-orig-source
diff --git a/debian/watch b/debian/watch
index 9051e44..0036237 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,2 +1,6 @@
version=3
+# Same effect as dversionmangle, but we have to rename the orig.tar.gz
+# anyway and it is easier to write a get-origsource script this way
+# opts="uversionmangle=s/([\d.]+)-(\d)/$1.$2/"
+opts="dversionmangle=s/([\d.]+)\.(\d)/$1-$2/" \
http://cran.r-project.org/src/contrib/plotrix_([\d.-]*)\.tar\.gz
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/r-cran-plotrix.git
More information about the debian-science-commits
mailing list