[med-svn] r18331 - in trunk/packages/R/r-bioc-hypergraph/trunk/debian: . tests
Andreas Tille
tille at moszumanska.debian.org
Fri Oct 17 14:55:39 UTC 2014
Author: tille
Date: 2014-10-17 14:55:38 +0000 (Fri, 17 Oct 2014)
New Revision: 18331
Added:
trunk/packages/R/r-bioc-hypergraph/trunk/debian/tests/
trunk/packages/R/r-bioc-hypergraph/trunk/debian/tests/control
trunk/packages/R/r-bioc-hypergraph/trunk/debian/tests/run-unit-test
Modified:
trunk/packages/R/r-bioc-hypergraph/trunk/debian/README.test
trunk/packages/R/r-bioc-hypergraph/trunk/debian/changelog
trunk/packages/R/r-bioc-hypergraph/trunk/debian/control
trunk/packages/R/r-bioc-hypergraph/trunk/debian/docs
Log:
New upstream version, add autopkgtest (which currently fails - upstream is contacted)
Modified: trunk/packages/R/r-bioc-hypergraph/trunk/debian/README.test
===================================================================
--- trunk/packages/R/r-bioc-hypergraph/trunk/debian/README.test 2014-10-17 12:27:04 UTC (rev 18330)
+++ trunk/packages/R/r-bioc-hypergraph/trunk/debian/README.test 2014-10-17 14:55:38 UTC (rev 18331)
@@ -1,5 +1,8 @@
Notes on how this package can be tested.
────────────────────────────────────────
-This package can be tested by loading it into R with the command
-‘library(hypergraph)’ in order to confirm its integrity.
+To run the unit tests provided by the package you can do
+
+ sh run-unit-test
+
+in this directory.
Modified: trunk/packages/R/r-bioc-hypergraph/trunk/debian/changelog
===================================================================
--- trunk/packages/R/r-bioc-hypergraph/trunk/debian/changelog 2014-10-17 12:27:04 UTC (rev 18330)
+++ trunk/packages/R/r-bioc-hypergraph/trunk/debian/changelog 2014-10-17 14:55:38 UTC (rev 18331)
@@ -1,3 +1,12 @@
+r-bioc-hypergraph (1.38.0-1) UNRELEASED; urgency=medium
+
+ * New upstream version
+ * cme fix dpkg-control
+ * Add autopkgtest
+ TODO: 1/13 test fails - contacted upstream
+
+ -- Andreas Tille <tille at debian.org> Fri, 17 Oct 2014 16:29:28 +0200
+
r-bioc-hypergraph (1.36.0-1) unstable; urgency=low
* New upstream version
Modified: trunk/packages/R/r-bioc-hypergraph/trunk/debian/control
===================================================================
--- trunk/packages/R/r-bioc-hypergraph/trunk/debian/control 2014-10-17 12:27:04 UTC (rev 18330)
+++ trunk/packages/R/r-bioc-hypergraph/trunk/debian/control 2014-10-17 14:55:38 UTC (rev 18331)
@@ -6,8 +6,8 @@
Build-Depends: debhelper (>= 9),
cdbs,
r-base-dev,
- r-bioc-graph
-Standards-Version: 3.9.5
+ r-bioc-graph (>= 1.44.0)
+Standards-Version: 3.9.6
Vcs-Browser: http://anonscm.debian.org/viewvc/debian-med/trunk/packages/R/r-bioc-hypergraph/trunk/
Vcs-Svn: svn://anonscm.debian.org/debian-med/trunk/packages/R/r-bioc-hypergraph/trunk/
Homepage: http://bioconductor.org/packages/release/bioc/html/hypergraph.html
@@ -16,7 +16,7 @@
Architecture: all
Depends: ${R:Depends},
${misc:Depends},
- r-bioc-graph
+ r-bioc-graph (>= 1.44.0)
Description: BioConductor hypergraph data structures
This package BioConductor implements some simple capabilities for
representing and manipulating hypergraphs.
Modified: trunk/packages/R/r-bioc-hypergraph/trunk/debian/docs
===================================================================
--- trunk/packages/R/r-bioc-hypergraph/trunk/debian/docs 2014-10-17 12:27:04 UTC (rev 18330)
+++ trunk/packages/R/r-bioc-hypergraph/trunk/debian/docs 2014-10-17 14:55:38 UTC (rev 18331)
@@ -1 +1,2 @@
debian/README.test
+debian/tests/run-unit-test
Added: trunk/packages/R/r-bioc-hypergraph/trunk/debian/tests/control
===================================================================
--- trunk/packages/R/r-bioc-hypergraph/trunk/debian/tests/control (rev 0)
+++ trunk/packages/R/r-bioc-hypergraph/trunk/debian/tests/control 2014-10-17 14:55:38 UTC (rev 18331)
@@ -0,0 +1,3 @@
+Tests: run-unit-test
+Depends: @, r-cran-runit
+Restrictions: allow-stderr
Added: trunk/packages/R/r-bioc-hypergraph/trunk/debian/tests/run-unit-test
===================================================================
--- trunk/packages/R/r-bioc-hypergraph/trunk/debian/tests/run-unit-test (rev 0)
+++ trunk/packages/R/r-bioc-hypergraph/trunk/debian/tests/run-unit-test 2014-10-17 14:55:38 UTC (rev 18331)
@@ -0,0 +1,12 @@
+#!/bin/sh -e
+
+oname=hypergraph
+pkg=r-bioc-`echo $oname | tr [A-Z] [a-z]`
+if [ "$ADTTMP" = "" ] ; then
+ ADTTMP=`mktemp -d /tmp/${pkg}-test.XXXXXX`
+fi
+cd $ADTTMP
+cp -a /usr/lib/R/site-library/${oname}/unitTests/* $ADTTMP
+find . -name "*.gz" -exec gunzip \{\} \;
+LC_ALL=C R --slave < runalltests.R
+# rm -f $ADTTMP/*
More information about the debian-med-commit
mailing list