r46733 - in /packages/R/r-cran-maxlik: ./ trunk/ trunk/debian/ trunk/debian/source/ trunk/debian/tests/
tille at users.alioth.debian.org
tille at users.alioth.debian.org
Mon Jun 23 15:11:51 UTC 2014
Author: tille
Date: Mon Jun 23 15:11:51 2014
New Revision: 46733
URL: http://svn.debian.org/wsvn/debian-science/?sc=1&rev=46733
Log:
Add dependency for r-cran-surveillance test suite
Added:
packages/R/r-cran-maxlik/
packages/R/r-cran-maxlik/trunk/
packages/R/r-cran-maxlik/trunk/debian/
packages/R/r-cran-maxlik/trunk/debian/README.test
packages/R/r-cran-maxlik/trunk/debian/changelog
packages/R/r-cran-maxlik/trunk/debian/compat
packages/R/r-cran-maxlik/trunk/debian/control
packages/R/r-cran-maxlik/trunk/debian/copyright
packages/R/r-cran-maxlik/trunk/debian/docs
packages/R/r-cran-maxlik/trunk/debian/rules (with props)
packages/R/r-cran-maxlik/trunk/debian/source/
packages/R/r-cran-maxlik/trunk/debian/source/format
packages/R/r-cran-maxlik/trunk/debian/tests/
packages/R/r-cran-maxlik/trunk/debian/tests/control
packages/R/r-cran-maxlik/trunk/debian/tests/run-unit-test
packages/R/r-cran-maxlik/trunk/debian/watch
Added: packages/R/r-cran-maxlik/trunk/debian/README.test
URL: http://svn.debian.org/wsvn/debian-science/packages/R/r-cran-maxlik/trunk/debian/README.test?rev=46733&op=file
==============================================================================
--- packages/R/r-cran-maxlik/trunk/debian/README.test (added)
+++ packages/R/r-cran-maxlik/trunk/debian/README.test Mon Jun 23 15:11:51 2014
@@ -0,0 +1,8 @@
+Notes on how this package can be tested.
+ââââââââââââââââââââââââââââââââââââââââ
+
+To run the unit tests provided by the package you can do
+
+ sh run-unit-test
+
+in this directory.
Added: packages/R/r-cran-maxlik/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/debian-science/packages/R/r-cran-maxlik/trunk/debian/changelog?rev=46733&op=file
==============================================================================
--- packages/R/r-cran-maxlik/trunk/debian/changelog (added)
+++ packages/R/r-cran-maxlik/trunk/debian/changelog Mon Jun 23 15:11:51 2014
@@ -0,0 +1,7 @@
+r-cran-maxlik (1.2-0-1) UNRELEASED; urgency=low
+
+ * Initial release (Closes: #???).
+ TODO: Needs
+ http://cran.r-project.org/web/packages/miscTools/
+
+ -- Andreas Tille <tille at debian.org> Mon, 23 Jun 2014 09:24:05 +0200
Added: packages/R/r-cran-maxlik/trunk/debian/compat
URL: http://svn.debian.org/wsvn/debian-science/packages/R/r-cran-maxlik/trunk/debian/compat?rev=46733&op=file
==============================================================================
--- packages/R/r-cran-maxlik/trunk/debian/compat (added)
+++ packages/R/r-cran-maxlik/trunk/debian/compat Mon Jun 23 15:11:51 2014
@@ -0,0 +1 @@
+9
Added: packages/R/r-cran-maxlik/trunk/debian/control
URL: http://svn.debian.org/wsvn/debian-science/packages/R/r-cran-maxlik/trunk/debian/control?rev=46733&op=file
==============================================================================
--- packages/R/r-cran-maxlik/trunk/debian/control (added)
+++ packages/R/r-cran-maxlik/trunk/debian/control Mon Jun 23 15:11:51 2014
@@ -0,0 +1,22 @@
+Source: r-cran-maxlik
+Section: gnu-r
+Priority: optional
+Testsuite: autopkgtest
+Maintainer: Debian Science Team <debian-science-maintainers at lists.alioth.debian.org>
+Uploaders: Andreas Tille <tille at debian.org>
+Build-Depends: debhelper (>= 9.0),
+ cdbs,
+ r-base-dev,
+ r-cran-sandwich
+Standards-Version: 3.9.5
+Vcs-Browser: http://anonscm.debian.org/viewvc/debian-science/packages/R/trunk/packages/r-cran-maxlik/trunk/
+Vcs-Svn: svn://anonscm.debian.org/debian-science/packages/R/trunk/packages/r-cran-maxlik/trunk/
+Homepage: http://cran.r-project.org/web/packages/maxLik/
+
+Package: r-cran-maxlik
+Architecture: all
+Depends: ${misc:Depends},
+ ${R:Depends},
+ r-cran-sandwich
+Description: GNU R maximum likelihood estimation
+ This GNU R package provides tools for maximum likelihood estimation.
Added: packages/R/r-cran-maxlik/trunk/debian/copyright
URL: http://svn.debian.org/wsvn/debian-science/packages/R/r-cran-maxlik/trunk/debian/copyright?rev=46733&op=file
==============================================================================
--- packages/R/r-cran-maxlik/trunk/debian/copyright (added)
+++ packages/R/r-cran-maxlik/trunk/debian/copyright Mon Jun 23 15:11:51 2014
@@ -0,0 +1,31 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: maxLik
+Upstream-Contact: Arne Henningsen <arne.henningsen at gmail.com>
+Source: http://cran.r-project.org/web/packages/maxLik/
+
+Files: *
+Copyright: 2008-2013 Ott Toomet, Arne Henningsen,
+ with contributions from Spencer Graves and Yves Croissant
+License: GPL-2+
+
+Files: debian/*
+Copyright: 2014 Andreas Tille <tille at debian.org>
+License: GPL-2+
+
+License: GPL-2+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+ .
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+ .
+ You should have received a copy of the GNU General Public License along
+ with this program; if not, write to the Free Software Foundation, Inc.,
+ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+ .
+ On Debian systems, the complete text of the GNU General Public
+ License can be found in `/usr/share/common-licenses/GPL-2'.
Added: packages/R/r-cran-maxlik/trunk/debian/docs
URL: http://svn.debian.org/wsvn/debian-science/packages/R/r-cran-maxlik/trunk/debian/docs?rev=46733&op=file
==============================================================================
--- packages/R/r-cran-maxlik/trunk/debian/docs (added)
+++ packages/R/r-cran-maxlik/trunk/debian/docs Mon Jun 23 15:11:51 2014
@@ -0,0 +1,3 @@
+debian/README.test
+debian/tests/run-unit-test
+tests
Added: packages/R/r-cran-maxlik/trunk/debian/rules
URL: http://svn.debian.org/wsvn/debian-science/packages/R/r-cran-maxlik/trunk/debian/rules?rev=46733&op=file
==============================================================================
--- packages/R/r-cran-maxlik/trunk/debian/rules (added)
+++ packages/R/r-cran-maxlik/trunk/debian/rules Mon Jun 23 15:11:51 2014
@@ -0,0 +1,4 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+
+include /usr/share/R/debian/r-cran.mk
Propchange: packages/R/r-cran-maxlik/trunk/debian/rules
------------------------------------------------------------------------------
svn:executable = *
Added: packages/R/r-cran-maxlik/trunk/debian/source/format
URL: http://svn.debian.org/wsvn/debian-science/packages/R/r-cran-maxlik/trunk/debian/source/format?rev=46733&op=file
==============================================================================
--- packages/R/r-cran-maxlik/trunk/debian/source/format (added)
+++ packages/R/r-cran-maxlik/trunk/debian/source/format Mon Jun 23 15:11:51 2014
@@ -0,0 +1 @@
+3.0 (quilt)
Added: packages/R/r-cran-maxlik/trunk/debian/tests/control
URL: http://svn.debian.org/wsvn/debian-science/packages/R/r-cran-maxlik/trunk/debian/tests/control?rev=46733&op=file
==============================================================================
--- packages/R/r-cran-maxlik/trunk/debian/tests/control (added)
+++ packages/R/r-cran-maxlik/trunk/debian/tests/control Mon Jun 23 15:11:51 2014
@@ -0,0 +1,3 @@
+Tests: run-unit-test
+Depends: @, r-cran-runit
+Restrictions: allow-stderr
Added: packages/R/r-cran-maxlik/trunk/debian/tests/run-unit-test
URL: http://svn.debian.org/wsvn/debian-science/packages/R/r-cran-maxlik/trunk/debian/tests/run-unit-test?rev=46733&op=file
==============================================================================
--- packages/R/r-cran-maxlik/trunk/debian/tests/run-unit-test (added)
+++ packages/R/r-cran-maxlik/trunk/debian/tests/run-unit-test Mon Jun 23 15:11:51 2014
@@ -0,0 +1,42 @@
+#!/bin/sh -e
+
+pkg=r-cran-maxlik
+
+# The saved result files do contain some differences in metadata and we also
+# need to ignore version differences of R
+filter() {
+ grep -v -e '^R version' \
+ -e '^Copyright (C)' \
+ -e '^R : Copyright 20' \
+ -e '^Version 2.0' \
+ -e '^Platform:' \
+ -e '^ISBN 3-900051-07-0' \
+ -e '^\[1\] "L*C' \
+ -e '^During startup - Warning messages:' \
+ -e '^[0-9]: Setting LC_' \
+ -e "'help.start()' for an* HTML browser interface to help." \
+ $1 | \
+ sed '/^> *proc\.time()$/,$d'
+}
+
+if [ "$ADTTMP" = "" ] ; then
+ ADTTMP=`mktemp -d /tmp/${pkg}-test.XXXXXX`
+fi
+cd $ADTTMP
+cp /usr/share/doc/${pkg}/tests/* $ADTTMP
+gunzip *.gz
+for htest in `ls *.R | sed 's/\.R$//'` ; do
+ LC_ALL=C R --no-save < ${htest}.R 2>&1 | tee > ${htest}.Rout
+ filter ${htest}.Rout.save > ${htest}.Rout.save_
+ filter ${htest}.Rout > ${htest}.Rout_
+ diff -u ${htest}.Rout.save_ ${htest}.Rout_
+ if [ ! $? ] ; then
+ echo "Test ${htest} failed"
+ exit 1
+ else
+ echo "Test ${htest} passed"
+ fi
+done
+rm -f $ADTTMP/*
+
+exit 0
Added: packages/R/r-cran-maxlik/trunk/debian/watch
URL: http://svn.debian.org/wsvn/debian-science/packages/R/r-cran-maxlik/trunk/debian/watch?rev=46733&op=file
==============================================================================
--- packages/R/r-cran-maxlik/trunk/debian/watch (added)
+++ packages/R/r-cran-maxlik/trunk/debian/watch Mon Jun 23 15:11:51 2014
@@ -0,0 +1,2 @@
+version=3
+http://cran.r-project.org/src/contrib/maxLik_([-\d.]*)\.tar\.gz
More information about the debian-science-commits
mailing list