Bug 227724 - www/gohugo: Update to 0.40
Summary: www/gohugo: Update to 0.40
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Jochen Neumeister
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-04-23 18:42 UTC by Ben Lavery-Griffiths
Modified: 2018-04-24 07:22 UTC (History)
1 user (show)

See Also:


Attachments
svn diff to upgrade to 0.40 (1.14 KB, patch)
2018-04-23 18:42 UTC, Ben Lavery-Griffiths
no flags Details | Diff
Poudriere logs for all platforms (5.71 KB, application/x-xz)
2018-04-23 18:42 UTC, Ben Lavery-Griffiths
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ben Lavery-Griffiths 2018-04-23 18:42:07 UTC
Created attachment 192761 [details]
svn diff to upgrade to 0.40

gohugo has been updated to 0.40
(https://github.com/gohugoio/hugo/releases/tag/v0.40):

The attached svn diff brings this port up from 0.39 to 0.40

Change log:
 - Add path.Ext, path.Dir and path.Base
 - Make fileExist use the same filesystem as readFile Add .Page.BundleType 
 - Add zero-based Ordinal to shortcode 
 - Process and render shortcodes in their order of appearance 
 - Init the content and shortcodes early 
 - Prepare child page resources before the page itself 
 - Make .Content (almost) always available in shortcodes 
 - Add language merge support for Pages in resource.Resources 
 - Improve .Content vs shortcodes 
 - Improve .Get docs
 - Update missing positional parameter test for .Get 
 - Improve error message in metadata parse 
 - Add some context to front matter parse error 
 - Updated GetCSV error message
 - .Get doesn't crash on missing positional param fixes
 - fix syntax signature

Tested against amd64/i386 10.4-RELEASE, 11.1-RELEASE, 11.1-STABLE, and 12.0-CURRENT. Poudriere logs attached, and also found here for a limited time:
https://logs.bnix.club/gohugo-0.40_2018-04-23/

portlint -AC:
looks fine.

poudriere bulk -tC:
10_4-RELEASE__amd64: success
10_4-RELEASE__i386: success
11_1-RELEASE__amd64: success
11_1-RELEASE__i386: couldn't get jail to start...
11_1-STABLE__amd64: success
11_1-STABLE__i386: success
12_0-CURRENT__amd64: success
12_0-CURRENT__i386: success
Comment 1 Ben Lavery-Griffiths 2018-04-23 18:42:26 UTC
Created attachment 192762 [details]
Poudriere logs for all platforms
Comment 2 commit-hook freebsd_committer freebsd_triage 2018-04-24 07:21:59 UTC
A commit references this bug:

Author: joneum
Date: Tue Apr 24 07:21:21 UTC 2018
New revision: 468185
URL: https://svnweb.freebsd.org/changeset/ports/468185

Log:
  www/gohugo: Update to 0.40

  Change log:
   - Add path.Ext, path.Dir and path.Base
   - Make fileExist use the same filesystem as readFile Add .Page.BundleType
   - Add zero-based Ordinal to shortcode
   - Process and render shortcodes in their order of appearance
   - Init the content and shortcodes early
   - Prepare child page resources before the page itself
   - Make .Content (almost) always available in shortcodes
   - Add language merge support for Pages in resource.Resources
   - Improve .Content vs shortcodes
   - Improve .Get docs
   - Update missing positional parameter test for .Get
   - Improve error message in metadata parse
   - Add some context to front matter parse error
   - Updated GetCSV error message
   - .Get doesn't crash on missing positional param fixes
   - fix syntax signature

  PR:		227724
  Submitted by:	ben.lavery@hashbang0.com (maintainer)

Changes:
  head/www/gohugo/Makefile
  head/www/gohugo/distinfo
Comment 3 Jochen Neumeister freebsd_committer freebsd_triage 2018-04-24 07:22:42 UTC
Landed. Thanks :-)