[med-svn] r17661 - in trunk/packages/R/r-cran-boolnet/trunk/debian: . tests
Andreas Tille
tille at moszumanska.debian.org
Fri Aug 8 14:46:38 UTC 2014
Author: tille
Date: 2014-08-08 14:46:37 +0000 (Fri, 08 Aug 2014)
New Revision: 17661
Added:
trunk/packages/R/r-cran-boolnet/trunk/debian/README.test
trunk/packages/R/r-cran-boolnet/trunk/debian/docs
trunk/packages/R/r-cran-boolnet/trunk/debian/examples
trunk/packages/R/r-cran-boolnet/trunk/debian/tests/
trunk/packages/R/r-cran-boolnet/trunk/debian/tests/control_unused
trunk/packages/R/r-cran-boolnet/trunk/debian/tests/run-unit-test
Modified:
trunk/packages/R/r-cran-boolnet/trunk/debian/changelog
trunk/packages/R/r-cran-boolnet/trunk/debian/control
trunk/packages/R/r-cran-boolnet/trunk/debian/rules
Log:
New upstream version, explain how package could be tested if r-cran-igraph would be available
Added: trunk/packages/R/r-cran-boolnet/trunk/debian/README.test
===================================================================
--- trunk/packages/R/r-cran-boolnet/trunk/debian/README.test (rev 0)
+++ trunk/packages/R/r-cran-boolnet/trunk/debian/README.test 2014-08-08 14:46:37 UTC (rev 17661)
@@ -0,0 +1,13 @@
+Notes on how this package can be tested.
+────────────────────────────────────────
+
+To run the unit tests provided by the package you first need
+to install
+
+ http://cran.r-project.org/web/packages/igraph/
+
+Once you have installed igraph you can run
+
+ debian/tests/run-unit-test
+
+from the packaging source.
Modified: trunk/packages/R/r-cran-boolnet/trunk/debian/changelog
===================================================================
--- trunk/packages/R/r-cran-boolnet/trunk/debian/changelog 2014-08-08 14:14:02 UTC (rev 17660)
+++ trunk/packages/R/r-cran-boolnet/trunk/debian/changelog 2014-08-08 14:46:37 UTC (rev 17661)
@@ -1,3 +1,11 @@
+r-cran-boolnet (2.0-1) unstable; urgency=medium
+
+ * New upstream version
+ * Drop libigraph0 from Recommends since it is not linked
+ (we'd rather need r-cran-igraph package which does not exist yet)
+
+ -- Andreas Tille <tille at debian.org> Fri, 08 Aug 2014 15:40:05 +0200
+
r-cran-boolnet (1.63-1) unstable; urgency=medium
* New upstream version
Modified: trunk/packages/R/r-cran-boolnet/trunk/debian/control
===================================================================
--- trunk/packages/R/r-cran-boolnet/trunk/debian/control 2014-08-08 14:14:02 UTC (rev 17660)
+++ trunk/packages/R/r-cran-boolnet/trunk/debian/control 2014-08-08 14:46:37 UTC (rev 17661)
@@ -17,8 +17,7 @@
Depends: ${shlibs:Depends},
${misc:Depends},
${R:Depends}
-Recommends: libigraph0,
- r-cran-xml
+Recommends: r-cran-xml
Description: tools for assembling, analyzing and visualizing Boolean networks
BoolNet is an R package that provides tools for assembling, analyzing and
visualizing synchronous and asynchronous Boolean networks as well as
Added: trunk/packages/R/r-cran-boolnet/trunk/debian/docs
===================================================================
--- trunk/packages/R/r-cran-boolnet/trunk/debian/docs (rev 0)
+++ trunk/packages/R/r-cran-boolnet/trunk/debian/docs 2014-08-08 14:46:37 UTC (rev 17661)
@@ -0,0 +1 @@
+debian/README.test
Added: trunk/packages/R/r-cran-boolnet/trunk/debian/examples
===================================================================
--- trunk/packages/R/r-cran-boolnet/trunk/debian/examples (rev 0)
+++ trunk/packages/R/r-cran-boolnet/trunk/debian/examples 2014-08-08 14:46:37 UTC (rev 17661)
@@ -0,0 +1 @@
+vignettes
Modified: trunk/packages/R/r-cran-boolnet/trunk/debian/rules
===================================================================
--- trunk/packages/R/r-cran-boolnet/trunk/debian/rules 2014-08-08 14:14:02 UTC (rev 17660)
+++ trunk/packages/R/r-cran-boolnet/trunk/debian/rules 2014-08-08 14:46:37 UTC (rev 17661)
@@ -1,13 +1,6 @@
#!/usr/bin/make -f
-export DEB_BUILD_MAINT_OPTIONS = hardening=+all
-DPKG_EXPORT_BUILDFLAGS = 1
-include /usr/share/dpkg/buildflags.mk
-
include /usr/share/R/debian/r-cran.mk
-get-orig-source:
- uscan --force-download --verbose
-
install/$(package)::
find debian/$(package)/ -type f -exec chmod 644 {} +
Added: trunk/packages/R/r-cran-boolnet/trunk/debian/tests/control_unused
===================================================================
--- trunk/packages/R/r-cran-boolnet/trunk/debian/tests/control_unused (rev 0)
+++ trunk/packages/R/r-cran-boolnet/trunk/debian/tests/control_unused 2014-08-08 14:46:37 UTC (rev 17661)
@@ -0,0 +1,4 @@
+Tests: run-unit-test
+# package r-cran-igraph is not yet available - so deactivate this test for the moment
+Depends: @, r-cran-xml, r-cran-igraph
+Restrictions: allow-stderr
Added: trunk/packages/R/r-cran-boolnet/trunk/debian/tests/run-unit-test
===================================================================
--- trunk/packages/R/r-cran-boolnet/trunk/debian/tests/run-unit-test (rev 0)
+++ trunk/packages/R/r-cran-boolnet/trunk/debian/tests/run-unit-test 2014-08-08 14:46:37 UTC (rev 17661)
@@ -0,0 +1,18 @@
+#!/bin/sh -e
+oname=BoolNet
+pkg=r-cran-`echo $oname | tr [A-Z] [a-z]`
+
+if [ "$ADTTMP" = "" ] ; then
+ ADTTMP=`mktemp -d /tmp/${pkg}-test.XXXXXX`
+fi
+cd $ADTTMP
+cp /usr/share/doc/$pkg/examples/vignettes/* $ADTTMP
+gunzip *.gz
+for rnw in `ls *.[rRS]nw` ; do
+rfile=`echo $rnw | sed 's/\.[rRS]nw/.R/'`
+R --no-save <<EOT
+ Stangle("$rnw")
+ source("$rfile", echo=TRUE)
+EOT
+done
+# rm -rf *
More information about the debian-med-commit
mailing list