[dh-r] 15/43: Allow dots in R package names

Gordon Ball chronitis-guest at moszumanska.debian.org
Thu Sep 15 13:45:33 UTC 2016


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

chronitis-guest pushed a commit to branch master
in repository dh-r.

commit 137711705fb1a2900f2c71f343579d21369eeb75
Author: Gordon Ball <gordon at chronitis.net>
Date:   Mon Sep 5 21:22:43 2016 +0200

    Allow dots in R package names
---
 dh/R.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dh/R.pm b/dh/R.pm
index ddcb946..08d449f 100644
--- a/dh/R.pm
+++ b/dh/R.pm
@@ -41,7 +41,7 @@ sub parse_depends {
     foreach my $dep (@text) {
         chomp $dep;
         # rely on the R version format being equivalent
-        $dep =~ /^(\w+)\s*(\([^()]*\))?$/;
+        $dep =~ /^([\w.]+)\s*(\([^()]*\))?$/;
         my $pkg = lc $1;
         my $vers = $2;
         if ($pkg eq "r") {

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



More information about the debian-science-commits mailing list