[r-cran-teachingdemos] 04/14: New upstream version, ${R:Depends}, source format 3.0 (quilt)

Andreas Tille tille at debian.org
Fri Sep 29 14:28:10 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-teachingdemos.

commit 7360361f4e6617a8f0ce26d21a5776ec823c19df
Author: Andreas Tille <tille at debian.org>
Date:   Thu Aug 5 12:14:58 2010 +0000

    New upstream version, ${R:Depends}, source format 3.0 (quilt)
---
 debian/README.Debian |  7 +++++++
 debian/changelog     | 12 ++++++++++++
 debian/control       |  4 ++--
 debian/rules         |  4 ++++
 debian/source/format |  1 +
 5 files changed, 26 insertions(+), 2 deletions(-)

diff --git a/debian/README.Debian b/debian/README.Debian
new file mode 100644
index 0000000..3e5e0fc
--- /dev/null
+++ b/debian/README.Debian
@@ -0,0 +1,7 @@
+Notes on how this package can be tested.
+────────────────────────────────────────
+
+This package can be tested by loading it into R with the command
+‘library(TeachingDemos)’ in order to confirm its integrity.
+
+ -- Andreas Tille <tille at debian.org>  Thu, 05 Aug 2010 14:03:43 +0200
diff --git a/debian/changelog b/debian/changelog
index af096f8..db6f250 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,15 @@
+r-cran-teachingdemos (2.6-1) unstable; urgency=low
+
+  * New upstream version
+  * Standards-Version: 3.9.1 (no changes needed)
+  * debian/source/format: 3.0 (quilt)
+  * Depend on a version equal or superior than the R upstream release that
+    was used to build this package, using a R:Depends substvar
+    (debian/control, debian/rules).
+  * debian/README.Debian: explain how to test this package
+
+ -- Andreas Tille <tille at debian.org>  Thu, 05 Aug 2010 14:03:43 +0200
+
 r-cran-teachingdemos (2.4-1) unstable; urgency=low
 
   * Initial release (closes: #557135).
diff --git a/debian/control b/debian/control
index 9d92c9b..df1a2b4 100644
--- a/debian/control
+++ b/debian/control
@@ -5,7 +5,7 @@ Maintainer: Debian Science Team <debian-science-maintainers at lists.alioth.debian.
 Uploaders: Andreas Tille <tille at debian.org>
 DM-Upload-Allowed: yes
 Build-Depends: debhelper (>= 7.0), cdbs, r-base-dev
-Standards-Version: 3.8.3
+Standards-Version: 3.9.1
 Homepage: http://cran.r-project.org/web/packages/TeachingDemos/
 Vcs-Browser: http://svn.debian.org/wsvn/debian-science/packages/R/r-cran-teachingdemos/trunk/?rev=0&sc=0
 Vcs-Svn: svn://svn.debian.org/svn/debian-science/packages/R/r-cran-teachingdemos/trunk/
@@ -13,7 +13,7 @@ Vcs-Svn: svn://svn.debian.org/svn/debian-science/packages/R/r-cran-teachingdemos
 Package: r-cran-teachingdemos
 Architecture: all
 Recommends: r-cran-misc3d, r-recommended, r-cran-mapproj
-Depends: ${shlibs:Depends}, r-base-core
+Depends: ${shlibs:Depends}, ${R:Depends}
 Description: GNU R Demonstrations for teaching and learning
  This package is a set of demonstration functions that can be used in a
  classroom to demonstrate statistical concepts, or on your own to better
diff --git a/debian/rules b/debian/rules
index b8a2f01..906c251 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,3 +4,7 @@
 # Copyright 2008 by Andreas Tille <tille at debian.org>
 
 include /usr/share/R/debian/r-cran.mk
+
+# Require a number equal or superior than the R version the package was built with.
+install/r-$(debRreposname)-$(cranName)::
+	echo "R:Depends=r-base-core (>= $(shell R --version | head -n1 | perl -ne 'print / +([0-9]\.[0-9]+\.[0-9])/')~)" >> debian/r-$(debRreposname)-$(cranName).substvars
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/r-cran-teachingdemos.git



More information about the debian-science-commits mailing list