pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/pkgtools/url2pkg Use better HOMEPAGEs for github. Bump...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/232910628374
branches:  trunk
changeset: 347869:232910628374
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Wed Jun 01 12:45:59 2016 +0000

description:
Use better HOMEPAGEs for github. Bump version.

diffstat:

 pkgtools/url2pkg/Makefile         |  4 ++--
 pkgtools/url2pkg/files/url2pkg.pl |  6 +++---
 2 files changed, 5 insertions(+), 5 deletions(-)

diffs (40 lines):

diff -r b998a04054a4 -r 232910628374 pkgtools/url2pkg/Makefile
--- a/pkgtools/url2pkg/Makefile Wed Jun 01 12:40:06 2016 +0000
+++ b/pkgtools/url2pkg/Makefile Wed Jun 01 12:45:59 2016 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.80 2015/07/15 19:01:44 wiz Exp $
+# $NetBSD: Makefile,v 1.81 2016/06/01 12:45:59 wiz Exp $
 
-PKGNAME=       url2pkg-2.24
+PKGNAME=       url2pkg-2.25
 CATEGORIES=    pkgtools
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
diff -r b998a04054a4 -r 232910628374 pkgtools/url2pkg/files/url2pkg.pl
--- a/pkgtools/url2pkg/files/url2pkg.pl Wed Jun 01 12:40:06 2016 +0000
+++ b/pkgtools/url2pkg/files/url2pkg.pl Wed Jun 01 12:45:59 2016 +0000
@@ -1,5 +1,5 @@
 #! @PERL@
-# $NetBSD: url2pkg.pl,v 1.30 2015/07/15 19:01:44 wiz Exp $
+# $NetBSD: url2pkg.pl,v 1.31 2016/06/01 12:45:59 wiz Exp $
 #
 
 # Copyright (c) 2010 The NetBSD Foundation, Inc.
@@ -307,7 +307,7 @@
                if ($url =~ qr"^https?://github\.com/") {
                        if ($url =~ qr"^https?://github\.com/(.*)/(.*)/archive/(.*)(\.tar\.gz|\.zip)$") {
                                $master_sites = "\${MASTER_SITE_GITHUB:=$1/}";
-                               $homepage = "\${MASTER_SITE_GITHUB:=$1/$2/}";
+                               $homepage = "https://github.com/$1/$2/}";;
                                $gh_project = $2;
                                $gh_tag = $3;
                                if (index($gh_tag, $gh_project) == -1 ) {
@@ -318,7 +318,7 @@
                                $found = true;
                        } elsif ($url =~ qr"^https?://github\.com/(.*)/(.*)/releases/download/(.*)/(.*)(\.tar\.gz|\.zip)$") {
                                $master_sites = "\${MASTER_SITE_GITHUB:=$1/}";
-                               $homepage = "\${MASTER_SITE_GITHUB:=$1/$2/}";
+                               $homepage = "https://github.com/$1/$2/}";;
                                if (index($4, $2) == -1) {
                                        $gh_project = $2;
                                        $dist_subdir = '${GITHUB_PROJECT}';



Home | Main Index | Thread Index | Old Index