- Update to 0.23.
- Fixes for vendor Microsoft cases sensitive names. Submitted by: Christopher Hall <hsw_bitmark.com> (maintainer) Differential Revision: https://reviews.freebsd.org/D22102
This commit is contained in:
parent
de16c06463
commit
dc64885b59
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=515166
@ -1,7 +1,7 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= wtf
|
||||
PORTVERSION= 0.21.0
|
||||
PORTVERSION= 0.23.0
|
||||
DISTVERSIONPREFIX= v
|
||||
CATEGORIES= sysutils
|
||||
PKGNAMEPREFIX= go-
|
||||
@ -26,6 +26,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}
|
||||
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
|
||||
|
@ -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
|
||||
|
11
sysutils/go-wtf/files/patch-modules_azuredevops_widget.go
Normal file
11
sysutils/go-wtf/files/patch-modules_azuredevops_widget.go
Normal file
@ -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
|
20
sysutils/go-wtf/files/patch-modules_devto_widget.go
Normal file
20
sysutils/go-wtf/files/patch-modules_devto_widget.go
Normal file
@ -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)
|
Loading…
Reference in New Issue
Block a user