pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/pkgtools/url2pkg Fix HOMEPAGE when packaging github re...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/16037f4334b9
branches:  trunk
changeset: 353084:16037f4334b9
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Tue Sep 27 17:10:09 2016 +0000

description:
Fix HOMEPAGE when packaging github releases. Bump version.

diffstat:

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

diffs (32 lines):

diff -r 57e0f68e137d -r 16037f4334b9 pkgtools/url2pkg/Makefile
--- a/pkgtools/url2pkg/Makefile Tue Sep 27 13:22:45 2016 +0000
+++ b/pkgtools/url2pkg/Makefile Tue Sep 27 17:10:09 2016 +0000
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.85 2016/07/10 13:31:54 rillig Exp $
+# $NetBSD: Makefile,v 1.86 2016/09/27 17:10:09 wiz Exp $
 
-PKGNAME=       url2pkg-2.27
-PKGREVISION=   1
+PKGNAME=       url2pkg-2.28
 CATEGORIES=    pkgtools
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
diff -r 57e0f68e137d -r 16037f4334b9 pkgtools/url2pkg/files/url2pkg.pl
--- a/pkgtools/url2pkg/files/url2pkg.pl Tue Sep 27 13:22:45 2016 +0000
+++ b/pkgtools/url2pkg/files/url2pkg.pl Tue Sep 27 17:10:09 2016 +0000
@@ -1,5 +1,5 @@
 #! @PERL@
-# $NetBSD: url2pkg.pl,v 1.33 2016/06/26 19:03:33 wiz Exp $
+# $NetBSD: url2pkg.pl,v 1.34 2016/09/27 17:10:09 wiz Exp $
 #
 
 # Copyright (c) 2010 The NetBSD Foundation, Inc.
@@ -318,7 +318,7 @@
                                $found = true;
                        } elsif ($url =~ qr"^https?://github\.com/(.*)/(.*)/releases/download/(.*)/(.*)(\.tar\.gz|\.zip)$") {
                                $master_sites = "\${MASTER_SITE_GITHUB:=$1/}";
-                               $homepage = "https://github.com/$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