pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
gh: Import gh-0.5.4 as wip/gh
Module Name: pkgsrc-wip
Committed By: Leonardo Taccari <leot%NetBSD.org@localhost>
Pushed By: leot
Date: Thu Feb 13 15:30:18 2020 +0100
Changeset: 32334d15031eafd0c47d3965a0feea99de9e210b
Modified Files:
Makefile
Added Files:
gh/DESCR
gh/Makefile
gh/PLIST
gh/TODO
gh/distinfo
Log Message:
gh: Import gh-0.5.4 as wip/gh
gh is GitHub on the command line, and it's now available in beta.
It brings pull requests, issues, and other GitHub concepts to the
terminal next to where you are already working with git and your code.
Still does not build because all dependencies are not provided by the distfile,
please give a look to TODO for more information and/or let me know how we can
address that! (packaging all dependencies will probably be not fun!)
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=32334d15031eafd0c47d3965a0feea99de9e210b
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
Makefile | 1 +
gh/DESCR | 3 +++
gh/Makefile | 27 +++++++++++++++++++++++++
gh/PLIST | 2 ++
gh/TODO | 66 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
gh/distinfo | 6 ++++++
6 files changed, 105 insertions(+)
diffs:
diff --git a/Makefile b/Makefile
index e188a21e2b..fbac21d50b 100644
--- a/Makefile
+++ b/Makefile
@@ -1062,6 +1062,7 @@ SUBDIR+= gfsview-snapshot
SUBDIR+= ggz-gtk-client
SUBDIR+= ggz-gtk-games
SUBDIR+= ggz-server
+SUBDIR+= gh
SUBDIR+= ghc
SUBDIR+= ghc-core
SUBDIR+= ghc68
diff --git a/gh/DESCR b/gh/DESCR
new file mode 100644
index 0000000000..ef7511c380
--- /dev/null
+++ b/gh/DESCR
@@ -0,0 +1,3 @@
+gh is GitHub on the command line, and it's now available in beta.
+It brings pull requests, issues, and other GitHub concepts to the
+terminal next to where you are already working with git and your code.
diff --git a/gh/Makefile b/gh/Makefile
new file mode 100644
index 0000000000..36de2446ff
--- /dev/null
+++ b/gh/Makefile
@@ -0,0 +1,27 @@
+# $NetBSD$
+
+DISTNAME= gh-0.5.4
+CATEGORIES= net
+MASTER_SITES= ${MASTER_SITE_GITHUB:=cli/}
+GITHUB_PROJECT= cli
+GITHUB_TAG= v${PKGVERSION_NOREV}
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://cli.github.com/
+COMMENT= GitHub CLI
+LICENSE= mit
+
+GO_DIST_BASE= ${DISTNAME:S/gh/cli/}
+GO_SRCPATH= github.com/cli/cli
+
+DEPENDS+= git-base-[0-9]*:../../devel/git-base
+
+CHECK_RELRO_SKIP+= bin/gh
+
+INSTALLATION_DIRS+= bin
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKDIR}/bin/gh ${DESTDIR}${PREFIX}/bin
+
+.include "../../lang/go/go-package.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/gh/PLIST b/gh/PLIST
new file mode 100644
index 0000000000..2d171c732c
--- /dev/null
+++ b/gh/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD$
+bin/gh
diff --git a/gh/TODO b/gh/TODO
new file mode 100644
index 0000000000..95e2a34eea
--- /dev/null
+++ b/gh/TODO
@@ -0,0 +1,66 @@
+The build fails because dependencies are not provided:
+
+ | ===> Building for gh-0.5.4
+ | /tmp/pkgsrc/wip/gh/work/src/github.com/cli/cli/pkg/browser/browser.go:9:2: cannot find package "github.com/google/shlex" in any of:
+ | /usr/pkg/go113/src/github.com/google/shlex (from $GOROOT)
+ | /tmp/pkgsrc/wip/gh/work/src/github.com/google/shlex (from $GOPATH)
+ | /tmp/pkgsrc/wip/gh/work/.buildlink/gopkg/src/github.com/google/shlex
+ | /tmp/pkgsrc/wip/gh/work/src/github.com/cli/cli/command/title_body_survey.go:6:2: cannot find package "github.com/AlecAivazis/survey/v2" in any of:
+ | /usr/pkg/go113/src/github.com/AlecAivazis/survey/v2 (from $GOROOT)
+ | /tmp/pkgsrc/wip/gh/work/src/github.com/AlecAivazis/survey/v2 (from $GOPATH)
+ | /tmp/pkgsrc/wip/gh/work/.buildlink/gopkg/src/github.com/AlecAivazis/survey/v2
+ | /tmp/pkgsrc/wip/gh/work/src/github.com/cli/cli/pkg/surveyext/editor.go:16:2: cannot find package "github.com/AlecAivazis/survey/v2/terminal" in any of:
+ | /usr/pkg/go113/src/github.com/AlecAivazis/survey/v2/terminal (from $GOROOT)
+ | /tmp/pkgsrc/wip/gh/work/src/github.com/AlecAivazis/survey/v2/terminal (from $GOPATH)
+ | /tmp/pkgsrc/wip/gh/work/.buildlink/gopkg/src/github.com/AlecAivazis/survey/v2/terminal
+ | /tmp/pkgsrc/wip/gh/work/src/github.com/cli/cli/pkg/surveyext/editor.go:17:2: cannot find package "github.com/kballard/go-shellquote" in any of:
+ | /usr/pkg/go113/src/github.com/kballard/go-shellquote (from $GOROOT)
+ | /tmp/pkgsrc/wip/gh/work/src/github.com/kballard/go-shellquote (from $GOPATH)
+ | /tmp/pkgsrc/wip/gh/work/.buildlink/gopkg/src/github.com/kballard/go-shellquote
+ | /tmp/pkgsrc/wip/gh/work/src/github.com/cli/cli/utils/color.go:7:2: cannot find package "github.com/mattn/go-colorable" in any of:
+ | /usr/pkg/go113/src/github.com/mattn/go-colorable (from $GOROOT)
+ | /tmp/pkgsrc/wip/gh/work/src/github.com/mattn/go-colorable (from $GOPATH)
+ | /tmp/pkgsrc/wip/gh/work/.buildlink/gopkg/src/github.com/mattn/go-colorable
+ | /tmp/pkgsrc/wip/gh/work/src/github.com/cli/cli/utils/color.go:8:2: cannot find package "github.com/mattn/go-isatty" in any of:
+ | /usr/pkg/go113/src/github.com/mattn/go-isatty (from $GOROOT)
+ | /tmp/pkgsrc/wip/gh/work/src/github.com/mattn/go-isatty (from $GOPATH)
+ | /tmp/pkgsrc/wip/gh/work/.buildlink/gopkg/src/github.com/mattn/go-isatty
+ | /tmp/pkgsrc/wip/gh/work/src/github.com/cli/cli/utils/color.go:9:2: cannot find package "github.com/mgutz/ansi" in any of:
+ | /usr/pkg/go113/src/github.com/mgutz/ansi (from $GOROOT)
+ | /tmp/pkgsrc/wip/gh/work/src/github.com/mgutz/ansi (from $GOPATH)
+ | /tmp/pkgsrc/wip/gh/work/.buildlink/gopkg/src/github.com/mgutz/ansi
+ | /tmp/pkgsrc/wip/gh/work/src/github.com/cli/cli/git/ssh_config.go:12:2: cannot find package "github.com/mitchellh/go-homedir" in any of:
+ | /usr/pkg/go113/src/github.com/mitchellh/go-homedir (from $GOROOT)
+ | /tmp/pkgsrc/wip/gh/work/src/github.com/mitchellh/go-homedir (from $GOPATH)
+ | /tmp/pkgsrc/wip/gh/work/.buildlink/gopkg/src/github.com/mitchellh/go-homedir
+ | /tmp/pkgsrc/wip/gh/work/src/github.com/cli/cli/internal/cobrafish/completion.go:12:2: cannot find package "github.com/spf13/cobra" in any of:
+ | /usr/pkg/go113/src/github.com/spf13/cobra (from $GOROOT)
+ | /tmp/pkgsrc/wip/gh/work/src/github.com/spf13/cobra (from $GOPATH)
+ | /tmp/pkgsrc/wip/gh/work/.buildlink/gopkg/src/github.com/spf13/cobra
+ | /tmp/pkgsrc/wip/gh/work/src/github.com/cli/cli/cmd/gen-docs/main.go:8:2: cannot find package "github.com/spf13/cobra/doc" in any of:
+ | /usr/pkg/go113/src/github.com/spf13/cobra/doc (from $GOROOT)
+ | /tmp/pkgsrc/wip/gh/work/src/github.com/spf13/cobra/doc (from $GOPATH)
+ | /tmp/pkgsrc/wip/gh/work/.buildlink/gopkg/src/github.com/spf13/cobra/doc
+ | /tmp/pkgsrc/wip/gh/work/src/github.com/cli/cli/internal/cobrafish/completion.go:13:2: cannot find package "github.com/spf13/pflag" in any of:
+ | /usr/pkg/go113/src/github.com/spf13/pflag (from $GOROOT)
+ | /tmp/pkgsrc/wip/gh/work/src/github.com/spf13/pflag (from $GOPATH)
+ | /tmp/pkgsrc/wip/gh/work/.buildlink/gopkg/src/github.com/spf13/pflag
+ | /tmp/pkgsrc/wip/gh/work/src/github.com/cli/cli/utils/utils.go:9:2: cannot find package "github.com/vilmibm/go-termd" in any of:
+ | /usr/pkg/go113/src/github.com/vilmibm/go-termd (from $GOROOT)
+ | /tmp/pkgsrc/wip/gh/work/src/github.com/vilmibm/go-termd (from $GOPATH)
+ | /tmp/pkgsrc/wip/gh/work/.buildlink/gopkg/src/github.com/vilmibm/go-termd
+ | /tmp/pkgsrc/wip/gh/work/src/github.com/cli/cli/utils/table_printer.go:12:2: cannot find package "golang.org/x/crypto/ssh/terminal" in any of:
+ | /usr/pkg/go113/src/golang.org/x/crypto/ssh/terminal (from $GOROOT)
+ | /tmp/pkgsrc/wip/gh/work/src/golang.org/x/crypto/ssh/terminal (from $GOPATH)
+ | /tmp/pkgsrc/wip/gh/work/.buildlink/gopkg/src/golang.org/x/crypto/ssh/terminal
+ | /tmp/pkgsrc/wip/gh/work/src/github.com/cli/cli/context/config_file.go:10:2: cannot find package "gopkg.in/yaml.v3" in any of:
+ | /usr/pkg/go113/src/gopkg.in/yaml.v3 (from $GOROOT)
+ | /tmp/pkgsrc/wip/gh/work/src/gopkg.in/yaml.v3 (from $GOPATH)
+ | /tmp/pkgsrc/wip/gh/work/.buildlink/gopkg/src/gopkg.in/yaml.v3
+ | /tmp/pkgsrc/wip/gh/work/src/github.com/cli/cli/update/update.go:9:2: cannot find package "github.com/hashicorp/go-version" in any of:
+ | /usr/pkg/go113/src/github.com/hashicorp/go-version (from $GOROOT)
+ | /tmp/pkgsrc/wip/gh/work/src/github.com/hashicorp/go-version (from $GOPATH)
+ | /tmp/pkgsrc/wip/gh/work/.buildlink/gopkg/src/github.com/hashicorp/go-version
+ | *** Error code 1
+
+Should we package all these dependencies?
diff --git a/gh/distinfo b/gh/distinfo
new file mode 100644
index 0000000000..5c8e6197d0
--- /dev/null
+++ b/gh/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+SHA1 (gh-0.5.4.tar.gz) = 63f3669793f6e98ef3422e5ad8ca00722366422b
+RMD160 (gh-0.5.4.tar.gz) = 9efb854351573bc0e52e4d7a1a23ce54b7a45928
+SHA512 (gh-0.5.4.tar.gz) = 2f5ee00c891c671f3a9687da441d52e3892d952e88eb12795b99f6cf65ec7e1b70fd910a33d6ccc6cdd139f45aef874fe86356e64804b73443423a5cad238ead
+Size (gh-0.5.4.tar.gz) = 174930 bytes
Home |
Main Index |
Thread Index |
Old Index