[dh-r] 01/01: dh-make-R: d/watch: Switch to HTTPS for the Bioconductor link

Dylan Aïssi bob.dybian-guest at moszumanska.debian.org
Mon Oct 31 22:08:21 UTC 2016


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

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

commit b227eb1afabf2fc97b4d9187d3f845fe29592a55
Author: Dylan Aïssi <bob.dybian at gmail.com>
Date:   Mon Oct 31 23:06:57 2016 +0100

    dh-make-R: d/watch: Switch to HTTPS for the Bioconductor link
---
 debian/changelog  | 3 ++-
 scripts/dh-make-R | 2 +-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index c6bb646..f365b72 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,9 +1,10 @@
-dh-r (20161030) UNRELEASED; urgency=medium
+dh-r (20161031) UNRELEASED; urgency=medium
 
   * Team upload.
   * dh-make-R:
     -d/control: Switch to the canonical URL of CRAN and Bioconductor
     -d/copyright: Add the Upstream-Contact and Source fields
+    -d/watch: Switch to HTTPS for the Bioconductor link
 
  -- Dylan Aïssi <bob.dybian at gmail.com>  Sun, 30 Oct 2016 22:37:22 +0100
 
diff --git a/scripts/dh-make-R b/scripts/dh-make-R
index 0daeb1f..dbd0419 100755
--- a/scripts/dh-make-R
+++ b/scripts/dh-make-R
@@ -155,7 +155,7 @@ my $dwatch = "";
 if ($repo eq "CRAN") {
     $dwatch = "version=4\nhttps://cran.r-project.org/src/contrib/" . $desc->{Package} . '_([-\d.]*)\.tar\.gz';
 } elsif ($repo eq "BIOC") {
-    $dwatch = "version=4\n" . 'opts=downloadurlmangle=s?^(.*)\.\.?http:$1packages/release/bioc? \\' . "\nhttp://bioconductor.org/packages/release/bioc/html/$desc->{Package}.html .*/$desc->{Package}_(.*).tar.gz";
+    $dwatch = "version=4\n" . 'opts=downloadurlmangle=s?^(.*)\.\.?https:$1packages/release/bioc? \\' . "\nhttps://bioconductor.org/packages/release/bioc/html/$desc->{Package}.html .*/$desc->{Package}_(.*).tar.gz";
 }
 
 maybe_write("debian/watch", $dwatch);

-- 
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