[r-cran-maptools] 03/04: Add explicit dependency: r-cran-rgeos (see README.source)

Andreas Tille tille at debian.org
Sun Jan 15 19:15:19 UTC 2017


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

tille pushed a commit to branch master
in repository r-cran-maptools.

commit 1327582948c8979b29aad314eb5ce8435df7e5e5
Author: Andreas Tille <tille at debian.org>
Date:   Sun Jan 15 20:06:55 2017 +0100

    Add explicit dependency: r-cran-rgeos (see README.source)
---
 debian/README.source | 10 ++++++++++
 debian/changelog     |  1 +
 debian/control       |  5 ++++-
 3 files changed, 15 insertions(+), 1 deletion(-)

diff --git a/debian/README.source b/debian/README.source
index 5ea4182..53c7d25 100644
--- a/debian/README.source
+++ b/debian/README.source
@@ -1,3 +1,13 @@
+Note about the explicit Depends: r-cran-rgeos:
+
+> library(maptools)
+Checking rgeos availability: FALSE
+    Note: when rgeos is not available, polygon geometry 	computations in maptools depend on gpclib,
+    which has a restricted licence. It is disabled by default;
+    to enable gpclib, type gpclibPermit()
+
+
+
 Formerly the package contained some data sets which had either no
 licensing statement at all or a non-commercial purposes license.  These
 files are removed via Files-Excluded in debian/copyright to enable
diff --git a/debian/changelog b/debian/changelog
index a50b421..e7234fd 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,7 @@ r-cran-maptools (1:0.8-41+dfsg-1) UNRELEASED; urgency=medium
 
   * New upstream version
   * Move packaging to Git
+  * Add explicit dependency: r-cran-rgeos (see README.source)
 
  -- Andreas Tille <tille at debian.org>  Sun, 15 Jan 2017 19:55:05 +0100
 
diff --git a/debian/control b/debian/control
index fd524a0..908cb79 100644
--- a/debian/control
+++ b/debian/control
@@ -7,7 +7,8 @@ Build-Depends: debhelper (>= 10),
                dh-r,
                r-base-dev,
                r-cran-foreign,
-               r-cran-sp
+               r-cran-sp,
+               r-cran-rgeos
 Standards-Version: 3.9.8
 Vcs-Browser: https://anonscm.debian.org/git/debian-science/packages/r-cran-maptools.git
 Vcs-Git: https://anonscm.debian.org/git/debian-science/packages/r-cran-maptools.git
@@ -18,6 +19,8 @@ Architecture: any
 Depends: ${shlibs:Depends},
          ${misc:Depends},
          ${R:Depends}
+# loading maptools without rgeos generates a warning that does not look nice - so add it to Depends
+         r-cran-rgeos
 Recommends: ${R:Recommends}
 Suggests: ${R:Suggests}
 Description: GNU R Tools for reading and handling spatial objects

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



More information about the debian-science-commits mailing list