r46936 - in /packages/R/r-cran-spam/trunk/debian: README.source README.test changelog compat control copyright docs get-orig-source rules source/ source/format tests/ tests/control tests/run-unit-test watch
tille at users.alioth.debian.org
tille at users.alioth.debian.org
Fri Oct 10 15:26:19 UTC 2014
Author: tille
Date: Fri Oct 10 15:26:19 2014
New Revision: 46936
URL: http://svn.debian.org/wsvn/debian-science/?sc=1&rev=46936
Log:
Upgrade spam packaging to latest standards
Added:
packages/R/r-cran-spam/trunk/debian/README.source
packages/R/r-cran-spam/trunk/debian/README.test
packages/R/r-cran-spam/trunk/debian/docs
packages/R/r-cran-spam/trunk/debian/source/
packages/R/r-cran-spam/trunk/debian/source/format
packages/R/r-cran-spam/trunk/debian/tests/
packages/R/r-cran-spam/trunk/debian/tests/control
packages/R/r-cran-spam/trunk/debian/tests/run-unit-test
Removed:
packages/R/r-cran-spam/trunk/debian/get-orig-source
Modified:
packages/R/r-cran-spam/trunk/debian/changelog
packages/R/r-cran-spam/trunk/debian/compat
packages/R/r-cran-spam/trunk/debian/control
packages/R/r-cran-spam/trunk/debian/copyright
packages/R/r-cran-spam/trunk/debian/rules
packages/R/r-cran-spam/trunk/debian/watch
Added: packages/R/r-cran-spam/trunk/debian/README.source
URL: http://svn.debian.org/wsvn/debian-science/packages/R/r-cran-spam/trunk/debian/README.source?rev=46936&op=file
==============================================================================
--- packages/R/r-cran-spam/trunk/debian/README.source (added)
+++ packages/R/r-cran-spam/trunk/debian/README.source Fri Oct 10 15:26:19 2014
@@ -0,0 +1,11 @@
+Explanation for binary files inside source package according to
+ http://lists.debian.org/debian-devel/2013/09/msg00332.html
+
+Files: data/weather.rda
+Documented in: man/weather.Rd
+ The data were obtained from Cliff Mass and Jeff Baars in the University
+ of Washington Department of Atmospheric Sciences.
+
+
+ -- Andreas Tille <tille at debian.org> Mon, 23 Jun 2014 09:24:05 +0200
+
Added: packages/R/r-cran-spam/trunk/debian/README.test
URL: http://svn.debian.org/wsvn/debian-science/packages/R/r-cran-spam/trunk/debian/README.test?rev=46936&op=file
==============================================================================
--- packages/R/r-cran-spam/trunk/debian/README.test (added)
+++ packages/R/r-cran-spam/trunk/debian/README.test Fri Oct 10 15:26:19 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.
Modified: packages/R/r-cran-spam/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/debian-science/packages/R/r-cran-spam/trunk/debian/changelog?rev=46936&op=diff
==============================================================================
--- packages/R/r-cran-spam/trunk/debian/changelog (original)
+++ packages/R/r-cran-spam/trunk/debian/changelog Fri Oct 10 15:26:19 2014
@@ -1,5 +1,5 @@
-r-cran-spam (0.15.4-1) UNRELEASED; urgency=low
+r-cran-spam (1.0-1-1) UNRELEASED; urgency=medium
- * Initial release (Closes: #).
+ * Initial release (Closes: #???).
- -- Andreas Tille <tille at debian.org> Tue, 21 Apr 2009 13:41:52 +0200
+ -- Andreas Tille <tille at debian.org> Fri, 10 Oct 2014 17:04:23 +0200
Modified: packages/R/r-cran-spam/trunk/debian/compat
URL: http://svn.debian.org/wsvn/debian-science/packages/R/r-cran-spam/trunk/debian/compat?rev=46936&op=diff
==============================================================================
--- packages/R/r-cran-spam/trunk/debian/compat (original)
+++ packages/R/r-cran-spam/trunk/debian/compat Fri Oct 10 15:26:19 2014
@@ -1 +1 @@
-7
+9
Modified: packages/R/r-cran-spam/trunk/debian/control
URL: http://svn.debian.org/wsvn/debian-science/packages/R/r-cran-spam/trunk/debian/control?rev=46936&op=diff
==============================================================================
--- packages/R/r-cran-spam/trunk/debian/control (original)
+++ packages/R/r-cran-spam/trunk/debian/control Fri Oct 10 15:26:19 2014
@@ -1,20 +1,25 @@
Source: r-cran-spam
-Section: non-free/science
+Section: gnu-r
Priority: optional
Maintainer: Debian Science Team <debian-science-maintainers at lists.alioth.debian.org>
Uploaders: Andreas Tille <tille at debian.org>
-DM-Upload-Allowed: yes
-Build-Depends: debhelper (>= 7.0), cdbs, r-base-dev
-Standards-Version: 3.8.1
+Build-Depends: debhelper (>= 9.0),
+ cdbs,
+ r-base-dev
+Standards-Version: 3.9.6
+Vcs-Browser: http://anonscm.debian.org/viewvc/debian-science/packages/R/r-cran-spam/trunk/
+Vcs-Svn: svn://anonscm.debian.org/debian-science/packages/R/r-cran-spam/trunk/
Homepage: http://cran.r-project.org/web/packages/spam/
-Vcs-Browser: http://svn.debian.org/wsvn/debian-science/packages/R/r-cran-spam/trunk/
-Vcs-Svn: svn://svn.debian.org/debian-science/packages/R/r-cran-spam/trunk/
Package: r-cran-spam
Architecture: any
-Depends: ${shlibs:Depends}, r-base-core, r-cran-mvtnorm, r-cran-survival
-Description: GNU R SPArse Matrix
- Set of function for sparse matrix algebra. Differences with SparseM/Matrix are:
- (1) onlyone sparse matrix format is supported (essentially) , (2) based on
- transparent and simple structure(s), (3) tailored for MCMC calculations within
- GMRF. (4) S3 and S4 like-"compatible" ... and it is fast.
+Depends: ${misc:Depends},
+ ${shlibs:Depends},
+ ${R:Depends}
+Description: GNU R functions for sparse matrix algebra
+ Set of functions for sparse matrix algebra. Differences with SparseM/Matrix
+ are:
+ 1. only (essentially) one sparse matrix format supported,
+ 2. based on transparent and simple structure(s),
+ 3. tailored for MCMC calculations within GMRF.
+ 4. S3 and S4 like-"compatible"
Modified: packages/R/r-cran-spam/trunk/debian/copyright
URL: http://svn.debian.org/wsvn/debian-science/packages/R/r-cran-spam/trunk/debian/copyright?rev=46936&op=diff
==============================================================================
--- packages/R/r-cran-spam/trunk/debian/copyright (original)
+++ packages/R/r-cran-spam/trunk/debian/copyright Fri Oct 10 15:26:19 2014
@@ -1,70 +1,18 @@
-Format-Specification: http://wiki.debian.org/Proposals/CopyrightFormat
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: spam
-Upstream-Maintainer: Reinhard Furrer <rfurrer at mines.edu>
-Upstream-Source: http://cran.r-project.org/web/packages/spam/
-X-Debianized-By: Andreas Tille <tille at debian.org>
-X-Packaged-Date: Tue, 21 Apr 2009 13:41:52 +0200
+Upstream-Contact: Reinhard Furrer <reinhard.furrer at math.uzh.ch>
+Source: http://cran.r-project.org/web/packages/spam/
+
+Files: *
+Copyright: 2012-2014 Reinhard Furrer <reinhard.furrer at math.uzh.ch>,
+ Florian Gerber
+License: LGPL-2
Files: debian/*
-Copyright: 2009 Andreas Tille <tille at debian.org>
-License: Same as spam itself
+Copyright: 2014 Andreas Tille <tille at debian.org>
+License: LGPL-2
-Files: *
-Copyright: (C) 2008, 2009 Reinhard Furrer
+License: LGPL-2
+ On Debian systems, the complete text of the GNU Library General Public
+ License can be found in `/usr/share/common-licenses/LGPL-2'.
-All R code and documentation in this package is licensed under the terms of the GPL license.
-
-The Fortran functions in spammodified.f were written by Reinhard Furrer.
-
-The Fortran functions in bckslvmodified.f cholmod.f are modifications of
-Fortran functions provided by the SparseM package.
-
-The code in cholesky.f is a modified version of code originally
-written by Esmond Ng and Barry Peyton. The modified version is
-distributed as part of PCx by Czyzyk, Mehrotra, Wagner, and Wright and
-is copywrite by the University of Chicago. The PCx distribution makes
-the following stipulation:
-
-
- This software discloses material protectable under copyright
- laws of the United States. Permission is hereby granted to use,
- reproduce, prepare derivative works, and redistribute to others
- at no charge, provided that the original PCx copyright notice,
- Government license and disclaimer are retained and any changes
- are clearly documented; however, any entity desiring permission
- to use this software within a commercial organization or to
- incorporate this software or a work based on the software into
- a product for sale must contact Paul Betten at the Industrial
- Technology Development Center, Argonne National Laboratory.
-
- PAUL BETTEN
- betten at anl.gov
- Industrial Technology Development Center,
- Argonne National Laboratory,
- Argonne, IL 60439
- (630) 252-4962
- FAX: (630) 252-5230
-
-All other Fortran functions are from
-
- http://www-users.cs.umn.edu/~saad/software/SPARSKIT/sparskit.html
-
-(GNU Lesser General Public License)
-
-
-
- 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.
-X-Comment: On Debian systems, the complete text of the GNU General Public
- License can be found in `/usr/share/common-licenses/GPL'.
Added: packages/R/r-cran-spam/trunk/debian/docs
URL: http://svn.debian.org/wsvn/debian-science/packages/R/r-cran-spam/trunk/debian/docs?rev=46936&op=file
==============================================================================
--- packages/R/r-cran-spam/trunk/debian/docs (added)
+++ packages/R/r-cran-spam/trunk/debian/docs Fri Oct 10 15:26:19 2014
@@ -0,0 +1,3 @@
+debian/README.test
+debian/tests/run-unit-test
+tests
Modified: packages/R/r-cran-spam/trunk/debian/rules
URL: http://svn.debian.org/wsvn/debian-science/packages/R/r-cran-spam/trunk/debian/rules?rev=46936&op=diff
==============================================================================
--- packages/R/r-cran-spam/trunk/debian/rules (original)
+++ packages/R/r-cran-spam/trunk/debian/rules Fri Oct 10 15:26:19 2014
@@ -1,9 +1,4 @@
#!/usr/bin/make -f
-# -*- makefile -*-
-# debian/rules file for the Debian/GNU Linux r-cran-spam package
-# Copyright 2009 by Andreas Tille <tille at debian.org>
+# -*- makefile -*-
include /usr/share/R/debian/r-cran.mk
-
-get-orig-source:
- . debian/get-orig-source
Added: packages/R/r-cran-spam/trunk/debian/source/format
URL: http://svn.debian.org/wsvn/debian-science/packages/R/r-cran-spam/trunk/debian/source/format?rev=46936&op=file
==============================================================================
--- packages/R/r-cran-spam/trunk/debian/source/format (added)
+++ packages/R/r-cran-spam/trunk/debian/source/format Fri Oct 10 15:26:19 2014
@@ -0,0 +1 @@
+3.0 (quilt)
Added: packages/R/r-cran-spam/trunk/debian/tests/control
URL: http://svn.debian.org/wsvn/debian-science/packages/R/r-cran-spam/trunk/debian/tests/control?rev=46936&op=file
==============================================================================
--- packages/R/r-cran-spam/trunk/debian/tests/control (added)
+++ packages/R/r-cran-spam/trunk/debian/tests/control Fri Oct 10 15:26:19 2014
@@ -0,0 +1,3 @@
+Tests: run-unit-test
+Depends: @
+Restrictions: allow-stderr
Added: packages/R/r-cran-spam/trunk/debian/tests/run-unit-test
URL: http://svn.debian.org/wsvn/debian-science/packages/R/r-cran-spam/trunk/debian/tests/run-unit-test?rev=46936&op=file
==============================================================================
--- packages/R/r-cran-spam/trunk/debian/tests/run-unit-test (added)
+++ packages/R/r-cran-spam/trunk/debian/tests/run-unit-test Fri Oct 10 15:26:19 2014
@@ -0,0 +1,24 @@
+#!/bin/sh -e
+
+oname=spam
+pkg=r-cran-`echo $oname | tr [A-Z] [a-z]`
+
+if [ "$ADTTMP" = "" ] ; then
+ ADTTMP=`mktemp -d /tmp/${pkg}-test.XXXXXX`
+fi
+cd $ADTTMP
+cp -a /usr/share/doc/${pkg}/tests/* $ADTTMP
+# gunzip *.gz
+export LC_ALL=C
+for test in *R
+do
+ R CMD BATCH ${test}
+ if [ ! $? ] ; then
+ echo "Test ${test} failed"
+ exit 1
+ else
+ echo "Test ${test} passed"
+ fi
+ rm -f ${test}out .RData
+done
+rm -f $ADTTMP/*
Modified: packages/R/r-cran-spam/trunk/debian/watch
URL: http://svn.debian.org/wsvn/debian-science/packages/R/r-cran-spam/trunk/debian/watch?rev=46936&op=diff
==============================================================================
--- packages/R/r-cran-spam/trunk/debian/watch (original)
+++ packages/R/r-cran-spam/trunk/debian/watch Fri Oct 10 15:26:19 2014
@@ -1,6 +1,2 @@
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/spam_([-\d.]*)\.tar\.gz
More information about the debian-science-commits
mailing list