Bug 230268

Summary: www/gohugo: Update to 0.46
Product: Ports & Packages Reporter: Ben Lavery-Griffiths <ben>
Component: Individual Port(s)Assignee: Mateusz Piotrowski <0mp>
Status: Closed FIXED    
Severity: Affects Only Me CC: 0mp
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
See Also: https://reviews.freebsd.org/D16545
Attachments:
Description Flags
svn diff to upgrade to 0.46
none
Poudriere logs for all platforms none

Description Ben Lavery-Griffiths 2018-08-01 17:57:42 UTC
Created attachment 195724 [details]
svn diff to upgrade to 0.46

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

The attached svn diff brings this port up from 0.45.1 to 0.46

Change log:
 - Resources fetched via resources.Get and similar are now considered global across languages. If you need, as an example, to create a CSS per language, you need to set the path yourself.
 - Add templates.Exists template function. This can be used to check if a template, e.g. a  partial, exists in the project or any of the themes in use.
 - Remove superflous loop
 - Update Chroma
 - Make resources fetched via resources.Get and similar language agnostic
 - Improve SCSS project vs themes import resolution
 - Improve _ prefix handling in SCSS imports
 - Fix file paths for uncached transformed images
 - Fix image cache eviction for sites with subdir in baseURL

Tested against amd64/i386 10.4-RELEASE, 11.1-RELEASE, 11.2-RELEASE, and 12.0-CURRENT. Poudriere logs attached, and also found here for a limited time:
https://logs.bnix.club/gohugo-0.46_2018-08-01/

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_2-RELEASE__amd64: success
11_2-RELEASE__i386: success
12_0-CURRENT__amd64: success
12_0-CURRENT__i386: success
Comment 1 Ben Lavery-Griffiths 2018-08-01 17:57:59 UTC
Created attachment 195725 [details]
Poudriere logs for all platforms
Comment 2 Mateusz Piotrowski freebsd_committer freebsd_triage 2018-08-01 18:01:53 UTC
Grab.
Comment 3 commit-hook freebsd_committer freebsd_triage 2018-08-02 09:06:36 UTC
A commit references this bug:

Author: 0mp
Date: Thu Aug  2 09:05:53 UTC 2018
New revision: 476226
URL: https://svnweb.freebsd.org/changeset/ports/476226

Log:
  www/gohugo: Update to 0.46

  Change log:
   - Resources fetched via resources.Get and similar are now considered global
     across languages. If you need, as an example, to create a CSS per language,
     you need to set the path yourself.
   - Add templates.Exists template function. This can be used to check if
     a template, e.g. a  partial, exists in the project or any of the themes
     in use.
   - Remove superflous loop
   - Update Chroma
   - Make resources fetched via resources.Get and similar language agnostic
   - Improve SCSS project vs themes import resolution
   - Improve _ prefix handling in SCSS imports
   - Fix file paths for uncached transformed images
   - Fix image cache eviction for sites with subdir in baseURL

  PR:	230268
  Submitted by:	ben.lavery@hashbang0.com (maintainer)
  Reviewed by:	mat (mentor)
  Approved by:	mat (mentor)
  Differential Revision:	https://reviews.freebsd.org/D16545

Changes:
  head/www/gohugo/Makefile
  head/www/gohugo/distinfo
Comment 4 Mateusz Piotrowski freebsd_committer freebsd_triage 2018-08-02 09:08:33 UTC
Committed :) Thanks for the patch!