[MacPorts] #60802: gopls downloads things at build time

MacPorts noreply at macports.org
Fri Aug 7 06:54:16 UTC 2020


#60802: gopls downloads things at build time
-------------------------+----------------------
  Reporter:  ryandesign  |      Owner:  ra1nb0w
      Type:  defect      |     Status:  assigned
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.6.2
Resolution:              |   Keywords:
      Port:  gopls       |
-------------------------+----------------------

Comment (by danieltrautmann):

 I had a look at the code of the portgroup. I don't know much about tcl,
 but it seems you are right that it can't handle this case. Even module
 names starting with `gopkg.in` or `golang.org` are handled by rewriting
 some variables.

 Can you check if it is possible to use the GitHub URL
 `github.com/mvdan/xurls` in the `go.vendors` option? I guess `lock` should
 be `v2.2.0`.

 Also there is a tool called `go2port`, which is available as port, which
 can generate the portfile based on the Go module. For now it seems that it
 doesn't support these package names either (there is an open issue), but
 someone already made a pull request for that. Maybe you can checkout is
 fork and see if it works. https://github.com/amake/go2port/pull/3

-- 
Ticket URL: <https://trac.macports.org/ticket/60802#comment:6>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list