commit: ea90a6d9967a9031e4dca78417f4409c7cd7b672 Author: Manuel Rüger <mrueg <AT> gentoo <DOT> org> AuthorDate: Tue Jul 24 13:47:22 2018 +0000 Commit: Manuel Rüger <mrueg <AT> gentoo <DOT> org> CommitDate: Tue Jul 24 13:47:22 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ea90a6d9
www-apps/hugo: Version bump to 0.45 Package-Manager: Portage-2.3.43, Repoman-2.3.10 www-apps/hugo/Manifest | 1 + www-apps/hugo/hugo-0.45.ebuild | 101 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 102 insertions(+) diff --git a/www-apps/hugo/Manifest b/www-apps/hugo/Manifest index e362d71e65a..43a8ac6917b 100644 --- a/www-apps/hugo/Manifest +++ b/www-apps/hugo/Manifest @@ -69,3 +69,4 @@ DIST github.com-yosssi-ace-ea038f4770b6746c3f8f84f14fa60d9fe1205b56.tar.gz 23279 DIST hugo-0.40.3.tar.gz 15168823 BLAKE2B d3e057c6e2da074813691b01e1965fb44b4ae5ca9882fe58d67ba897f628ca2810317eef7ab0c6437ae48ea1136554995f97d8e4e581e26201d61515c9de85ae SHA512 903911fb268b79c9981020b1f7b24a34bfd608f89feb902d45050870f442587349bf029df95b95196bf3e777ff5ade2b372cdb899ec1020fa8ae0fd621b644d3 DIST hugo-0.42.1.tar.gz 16529961 BLAKE2B b9b16de707a1d9a17a42147451ce365453a927b772a3eb3f40c835a7d14b55e707cd9e312e8ce8d6f4805a691fba3c967d1e4c01fca2487731efb30d5da4ea0d SHA512 bf3cfe09adfd736cd2c25da1dabfedaa8e262a46d6ba8fc8253b5a4ab1204d82c1fd3337be00ec85f530d54e3a6e23078aee93b379e1a00bceb952c637a1603a DIST hugo-0.44.tar.gz 17634657 BLAKE2B 6f21af5003b6a082df3cc3a64a6013c78f7c9fc5f81d56c1925d8ee3092f3381129599e008c1c9ca752cb6b40f405a6893664bee508cf55c700f59e5a9461ce5 SHA512 0cfd399a18e21c0596095c8e6817cf953b142624a1661e0e95944fccd74ca8e93072694e6a340300fbc93a739e744276893f42fafa44983beb5f6e5b60437cfe +DIST hugo-0.45.tar.gz 17989581 BLAKE2B 8813eefd07c0858458abb12f9fc91f22bb183ecdafe9eea86cb80f191c000b21a72dd1f22f6a47e0dc4c3046a74922b6cbbb8dfc5883b40244da2d503dbed97b SHA512 1f6d0139b2606dfe6c86d581390f76fa7989b70dd2cbc69c9ffef0fed8a7bef367af207cd2c5d9ad3558b97abc85381fd65025eb29b85dc59bb522f45be84ec0 diff --git a/www-apps/hugo/hugo-0.45.ebuild b/www-apps/hugo/hugo-0.45.ebuild new file mode 100644 index 00000000000..90cfbd05f99 --- /dev/null +++ b/www-apps/hugo/hugo-0.45.ebuild @@ -0,0 +1,101 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +EGO_VENDOR=( + "github.com/BurntSushi/locker a6e239ea1c69bff1cfdb20c4b73dadf52f784b6a" + "github.com/BurntSushi/toml a368813c5e648fee92e5f6c30e3944ff9d5e8895" + "github.com/PuerkitoBio/purell 0bcb03f4b4d0a9428594752bd2a3b9aa0a9d4bd4" + "github.com/PuerkitoBio/urlesc de5bf2ad457846296e2031421a34e2568e304e35" + "github.com/alecthomas/assert 405dbfeb8e38effee6e723317226e93fff912d06" + "github.com/alecthomas/chroma 1b755a90bd109f170385cb3964f0abdfd3451145" + "github.com/alecthomas/colour 60882d9e27213e8552dcff6328914fe4c2b44bc9" + "github.com/alecthomas/repr f49988b46e025398b9f834f7c726afe001ec481f" + "github.com/bep/debounce 844797fa1dd9ba969d71b62797ff19d1e49d4eac" + "github.com/bep/gitmap 012701e8669671499fc43e9792335a1dcbfe2afb" + "github.com/bep/go-tocss 2abb118dc8688b6c7df44e12f4152c2bded9b19c" + "github.com/chaseadamsio/goorgeous dcf1ef873b8987bf12596fe6951c48347986eb2f" + "github.com/cpuguy83/go-md2man a65d4d2de4d5f7c74868dfa9b202a3c8be315aaa" + "github.com/danwakefield/fnmatch cbb64ac3d964b81592e64f957ad53df015803288" + "github.com/davecgh/go-spew 346938d642f2ec3594ed81d874461961cd0faa76" + "github.com/disintegration/imaging dd50a3ee9985ccd313a2f03c398fcaedc96dc707" + "github.com/dlclark/regexp2 487489b64fb796de2e55f4e8a4ad1e145f80e957" + "github.com/eknkc/amber cdade1c073850f4ffc70a829e31235ea6892853b" + "github.com/fortytw2/leaktest a5ef70473c97b71626b9abeda80ee92ba2a7de9e" + "github.com/fsnotify/fsnotify 629574ca2a5df945712d3079857300b5e4da0236" + "github.com/gobwas/glob 5ccd90ef52e1e632236f7326478d4faa74f99438" + "github.com/gorilla/websocket ea4d1f681babbce9545c9c5f3d5194a789c89f5b" + "github.com/hashicorp/go-immutable-radix 7f3cd4390caab3250a57f30efdb2a65dd7649ecf" + "github.com/hashicorp/golang-lru 0fb14efe8c47ae851c0034ed7a448854d3d34cf3" + "github.com/hashicorp/hcl ef8a98b0bbce4a65b5aa4c368430a80ddc533168" + "github.com/inconshreveable/mousetrap 76626ae9c91c4f2a10f34cad8ce83ea42c93bb75" + "github.com/jdkato/prose 20d3663d4bc9dd10d75abcde9d92e04b4861c674" + "github.com/kyokomi/emoji 7e06b236c489543f53868841f188a294e3383eab" + "github.com/magefile/mage 2f974307b636f59c13b88704cf350a4772fef271" + "github.com/magiconair/properties c3beff4c2358b44d0493c7dda585e7db7ff28ae6" + "github.com/markbates/inflect a12c3aec81a6a938bf584a4bac567afed9256586" + "github.com/mattn/go-isatty 0360b2af4f38e8d38c7fce2a9f4e702702d73a39" + "github.com/mattn/go-runewidth 9e777a8366cce605130a531d2cd6363d07ad7317" + "github.com/miekg/mmark fd2f6c1403b37925bd7fe13af05853b8ae58ee5f" + "github.com/mitchellh/hashstructure 2bca23e0e452137f789efbc8610126fd8b94f73b" + "github.com/mitchellh/mapstructure 00c29f56e2386353d58c599509e8dc3801b0d716" + "github.com/muesli/smartcrop f6ebaa786a12a0fdb2d7c6dee72808e68c296464" + "github.com/nicksnyder/go-i18n 0dc1626d56435e9d605a29875701721c54bc9bbd" + "github.com/olekukonko/tablewriter b8a9be070da40449e501c3c4730a889e42d87a9e" + "github.com/pelletier/go-toml acdc4509485b587f5e675510c4f2c63e90ff68a8" + "github.com/pmezard/go-difflib 792786c7400a136282c1664665ae0a8db921c6c2" + "github.com/russross/blackfriday 11635eb403ff09dbc3a6b5a007ab5ab09151c229" + "github.com/sanity-io/litter ae543b7ba8fd6af63e4976198f146e1348ae53c1" + "github.com/sergi/go-diff 1744e2970ca51c86172c8190fadad617561ed6e7" + "github.com/shurcooL/sanitized_anchor_name 86672fcb3f950f35f2e675df2240550f2a50762f" + "github.com/spf13/afero 787d034dfe70e44075ccc060d346146ef53270ad" + "github.com/spf13/cast 8965335b8c7107321228e3e3702cab9832751bac" + "github.com/spf13/cobra a1f051bc3eba734da4772d60e2d677f47cf93ef4" + "github.com/spf13/fsync 12a01e648f05a938100a26858d2d59a120307a18" + "github.com/spf13/jwalterweatherman 7c0cea34c8ece3fbeb2b27ab9b59511d360fb394" + "github.com/spf13/nitro 24d7ef30a12da0bdc5e2eb370a79c659ddccf0e8" + "github.com/spf13/pflag e57e3eeb33f795204c1ca35f56c44f83227c6e66" + "github.com/spf13/viper b5e8006cbee93ec955a89ab31e0e3ce3204f3736" + "github.com/stretchr/testify 12b6f73e6084dad08a7c6e575284b177ecafbc71" + "github.com/tdewolff/minify 8d72a4127ae33b755e95bffede9b92e396267ce2" + "github.com/tdewolff/parse d739d6fccb0971177e06352fea02d3552625efb1" + "github.com/wellington/go-libsass 615eaa47ef794d037c1906a0eb7bf85375a5decf" + "github.com/yosssi/ace ea038f4770b6746c3f8f84f14fa60d9fe1205b56" + "golang.org/x/image f315e440302883054d0c2bd85486878cb4f8572c github.com/golang/image" + "golang.org/x/net 61147c48b25b599e5b561d2e9c4f3e1ef489ca41 github.com/golang/net" + "golang.org/x/sync 1d60e4601c6fd243af51cc01ddf169918a5407ca github.com/golang/sync" + "golang.org/x/sys 3b87a42e500a6dc65dae1a55d0b641295971163e github.com/golang/sys" + "golang.org/x/text 2cb43934f0eece38629746959acc633cba083fe4 github.com/golang/text" + "gopkg.in/yaml.v2 5420a8b6744d3b0345ab293f6fcba19c978f1183 github.com/go-yaml/yaml" ) + +inherit golang-build golang-vcs-snapshot bash-completion-r1 + +EGO_PN="github.com/gohugoio/hugo" +GIT_COMMIT="4172a835e544b867f292579019d0597439e596ba" +ARCHIVE_URI="https://${EGO_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" +KEYWORDS="~amd64" + +DESCRIPTION="A Fast and Flexible Static Site Generator built with love in Go" +HOMEPAGE="https://gohugo.io https://github.com/gohugoio/hugo" +SRC_URI="${ARCHIVE_URI} + ${EGO_VENDOR_URI}" +LICENSE="Apache-2.0" +SLOT="0" +IUSE="+sass" + +RESTRICT="test" + +src_compile() { + pushd src/${EGO_PN} || die + GOPATH="${S}" go install -v -ldflags "-X ${EGO_PN}/hugolib.CommitHash=${GIT_COMMIT}" $(usex sass "-tags extended" "") || die + popd || die + bin/hugo gen man || die + bin/hugo gen autocomplete --completionfile hugo || die +} + +src_install() { + dobin bin/* + dobashcomp hugo || die + doman man/* + dodoc src/${EGO_PN}/README.md +}