From owner-svn-ports-head@freebsd.org Tue Oct 22 03:04:56 2019 Return-Path: Delivered-To: svn-ports-head@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id A0F8116BEF5; Tue, 22 Oct 2019 03:04:56 +0000 (UTC) (envelope-from araujo@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 46xyzX3WZrz4Drl; Tue, 22 Oct 2019 03:04:56 +0000 (UTC) (envelope-from araujo@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 59ABC606D; Tue, 22 Oct 2019 03:04:56 +0000 (UTC) (envelope-from araujo@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x9M34uld091736; Tue, 22 Oct 2019 03:04:56 GMT (envelope-from araujo@FreeBSD.org) Received: (from araujo@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x9M34tL1091732; Tue, 22 Oct 2019 03:04:55 GMT (envelope-from araujo@FreeBSD.org) Message-Id: <201910220304.x9M34tL1091732@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: araujo set sender to araujo@FreeBSD.org using -f From: Marcelo Araujo Date: Tue, 22 Oct 2019 03:04:55 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r515166 - in head/sysutils/go-wtf: . files X-SVN-Group: ports-head X-SVN-Commit-Author: araujo X-SVN-Commit-Paths: in head/sysutils/go-wtf: . files X-SVN-Commit-Revision: 515166 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Oct 2019 03:04:56 -0000 Author: araujo Date: Tue Oct 22 03:04:55 2019 New Revision: 515166 URL: https://svnweb.freebsd.org/changeset/ports/515166 Log: - Update to 0.23. - Fixes for vendor Microsoft cases sensitive names. Submitted by: Christopher Hall (maintainer) Differential Revision: https://reviews.freebsd.org/D22102 Added: head/sysutils/go-wtf/files/ head/sysutils/go-wtf/files/patch-modules_azuredevops_widget.go (contents, props changed) head/sysutils/go-wtf/files/patch-modules_devto_widget.go (contents, props changed) Modified: head/sysutils/go-wtf/Makefile head/sysutils/go-wtf/distinfo Modified: head/sysutils/go-wtf/Makefile ============================================================================== --- head/sysutils/go-wtf/Makefile Tue Oct 22 02:41:00 2019 (r515165) +++ head/sysutils/go-wtf/Makefile Tue Oct 22 03:04:55 2019 (r515166) @@ -1,7 +1,7 @@ # $FreeBSD$ PORTNAME= wtf -PORTVERSION= 0.21.0 +PORTVERSION= 0.23.0 DISTVERSIONPREFIX= v CATEGORIES= sysutils PKGNAMEPREFIX= go- @@ -25,6 +25,14 @@ PORTDOCS= README.md OPTIONS_DEFINE= DOCS EXAMPLES OPTIONS_SUB= yes + +# try to deal with case insensitive github names +WTF_VGH_DIR= ${WRKSRC}/vendor/github.com +post-patch: + [ -d "${WTF_VGH_DIR}/Microsoft" -a ! -d "${WTF_VGH_DIR}/microsoft" ] && \ + ${LN} -s Microsoft "${WTF_VGH_DIR}/microsoft" || true + [ -d "${WTF_VGH_DIR}/microsoft" -a ! -d "${WTF_VGH_DIR}/Microsoft" ] && \ + ${LN} -s microsoft "${WTF_VGH_DIR}/Microsoft" || true post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} Modified: head/sysutils/go-wtf/distinfo ============================================================================== --- head/sysutils/go-wtf/distinfo Tue Oct 22 02:41:00 2019 (r515165) +++ head/sysutils/go-wtf/distinfo Tue Oct 22 03:04:55 2019 (r515166) @@ -1,3 +1,3 @@ -TIMESTAMP = 1567513605 -SHA256 (wtfutil-wtf-v0.21.0_GH0.tar.gz) = f1a5267f5b534026d7ae75ee2c13b4d3e08643b8f5b52637b41fb6c4fea1838d -SIZE (wtfutil-wtf-v0.21.0_GH0.tar.gz) = 11162170 +TIMESTAMP = 1571016550 +SHA256 (wtfutil-wtf-v0.23.0_GH0.tar.gz) = b5b7284cd3884d8e43886f27fe2b0705734ae9637f67174e75bfe5c0ba6f2eda +SIZE (wtfutil-wtf-v0.23.0_GH0.tar.gz) = 11625161 Added: head/sysutils/go-wtf/files/patch-modules_azuredevops_widget.go ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/go-wtf/files/patch-modules_azuredevops_widget.go Tue Oct 22 03:04:55 2019 (r515166) @@ -0,0 +1,11 @@ +--- modules/azuredevops/widget.go.orig 2019-10-11 19:16:00 UTC ++++ modules/azuredevops/widget.go +@@ -13,7 +13,7 @@ import ( + + type Widget struct { + view.TextWidget +- cli azrBuild.Client ++ cli *azrBuild.Client + settings *Settings + displayBuffer string + ctx context.Context Added: head/sysutils/go-wtf/files/patch-modules_devto_widget.go ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/go-wtf/files/patch-modules_devto_widget.go Tue Oct 22 03:04:55 2019 (r515166) @@ -0,0 +1,20 @@ +--- modules/devto/widget.go.orig 2019-10-11 19:16:00 UTC ++++ modules/devto/widget.go +@@ -14,7 +14,7 @@ import ( + type Widget struct { + view.KeyboardWidget + view.ScrollableWidget +- articles []devto.ListedArticle ++ articles []devto.Article + settings *Settings + err error + } +@@ -59,7 +59,7 @@ func (widget *Widget) Refresh() { + widget.articles = nil + widget.SetItemCount(0) + } else { +- var displayArticles []devto.ListedArticle ++ var displayArticles []devto.Article + var l int + if len(articles) < widget.settings.numberOfArticles { + l = len(articles)