[r-cran-sp] 01/42: Inject next precondition for r-survaillance

Sébastien Villemot sebastien at debian.org
Thu Nov 16 21:47:54 UTC 2017


This is an automated email from the git hooks/post-receive script.

sebastien pushed a commit to branch master
in repository r-cran-sp.

commit bc882fbed1fcc6597c6c8bc3113857993ac384c7
Author: Andreas Tille <tille at debian.org>
Date:   Tue Jan 20 20:03:56 2009 +0000

    Inject next precondition for r-survaillance
---
 debian/README.source   | 19 +++++++++++++++++++
 debian/changelog       |  5 +++++
 debian/compat          |  1 +
 debian/control         | 21 +++++++++++++++++++++
 debian/copyright       | 28 ++++++++++++++++++++++++++++
 debian/get-orig-source |  8 ++++++++
 debian/rules           |  9 +++++++++
 debian/watch           |  6 ++++++
 8 files changed, 97 insertions(+)

diff --git a/debian/README.source b/debian/README.source
new file mode 100644
index 0000000..5f12004
--- /dev/null
+++ b/debian/README.source
@@ -0,0 +1,19 @@
+sp for Debian
+--------------
+
+I tried to follow the RFC for R packages at
+
+   https://stat.ethz.ch/pipermail/r-devel/2003-December/028424.html
+
+to keep the source of the Debian package the same as the
+upstream R package.  In this case exist a colision with the
+sp package (James Clark's SGML parsing tools) and thus I
+used the alternative.
+
+Use
+
+   make -f debian/rules get-orig-source
+
+to obtain the source tarball.
+
+ -- Andreas Tille <tille at debian.org>  Fri, 16 Jan 2009 20:43:13 +0100
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..9d8425c
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+r-cran-sp (0.9.29-1) unstable; urgency=low
+
+  * Initial release (Closes: #512431).
+
+ -- Andreas Tille <tille at debian.org>  Fri, 16 Jan 2009 20:43:13 +0100
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..7f8f011
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+7
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..242c2c5
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,21 @@
+Source: r-cran-sp
+Section: science
+Priority: optional
+Maintainer: Debian-Med Packaging Team <debian-med-packaging 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.0
+Homepage: http://r-spatial.sourceforge.net/
+Vcs-Browser: http://svn.debian.org/wsvn/debian-med/trunk/packages/R/r-cran-sp/trunk/?rev=0&sc=0
+Vcs-Svn: svn://svn.debian.org/svn/debian-med/trunk/packages/R/r-cran-sp/trunk/
+
+Package: r-cran-sp
+Architecture: any
+Depends: ${shlibs:Depends}, r-base-core
+Description: GNU R classes and methods for spatial data
+ A package that provides classes and methods for spatial data. The classes
+ document where the spatial location information resides, for 2D or 3D data.
+ Utility functions are provided, e.g. for plotting data as maps, spatial
+ selection, as well as methods for retrieving coordinates, for subsetting,
+ print, summary, etc. 
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..05e7dfd
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,28 @@
+Format-Specification: http://wiki.debian.org/Proposals/CopyrightFormat
+Upstream-Name: spc
+Upstream-Maintainer: Edzer J. Pebesma <edzer.pebesma at uni-muenster.de>
+Upstream-Source: http://cran.r-project.org/src/contrib/
+X-Debianized-By: Andreas Tille <tille at debian.org>
+X-Packaged-Date: Tue, 13 Jan 2009 11:48:08 +0100
+
+Files: debian/*
+Copyright: 2009 Andreas Tille <tille at debian.org>
+License: Same as spc itself
+
+Files: *
+Copyright: (C) 2008 Edzer J. Pebesma, Roger Bivand and others
+ 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'.
diff --git a/debian/get-orig-source b/debian/get-orig-source
new file mode 100644
index 0000000..554ca9f
--- /dev/null
+++ b/debian/get-orig-source
@@ -0,0 +1,8 @@
+#!/bin/sh
+PKG=sp
+PREFIX='r-cran-'
+RENAME=`uscan --verbose --force-download | \
+   grep "Newest version on remote site is .* local version is .*" | \
+   head -n 1 | \
+   sed "s?Newest .* \([-0-9.]\+\),.* \([0-9.]\+\)?mv ../${PKG}_\1.orig.tar.gz ../${PREFIX}${PKG}_\2.orig.tar.gz?"`
+$RENAME
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..d958054
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,9 @@
+#!/usr/bin/make -f
+# 							-*- makefile -*-
+# debian/rules file for the Debian/GNU Linux r-cran-sp package
+# Copyright 2009 by Andreas Tille <tille at debian.org>
+
+include /usr/share/R/debian/r-cran.mk
+
+get-orig-source:
+	. debian/get-orig-source
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..5ea0ae5
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,6 @@
+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/sp_([-\d.]*)\.tar\.gz

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



More information about the debian-science-commits mailing list