From: Bjørn Erik Pedersen Date: Fri, 8 Apr 2016 19:11:44 +0000 (+0200) Subject: Make Hugo build without Mercurial X-Git-Tag: v0.16~102 X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=f2ff77f3ac3d2f347cc81f7aabf15d5b55cf2e0c;p=brevno-suite%2Fhugo Make Hugo build without Mercurial By creating a fork of the Bitbucket inflect repo. It hasn't changed since 2013, so it must be considered pretty stable. Fixes #2062 --- diff --git a/hugolib/site.go b/hugolib/site.go index 5deb98bd..f7615170 100644 --- a/hugolib/site.go +++ b/hugolib/site.go @@ -31,7 +31,7 @@ import ( "path" - "bitbucket.org/pkg/inflect" + "github.com/bep/inflect" "github.com/spf13/afero" "github.com/spf13/cast" bp "github.com/spf13/hugo/bufferpool" diff --git a/hugolib/site_test.go b/hugolib/site_test.go index 8cbe35d4..9f0abc98 100644 --- a/hugolib/site_test.go +++ b/hugolib/site_test.go @@ -23,7 +23,7 @@ import ( "testing" "time" - "bitbucket.org/pkg/inflect" + "github.com/bep/inflect" "github.com/spf13/hugo/helpers" "github.com/spf13/hugo/hugofs" diff --git a/tpl/template_funcs.go b/tpl/template_funcs.go index c3e80717..9131cc1e 100644 --- a/tpl/template_funcs.go +++ b/tpl/template_funcs.go @@ -24,8 +24,6 @@ import ( "encoding/json" "errors" "fmt" - "github.com/spf13/afero" - "github.com/spf13/hugo/hugofs" "html" "html/template" "math/rand" @@ -39,7 +37,10 @@ import ( "time" "unicode/utf8" - "bitbucket.org/pkg/inflect" + "github.com/spf13/afero" + "github.com/spf13/hugo/hugofs" + + "github.com/bep/inflect" "github.com/spf13/cast" "github.com/spf13/hugo/helpers"