gh: Add more GO_DEPS and document missing ones in TODO

Several GO_DEPS are still missing and we need to find a way how
gopkg.in/yaml.v[23] could peacefully cohexist.
This commit is contained in:
Leonardo Taccari 2020-02-18 17:00:52 +01:00
parent b2c7bc89e5
commit b0c70f58d6
3 changed files with 49 additions and 34 deletions

View File

@ -17,16 +17,24 @@ GO_SRCPATH= github.com/cli/cli
DEPENDS+= git-base-[0-9]*:../../devel/git-base
GO_DEPS+= github.com/AlecAivazis/survey:eb3a4d3114c3ec1cc6fd0b0d28afac0208a37fac
GO_DEPS+= github.com/alecthomas/chroma:330c3bd39c1404bf1974a8e2fb27c1e57f54440b
GO_DEPS+= github.com/aybabtme/rgbterm:cc83f3b3ce5911279513a46d6d3316d67bedaa54
GO_DEPS+= github.com/cpuguy83/go-md2man:217d7bd9dd5494abdf2877afbeb24ba0e11b43d6
#GO_DEPS+= github.com/go-yaml/yaml:53403b58ad1b561927d19068c655246f2db79d48:gopkg.in/yaml.v2
GO_DEPS+= github.com/go-yaml/yaml:a6ecf24a6d716d933bcbc255a2f5d492285b54f5:gopkg.in/yaml.v3
GO_DEPS+= github.com/google/shlex:e7afc7fbc51079733e9468cdfd1efcd7d196cd1d
GO_DEPS+= github.com/hashicorp/go-version:2b13044f5cdd3833370d41ce57d8bf3cec5e62b8
GO_DEPS+= github.com/kballard/go-shellquote:95032a82bc518f77982ea72343cc1ade730072f0
GO_DEPS+= github.com/kr/text:702c74938df48b97370179f33ce2107bd7ff3b3e
GO_DEPS+= github.com/mattn/go-colorable:c742d6fb21c22a5bb6f768a683e6782e52fe0311
GO_DEPS+= github.com/mattn/go-isatty:cb30d6282491c185f77d9bec5d25de1bb61a06bc
GO_DEPS+= github.com/mgutz/ansi:9520e82c474b0a04dd04f8a40959027271bab992
GO_DEPS+= github.com/mitchellh/go-homedir:af06845cf3004701891bf4fdb884bfe4920b3727
GO_DEPS+= github.com/mitchellh/go-wordwrap:9e67c67572bc5dd02aef930e2b0ae3c02a4b5a5c
GO_DEPS+= github.com/russross/blackfriday:3e56bb68c8876389c631e9e318ce3c092a0906db
GO_DEPS+= github.com/spf13/cobra:89c7ffb5129bebd58cd68878c13af2144a5791f3
GO_DEPS+= github.com/spf13/pflag:2e9d26c8c37aae03e3f9d4e90b7116f5accb7cab
GO_DEPS+= github.com/tj/go-css:220a796d1705937ea01e508d9e0e77ef5a4de90c
GO_DEPS+= github.com/vilmibm/go-termd:ceed4642a3749eee623ccd07457f8d2b82b8fdd2
CHECK_RELRO_SKIP+= bin/gh

47
gh/TODO
View File

@ -1,40 +1,19 @@
The build fails because dependencies are not provided:
- The build fails because dependencies are not provided:
| ===> Building for gh-0.5.4
| /tmp/pkgsrc/wip/gh/work/src/github.com/vilmibm/go-termd/highlight.go:6:2: cannot find package "github.com/alecthomas/chroma" in any of:
| /usr/pkg/go113/src/github.com/alecthomas/chroma (from $GOROOT)
| /tmp/pkgsrc/wip/gh/work/src/github.com/alecthomas/chroma (from $GOPATH)
| /tmp/pkgsrc/wip/gh/work/.buildlink/gopkg/src/github.com/alecthomas/chroma
| /tmp/pkgsrc/wip/gh/work/src/github.com/vilmibm/go-termd/highlight.go:7:2: cannot find package "github.com/alecthomas/chroma/lexers" in any of:
| /usr/pkg/go113/src/github.com/alecthomas/chroma/lexers (from $GOROOT)
| /tmp/pkgsrc/wip/gh/work/src/github.com/alecthomas/chroma/lexers (from $GOPATH)
| /tmp/pkgsrc/wip/gh/work/.buildlink/gopkg/src/github.com/alecthomas/chroma/lexers
| /tmp/pkgsrc/wip/gh/work/src/github.com/vilmibm/go-termd/theme.go:7:2: cannot find package "github.com/aybabtme/rgbterm" in any of:
| /usr/pkg/go113/src/github.com/aybabtme/rgbterm (from $GOROOT)
| /tmp/pkgsrc/wip/gh/work/src/github.com/aybabtme/rgbterm (from $GOPATH)
| /tmp/pkgsrc/wip/gh/work/.buildlink/gopkg/src/github.com/aybabtme/rgbterm
| /tmp/pkgsrc/wip/gh/work/src/github.com/spf13/cobra/doc/man_docs.go:27:2: cannot find package "github.com/cpuguy83/go-md2man/v2/md2man" in any of:
| /usr/pkg/go113/src/github.com/cpuguy83/go-md2man/v2/md2man (from $GOROOT)
| /tmp/pkgsrc/wip/gh/work/src/github.com/cpuguy83/go-md2man/v2/md2man (from $GOPATH)
| /tmp/pkgsrc/wip/gh/work/.buildlink/gopkg/src/github.com/cpuguy83/go-md2man/v2/md2man
| /tmp/pkgsrc/wip/gh/work/src/github.com/vilmibm/go-termd/termd.go:9:2: cannot find package "github.com/kr/text" in any of:
| /usr/pkg/go113/src/github.com/kr/text (from $GOROOT)
| /tmp/pkgsrc/wip/gh/work/src/github.com/kr/text (from $GOPATH)
| /tmp/pkgsrc/wip/gh/work/.buildlink/gopkg/src/github.com/kr/text
| /tmp/pkgsrc/wip/gh/work/src/github.com/vilmibm/go-termd/termd.go:10:2: cannot find package "github.com/mitchellh/go-wordwrap" in any of:
| /usr/pkg/go113/src/github.com/mitchellh/go-wordwrap (from $GOROOT)
| /tmp/pkgsrc/wip/gh/work/src/github.com/mitchellh/go-wordwrap (from $GOPATH)
| /tmp/pkgsrc/wip/gh/work/.buildlink/gopkg/src/github.com/mitchellh/go-wordwrap
| /tmp/pkgsrc/wip/gh/work/src/github.com/vilmibm/go-termd/termd.go:11:2: cannot find package "github.com/russross/blackfriday/v2" in any of:
| /usr/pkg/go113/src/github.com/russross/blackfriday/v2 (from $GOROOT)
| /tmp/pkgsrc/wip/gh/work/src/github.com/russross/blackfriday/v2 (from $GOPATH)
| /tmp/pkgsrc/wip/gh/work/.buildlink/gopkg/src/github.com/russross/blackfriday/v2
| /tmp/pkgsrc/wip/gh/work/src/github.com/vilmibm/go-termd/theme.go:8:2: cannot find package "github.com/tj/go-css/csshex" in any of:
| /usr/pkg/go113/src/github.com/tj/go-css/csshex (from $GOROOT)
| /tmp/pkgsrc/wip/gh/work/src/github.com/tj/go-css/csshex (from $GOPATH)
| /tmp/pkgsrc/wip/gh/work/.buildlink/gopkg/src/github.com/tj/go-css/csshex
| ===> Building for gh-0.5.5
| /tmp/pkgsrc/wip/gh/work/src/github.com/alecthomas/chroma/lexers/internal/api.go:9:2: cannot find package "github.com/danwakefield/fnmatch" in any of:
| /usr/pkg/go113/src/github.com/danwakefield/fnmatch (from $GOROOT)
| /tmp/pkgsrc/wip/gh/work/src/github.com/danwakefield/fnmatch (from $GOPATH)
| /tmp/pkgsrc/wip/gh/work/.buildlink/gopkg/src/github.com/danwakefield/fnmatch
| /tmp/pkgsrc/wip/gh/work/src/github.com/alecthomas/chroma/regexp.go:11:2: cannot find package "github.com/dlclark/regexp2" in any of:
| /usr/pkg/go113/src/github.com/dlclark/regexp2 (from $GOROOT)
| /tmp/pkgsrc/wip/gh/work/src/github.com/dlclark/regexp2 (from $GOPATH)
| /tmp/pkgsrc/wip/gh/work/.buildlink/gopkg/src/github.com/dlclark/regexp2
| /tmp/pkgsrc/wip/gh/work/src/github.com/spf13/cobra/doc/yaml_docs.go:26:2: cannot find package "gopkg.in/yaml.v2" in any of:
| /usr/pkg/go113/src/gopkg.in/yaml.v2 (from $GOROOT)
| /tmp/pkgsrc/wip/gh/work/src/gopkg.in/yaml.v2 (from $GOPATH)
| /tmp/pkgsrc/wip/gh/work/.buildlink/gopkg/src/gopkg.in/yaml.v2
| *** Error code 1
- Figure out how gopkg.in/yaml.v2 and gopkg.in/yaml.v3 could peacefully
cohexists.

View File

@ -1,5 +1,13 @@
$NetBSD$
SHA1 (gh-0.5.5/217d7bd9dd5494abdf2877afbeb24ba0e11b43d6.tar.gz) = 59edf573596e13c67f3af2dc304589ef6c2bd516
RMD160 (gh-0.5.5/217d7bd9dd5494abdf2877afbeb24ba0e11b43d6.tar.gz) = fe227e1184496e0e7caf70f5fd3221f1b4bfc436
SHA512 (gh-0.5.5/217d7bd9dd5494abdf2877afbeb24ba0e11b43d6.tar.gz) = 5e7625b6c9d86c9b7bef2e601a3a757fd2d26b812825926018448fa06df0f23021ee9dd0a203da3514f54b30fae49f3becd7d5626d025eba13806cc211d2b341
Size (gh-0.5.5/217d7bd9dd5494abdf2877afbeb24ba0e11b43d6.tar.gz) = 52097 bytes
SHA1 (gh-0.5.5/220a796d1705937ea01e508d9e0e77ef5a4de90c.tar.gz) = 7335d359e4fe65b82ef128823627fff2a1c84571
RMD160 (gh-0.5.5/220a796d1705937ea01e508d9e0e77ef5a4de90c.tar.gz) = ba32edd79546e8323e061a640ddbe6dacf4afc39
SHA512 (gh-0.5.5/220a796d1705937ea01e508d9e0e77ef5a4de90c.tar.gz) = 40d2c8f55e2c857a5855d96b2335efa2cafdc7f98f0c9cab69d84d5888bd66e0daf361d3f965287443723bc47556bf597e31f057f107409857d939652cb59a8d
Size (gh-0.5.5/220a796d1705937ea01e508d9e0e77ef5a4de90c.tar.gz) = 3017 bytes
SHA1 (gh-0.5.5/2b13044f5cdd3833370d41ce57d8bf3cec5e62b8.tar.gz) = ea706d8ed98f625443f037442b87275b01ba5571
RMD160 (gh-0.5.5/2b13044f5cdd3833370d41ce57d8bf3cec5e62b8.tar.gz) = ea46b118ca1f1ffb791d1ba029c0af723b03fed9
SHA512 (gh-0.5.5/2b13044f5cdd3833370d41ce57d8bf3cec5e62b8.tar.gz) = 9074d2f3f08ee5c9a93e6904dc72ac96e046226869265f5717a2b34af2b3c888e4ba36f687cca7d0e91f7bb89f0c6445096f80388af7965bc554527e338fcc75
@ -8,6 +16,18 @@ SHA1 (gh-0.5.5/2e9d26c8c37aae03e3f9d4e90b7116f5accb7cab.tar.gz) = dfa02b2327f13d
RMD160 (gh-0.5.5/2e9d26c8c37aae03e3f9d4e90b7116f5accb7cab.tar.gz) = 29296d1d7a3424156332fe9931363008d6cf82fa
SHA512 (gh-0.5.5/2e9d26c8c37aae03e3f9d4e90b7116f5accb7cab.tar.gz) = c579ad91387f90e6fe630d9711904d63dc8b4fa71d49aac83d5e6489e5150f9d6c8aa5444bf5f2357f67eedab82bd7f32ad00975da5267290c8957fc416a904d
Size (gh-0.5.5/2e9d26c8c37aae03e3f9d4e90b7116f5accb7cab.tar.gz) = 50880 bytes
SHA1 (gh-0.5.5/330c3bd39c1404bf1974a8e2fb27c1e57f54440b.tar.gz) = 330edb69a3e2270e131954de3663150a202ae34f
RMD160 (gh-0.5.5/330c3bd39c1404bf1974a8e2fb27c1e57f54440b.tar.gz) = c0c967640cf685910c7ca76a50d52677788f84f5
SHA512 (gh-0.5.5/330c3bd39c1404bf1974a8e2fb27c1e57f54440b.tar.gz) = d747ef68fef990b97d384c054a664955d1411fedd99963d90007ed9be6b0c9f25a62449ee0361aa448a115e08bfa124b3a39dac298d084073bd594aea6c7bed0
Size (gh-0.5.5/330c3bd39c1404bf1974a8e2fb27c1e57f54440b.tar.gz) = 597204 bytes
SHA1 (gh-0.5.5/3e56bb68c8876389c631e9e318ce3c092a0906db.tar.gz) = cdc4a51408607c6eb71c44bba67a8c0e7ae15807
RMD160 (gh-0.5.5/3e56bb68c8876389c631e9e318ce3c092a0906db.tar.gz) = 1450dbf85a163c301bbf4bf9ac92a017a5e3ef44
SHA512 (gh-0.5.5/3e56bb68c8876389c631e9e318ce3c092a0906db.tar.gz) = aeda6120885758bf31bd3aa09da79ab3b54c4502c842c5f4bfc26993dc89c36c992f6e88cb86282841c46688f770b4742e5fdf7ecbff2667dc1119c883a2530d
Size (gh-0.5.5/3e56bb68c8876389c631e9e318ce3c092a0906db.tar.gz) = 81229 bytes
SHA1 (gh-0.5.5/702c74938df48b97370179f33ce2107bd7ff3b3e.tar.gz) = 785bdebd4b5786fc74ef2bb21d8a3ef93cb0ba93
RMD160 (gh-0.5.5/702c74938df48b97370179f33ce2107bd7ff3b3e.tar.gz) = df0aad79582b509018b9047d08bca466545555f2
SHA512 (gh-0.5.5/702c74938df48b97370179f33ce2107bd7ff3b3e.tar.gz) = 6d68bb1591ad1ef0ea5f3c3ddddb4659f0a88ed1a184552df393b8a6ae9485127de26e3122492bd4cd51f07da548549d67b0bb59ac2e245b2e3fc9da0133a01f
Size (gh-0.5.5/702c74938df48b97370179f33ce2107bd7ff3b3e.tar.gz) = 8702 bytes
SHA1 (gh-0.5.5/89c7ffb5129bebd58cd68878c13af2144a5791f3.tar.gz) = da8b072f0ccc3968b00cf5e7c1720b9973ece0de
RMD160 (gh-0.5.5/89c7ffb5129bebd58cd68878c13af2144a5791f3.tar.gz) = 8a1798fd9a8dacfca3c859778fdd4e5cf84441c6
SHA512 (gh-0.5.5/89c7ffb5129bebd58cd68878c13af2144a5791f3.tar.gz) = ce37e9e97f0c98138b6a0a7f7fdfcd804386267b272cb7a0fceab71ac8a9a2dbad136c19f0f3bf41ae404cbf701956575758ec90dcf8917c0863bd8819fed987
@ -20,6 +40,10 @@ SHA1 (gh-0.5.5/9520e82c474b0a04dd04f8a40959027271bab992.tar.gz) = 9ff12b6caf5392
RMD160 (gh-0.5.5/9520e82c474b0a04dd04f8a40959027271bab992.tar.gz) = bdd00518d081e8cced5150cfbb2663cbbc455e86
SHA512 (gh-0.5.5/9520e82c474b0a04dd04f8a40959027271bab992.tar.gz) = 893f9823f06edaeb35dbb1a19d908bd08a7d8df6527addf3d7197efeb0c2a83d85405043efd910027d472ed25cf869f4999ece4241cb546e9f648843bdd006cd
Size (gh-0.5.5/9520e82c474b0a04dd04f8a40959027271bab992.tar.gz) = 4874 bytes
SHA1 (gh-0.5.5/9e67c67572bc5dd02aef930e2b0ae3c02a4b5a5c.tar.gz) = 6413f244c7b358be9f31be72e4f256ffe6e29c68
RMD160 (gh-0.5.5/9e67c67572bc5dd02aef930e2b0ae3c02a4b5a5c.tar.gz) = 1f8f39450719494ceec67940bb02b2d83b409bd6
SHA512 (gh-0.5.5/9e67c67572bc5dd02aef930e2b0ae3c02a4b5a5c.tar.gz) = 377d539b68744a2b03e9fa6990822fda18103854ddc93eeffa4d635864f44e00844b4bbb48b1d4149e6d456483337f357343fd806f9b150aa319a98a773407bd
Size (gh-0.5.5/9e67c67572bc5dd02aef930e2b0ae3c02a4b5a5c.tar.gz) = 2785 bytes
SHA1 (gh-0.5.5/a6ecf24a6d716d933bcbc255a2f5d492285b54f5.tar.gz) = 0bbd3d97c78af9b1b486af83fdb44cb31bbc998c
RMD160 (gh-0.5.5/a6ecf24a6d716d933bcbc255a2f5d492285b54f5.tar.gz) = 78bbe5256fe329b737a58a6a6463178bd9d6ce2a
SHA512 (gh-0.5.5/a6ecf24a6d716d933bcbc255a2f5d492285b54f5.tar.gz) = e1274971c41cd622e94770005670fee15e1c5096b13d3596afdc644fce93f00f4fe65f72bd183df2eb45282b327b9bfe4add14d9a3d5563945c4d3df794d81d4
@ -36,6 +60,10 @@ SHA1 (gh-0.5.5/cb30d6282491c185f77d9bec5d25de1bb61a06bc.tar.gz) = c9ea4702ef2365
RMD160 (gh-0.5.5/cb30d6282491c185f77d9bec5d25de1bb61a06bc.tar.gz) = 2af6fce1fc405deb9d205b2f757e1560e8e55933
SHA512 (gh-0.5.5/cb30d6282491c185f77d9bec5d25de1bb61a06bc.tar.gz) = ecdd66517409717a175677679f7ac9599f1d26a3bfe5a7a1f49d1d2a757b7da46ac9ebae1cdaf7089bbe12a1ab37bf0e94cde16816ba072cb6c039343334a168
Size (gh-0.5.5/cb30d6282491c185f77d9bec5d25de1bb61a06bc.tar.gz) = 4475 bytes
SHA1 (gh-0.5.5/cc83f3b3ce5911279513a46d6d3316d67bedaa54.tar.gz) = b875d5c205d3a8d57ce437df83095736a1bcd40f
RMD160 (gh-0.5.5/cc83f3b3ce5911279513a46d6d3316d67bedaa54.tar.gz) = e52bf9e45a92b5947eed007beed568c6c1049ee5
SHA512 (gh-0.5.5/cc83f3b3ce5911279513a46d6d3316d67bedaa54.tar.gz) = f543a60a0cbfb49819e594dccc7c8f329add8e2cdf7bcd73d14983941b05b8f59a2714f52c8fa704945818ededf3ca27f86f4ad8ec451f132f5f2c4746935d5a
Size (gh-0.5.5/cc83f3b3ce5911279513a46d6d3316d67bedaa54.tar.gz) = 9359 bytes
SHA1 (gh-0.5.5/ceed4642a3749eee623ccd07457f8d2b82b8fdd2.tar.gz) = d84e890462cd5ea0daecd222bd14da0669b57429
RMD160 (gh-0.5.5/ceed4642a3749eee623ccd07457f8d2b82b8fdd2.tar.gz) = d02efb76115eac533d76af5d3c24d384ce3cdec5
SHA512 (gh-0.5.5/ceed4642a3749eee623ccd07457f8d2b82b8fdd2.tar.gz) = 2127420a88af7342995bfe8ee322da26778c1e853205efa20a4350accc0ee37b199699bc05fc1224717e8cd00cba62c4ca0327ce93673389af812ba6a39626f1