Created a new ebuild for Hugo version 0.74.3. It was fairly straightforward. The hardest part was figuring out how to update the EGO_SUM variable in the ebuild file, but it was pretty simple in the end. All of what you need is in the go.sum file. I took that and used a python script to add the required tab and quotes so I could replace the contents of the original EGO_SUM variable with the new stuff. I also created a bug for gentoo so the new version will hopefully end up in the main portage tree.

Python Script

#!/usr/bin/python

a = open('go.sum')
for b in a.readlines():
    print('\t"' + b.strip() + '"')

References

  1. https://github.com/gohugoio/hugo/blob/release-0.74.3/go.sum
  2. hugo-0.74.3.ebuild
  3. https://bugs.gentoo.org/736453