Wednesday, January 25, 2023

Re: update devel/go-tools to v0.5.0

On Tue, 24 Jan 2023 19:06:32 +0100, Omar Polo wrote:

> go-tools needs some love :)
>
> Diff below updates it to the latest tag which is... 0.5.0, hence EPOCH.
> I don't see any tag 1.12 tag in the repo, only 0.1.12.
> Haven't digged in the history to see if they changed/retired tags.
> go-tools doesn't have any other ports depending on it so nothing else
> need to be done, right?

Yes, the latest version/tag for go-tools is 0.5.0. The old version 1.12
disappeared.

> I've switched the port to use MODGO_MODNAME and fetch the modules
> needed, dropping the build depends on net/go-net (which can be removed,
> but this is for another thread once this gets in)
>
> godoc doesn't need hacks now, but gopls is not bundled anymore. Not a
> big deal, there's another tread in ports@ with a tarball for a new
> devel/gopls port.
>
> I had to roll my own do-build because the default one would build every
> cmd. Not a big deal but there a few that doesn't make sense to ship
> IMHO.
>
> While here I've also synced DESCR with reality: some tools are not
> distributed anymore (not even in the current version) and I've folded
> some long lines. and updated HOMEPAGE. MODGO_TYPE was also redundant,
> dropped.

OK for the sync between DESCR and built tools in this version.

> Comments/Thoughts/OK?

Build and tests OK for me on amd64.

Thanks for this update which allows to import my new port for devel/gopls.

Laurent

No comments:

Post a Comment