[Bug 227574] www/gohugo: Update to 0.39

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Apr 17 08:50:28 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227574

            Bug ID: 227574
           Summary: www/gohugo: Update to 0.39
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs at FreeBSD.org
          Reporter: ben.lavery at hashbang0.com

Created attachment 192584
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=192584&action=edit
svn diff to upgrade to 0.39

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

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

Change log:
The main.Execute function now returns a Response object and the global Hugo
variable is removed. This is only relevant for people building some kind of API
around Hugo.
Remove deprecated File.Bytes
Add anchorize template func 
Add path.Join 
Add path.Split template func
Implement Resource.Content 
Make Page.Content a method that returns interface{} 
Remove accidental and breaking space in baseURL flag 
Properly handle CLI slice arguments 
Correctly handle destination and i18n-warnings 
Allow "*/" inside commented out shortcodes 
Make commands.Execute return a Response object 
Remove some TODOs 
Add basic server test 
Remove the Hugo global 
Make the limit command work again 
Move the commands related logic to its own file 
Add CLI tests 
Make the hugo command non-global 
Extract some common types into its own file 
Make the server command non-global 
Make the gen commands non-global 
Make the list commands non-global 
Make the import commands non-global 
Make the config command non-global 
Make the new commands non-global 
Make convert command non-global 
Make more commands non-global 
Make benchmark non-global 
Start of flag cleaning 
Use short date format in CLI docs 
Update README.md 
Sync dependencies 
Bump Go versions 
Add bash completion 
Handle mass content etc. edits in server mode 
Fix livereload of bundled pages 
Do not reset .Page.Scratch on rebuilds 
Fix failing Travis server test 
Fix the config command 
Fix some flag diff 
Fix TestFixURL 
Disable shallow clone to fix TestPageWithLastmodFromGitInfo 
Fix livereload for the home page bundle 
Fix empty BuildDate in "hugo version" 
Fix some livereload content regressions 
Fix two tests that are broken on Windows

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.39_2018-04-16/

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

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list