From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id BEEA5138335 for ; Fri, 1 Nov 2019 14:11:35 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E21D8E08C4; Fri, 1 Nov 2019 14:11:34 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id BE996E08C4 for ; Fri, 1 Nov 2019 14:11:34 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 49D1034C660 for ; Fri, 1 Nov 2019 14:11:32 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 34D2A828 for ; Fri, 1 Nov 2019 14:11:30 +0000 (UTC) From: "Joonas Niilola" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Joonas Niilola" Message-ID: <1572616500.9c2552a8a319d603c14e0e3171884961154c24d3.juippis@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: www-apps/hugo/ X-VCS-Repository: repo/gentoo X-VCS-Files: www-apps/hugo/Manifest www-apps/hugo/hugo-0.58.3.ebuild X-VCS-Directories: www-apps/hugo/ X-VCS-Committer: juippis X-VCS-Committer-Name: Joonas Niilola X-VCS-Revision: 9c2552a8a319d603c14e0e3171884961154c24d3 X-VCS-Branch: master Date: Fri, 1 Nov 2019 14:11:30 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 8c7bf0ea-7d50-4cab-8cba-665db9d21a2e X-Archives-Hash: 34cc99a5e7a32ec49508120e9eb7a07b commit: 9c2552a8a319d603c14e0e3171884961154c24d3 Author: Kirill Che gmail com> AuthorDate: Tue Oct 29 13:34:38 2019 +0000 Commit: Joonas Niilola gentoo org> CommitDate: Fri Nov 1 13:55:00 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9c2552a8 www-apps/hugo: bump version to 0.58.3 Package-Manager: Portage-2.3.76, Repoman-2.3.16 Signed-off-by: Kirill Che gmail.com> Signed-off-by: Joonas Niilola gentoo.org> www-apps/hugo/Manifest | 1 + www-apps/hugo/hugo-0.58.3.ebuild | 39 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 40 insertions(+) diff --git a/www-apps/hugo/Manifest b/www-apps/hugo/Manifest index 452006af8e2..8d1599fd4f5 100644 --- a/www-apps/hugo/Manifest +++ b/www-apps/hugo/Manifest @@ -127,3 +127,4 @@ DIST github.com-yosssi-ace-ea038f4770b6746c3f8f84f14fa60d9fe1205b56.tar.gz 23279 DIST github.com-yosssi-ace-v0.0.5.tar.gz 23277 BLAKE2B 6720498744342dcef520d5af05a889e1abc07b77eb64ff5a2e38ae6b2c0c239363a66275f7a37f50f4a0073e232f39c09be894e1f8cf8a0639bb787023136469 SHA512 1bc93544fb64088271ffca5c2ec4bd136a18527968b4341c2108c6b7156d78292e6d0c5c50fe80cda24bcd17c2d1204af597c0c3281248c3842d1fdc4838b54f DIST hugo-0.48.tar.gz 18884670 BLAKE2B 1d3207fdc28b293cb76b601213454209d22cbc6eec7bde171c7f249d35be99399a8f07f201d5abf4bda7669ccfa32e588267555e3162b7d9a00887b58b890e0d SHA512 77eefb93288f2208db8e65a0f2ea84a4940a773237854e3f0c3dc41c8f6e67b6db1b98ff243a3665b3e02703089f6242354d185f0e110a72794867beda76ab81 DIST hugo-0.50.tar.gz 19943257 BLAKE2B 0c6d31c0ab94655d45bce9c42a41bbdfa3011322bf03860b3970ad94ebcedc67f0c32a805442f9f7666fc14054d75eb744e004a9feef6f93bcb50d4052cc024b SHA512 0cb48f30ea008382ee7c90d28713999014153d930ffad72a910cd25bdd868f9f9bb91d5825b8eebc967680a33736a69ed71b93699ca629618ae6fdbf669ca661 +DIST hugo-0.58.3.tar.gz 35274155 BLAKE2B 5f60a49ebdba3a1f259f0670b53eee011c8145d774ab5ab58773420adc00020bfd2c666284f069e25d5274b9e10959ba40a4dd3d65e2091880f03e34ca5177c7 SHA512 b51a83a3853e985dbd79f681198f2c41621ad4253b1b04359264cd9bc5037fffe2fafc4bffafd47dd44bb8880b3f6b3e32ea72e4e352099c08c392f5ab1ebe2e diff --git a/www-apps/hugo/hugo-0.58.3.ebuild b/www-apps/hugo/hugo-0.58.3.ebuild new file mode 100644 index 00000000000..80f8f7e111c --- /dev/null +++ b/www-apps/hugo/hugo-0.58.3.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +inherit go-module bash-completion-r1 + +# The fork with prefetched vendor packages using `go mod vendor` +EGO_PN="github.com/g4s8/hugo" +GIT_COMMIT="e5194ddedf51ecb3a0c63cf5f5aa82a3be21c8cf" +KEYWORDS="~amd64" + +DESCRIPTION="The world's fastest framework for building websites" +HOMEPAGE="https://gohugo.io https://github.com/gohugoio/hugo" +SRC_URI="https://${EGO_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" +LICENSE="Apache-2.0 Unlicense BSD BSD-2 MPL-2.0" +SLOT="0" +IUSE="+sass +bash-completion" + +RESTRICT="test" + +src_compile() { + mkdir -pv bin || die + go build -ldflags \ + "-X ${EGO_PN}/hugolib.CommitHash=${GIT_COMMIT}" \ + $(usex sass "-tags extended" "") -o "${S}/bin/hugo" || die + bin/hugo gen man || die + if use bash-completion ; then + bin/hugo gen autocomplete --completionfile hugo || die + fi +} + +src_install() { + dobin bin/* + if use bash-completion ; then + dobashcomp hugo || die + fi + doman man/* + dodoc README.md +}