[r-cran-spdep] 01/26: Add preliminary packaging stuff for R CRAN spdep

Sébastien Villemot sebastien at debian.org
Sun Nov 19 15:23:26 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-spdep.

commit 394ad0d052ea6a287e8230513798bbf5ff7605de
Author: Andreas Tille <tille at debian.org>
Date:   Tue Apr 21 12:12:52 2009 +0000

    Add preliminary packaging stuff for R CRAN spdep
---
 debian/changelog       |  5 +++++
 debian/compat          |  1 +
 debian/control         | 28 ++++++++++++++++++++++++++++
 debian/copyright       | 28 ++++++++++++++++++++++++++++
 debian/get-orig-source |  7 +++++++
 debian/rules           |  9 +++++++++
 debian/watch           |  6 ++++++
 7 files changed, 84 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..35ff24a
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+r-cran-spdep (0.4.34-1) UNRELEASED; urgency=low
+
+  * Initial release (Closes: #).
+
+ -- Andreas Tille <tille at debian.org>  Tue, 21 Apr 2009 13:41:52 +0200
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..7aa1417
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,28 @@
+Source: r-cran-spdep
+Section: science
+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, r-cran-tripack, r-cran-sp
+Standards-Version: 3.8.1
+Homepage: http://cran.r-project.org/web/packages/spdep/
+Vcs-Browser: http://svn.debian.org/wsvn/debian-science/packages/R/r-cran-spdep/trunk/?rev=0&sc=0
+Vcs-Svn: svn://svn.debian.org/svn/debian-science/packages/R/r-cran-spdep/trunk/
+
+Package: r-cran-spdep
+Architecture: any
+Depends: ${shlibs:Depends}, r-base-core, r-cran-mvtnorm, r-cran-survival
+Description: GNU R Spatial dependence: weighting schemes, statistics and models
+ A collection of functions to create spatial weights matrix objects from polygon
+ contiguities, from point patterns by distance and tesselations, for summarising
+ these objects, and for permitting their use in spatial data analysis, including
+ regional aggregation by minimum spanning tree; a collection of tests for spatial
+ autocorrelation, including global Moran's I, APLE, Geary's C, Hubert/Mantel general
+ cross product statistic, Empirical Bayes estimates and Assunção/Reis Index,
+ Getis/Ord G and multicoloured join count statistics, local Moran's I and Getis/Ord G,
+ saddlepoint approximations and exact tests for global and local Moran's I; and
+ functions for estimating spatial simultaneous autoregressive (SAR) lag and error
+ models, weighted and unweighted SAR and CAR spatial regression models,
+ semi-parametric and Moran eigenvector spatial filtering, GM SAR error models,
+ and generalized spatial two stage least squares models.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..64ea0fb
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,28 @@
+Format-Specification: http://wiki.debian.org/Proposals/CopyrightFormat
+Upstream-Name: spdep
+Upstream-Maintainer: Roger Bivand <Roger.Bivand at nhh.no>
+Upstream-Source: http://cran.r-project.org/web/packages/spdep/
+X-Debianized-By: Andreas Tille <tille at debian.org>
+X-Packaged-Date: Tue, 21 Apr 2009 13:41:52 +0200
+
+Files: debian/*
+Copyright: 2009 Andreas Tille <tille at debian.org>
+License: Same as spdep itself
+
+Files: *
+Copyright: (C) 2008, 2009 Roger Bivand
+ 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..96ee179
--- /dev/null
+++ b/debian/get-orig-source
@@ -0,0 +1,7 @@
+#!/bin/sh
+PKG=`dpkg-parsechangelog | awk '/^Source/ { print $2 }'`
+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 ../${PKG}_\2.orig.tar.gz?"`
+$RENAME
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..caba265
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,9 @@
+#!/usr/bin/make -f
+# 							-*- makefile -*-
+# debian/rules file for the Debian/GNU Linux r-cran-maptools 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..facfb38
--- /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/spdep_([-\d.]*)\.tar\.gz

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



More information about the debian-science-commits mailing list