1 |
commit: 401f5a7f8ed865fa48674b4346637e2aae896fd8 |
2 |
Author: Ronny (tastytea) Gutbrod <gentoo <AT> tastytea <DOT> de> |
3 |
AuthorDate: Mon Mar 21 14:21:08 2022 +0000 |
4 |
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Mar 26 13:34:59 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=401f5a7f |
7 |
|
8 |
www-apps/hugo: drop 0.92.2 |
9 |
|
10 |
Signed-off-by: Ronny (tastytea) Gutbrod <gentoo <AT> tastytea.de> |
11 |
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org> |
12 |
|
13 |
www-apps/hugo/Manifest | 2 -- |
14 |
www-apps/hugo/hugo-0.92.2.ebuild | 77 ---------------------------------------- |
15 |
2 files changed, 79 deletions(-) |
16 |
|
17 |
diff --git a/www-apps/hugo/Manifest b/www-apps/hugo/Manifest |
18 |
index 57fb591a8940..98fe7b7c6897 100644 |
19 |
--- a/www-apps/hugo/Manifest |
20 |
+++ b/www-apps/hugo/Manifest |
21 |
@@ -1,4 +1,2 @@ |
22 |
-DIST hugo-0.92.2-vendor.tar.xz 5607964 BLAKE2B 290e064ed87189503999e54bcf25c18b698cfb64cbb32d73765267bac19a3de53b739c695d40fa6e553e1052cae620cf15fca3e34e18132b2f9ff5389227ddb2 SHA512 23218cd4e68e2f4a0b6fd5f1b86408290f3ccb619ecc694c536ccc9074bd3ab3e6f68a14189abdd44ec9761f85901cb2c3ae072a98f292a82f00276e763cbe32 |
23 |
-DIST hugo-0.92.2.tar.gz 28559963 BLAKE2B 05d486aa490d9c9350353cb32f1c64133a8c358584efbdc82290e13e963620bf3984ccdf8cd8c6f93216f71e03c061659d5ef4904c35c030c62f1c43d64549dd SHA512 4a4c8ab730c1cc839e3e15a29b1200fa969402efa40774022a70fae11d98819173f6002ed3ee4a84ce1148c0744c82ce16ee0fec409935a903130ae71d62ba24 |
24 |
DIST hugo-0.93.3-vendor.tar.xz 4828092 BLAKE2B 4df3e876ffcc71f4caa089512510bec47f9e3aa25240ed6cc9ed9e7faef7425b3f7bdd03293023f103a0b8927ecbdf7fe3d9f36f5a66db580dfc8f0ddb9dc310 SHA512 6c93a8435552553079e856f8a74eef76e23ab7343e6e65ac83f9f1675c5fe44547f5d3f700656c0e666bc668792be38e343cfaebbfb23b5ece28ddfa0896755c |
25 |
DIST hugo-0.93.3.tar.gz 27852078 BLAKE2B 8e21fcbacc55cb304314d24f7a1258c9192655cb603e33c2ac2cac5fcc21f83045c1fc3a3ee7bd227507fd08be54e15dcd9cc9629e320bae9b41f1c87d03e163 SHA512 c65cc776588604a6ca2fbe5c4081db252ec007311eae54ed81ea65e983f1787edf6e10774d8ace82284eb7c42f6cb70650135ec44b2ddc8994ed511ba2a7d55e |
26 |
|
27 |
diff --git a/www-apps/hugo/hugo-0.92.2.ebuild b/www-apps/hugo/hugo-0.92.2.ebuild |
28 |
deleted file mode 100644 |
29 |
index 851d5d9e67b6..000000000000 |
30 |
--- a/www-apps/hugo/hugo-0.92.2.ebuild |
31 |
+++ /dev/null |
32 |
@@ -1,77 +0,0 @@ |
33 |
-# Copyright 1999-2022 Gentoo Authors |
34 |
-# Distributed under the terms of the GNU General Public License v2 |
35 |
- |
36 |
-EAPI=8 |
37 |
- |
38 |
-inherit go-module bash-completion-r1 |
39 |
- |
40 |
-DESCRIPTION="The world's fastest framework for building websites" |
41 |
-HOMEPAGE="https://gohugo.io https://github.com/gohugoio/hugo" |
42 |
-SRC_URI=" |
43 |
- https://github.com/gohugoio/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz |
44 |
- https://tastytea.de/files/${P}-vendor.tar.xz |
45 |
-" |
46 |
- |
47 |
-# NOTE: To create the vendor tarball, run: |
48 |
-# `go mod vendor && cd .. && tar -cJf ${P}-vendor.tar.xz ${P}/vendor` |
49 |
- |
50 |
-LICENSE="Apache-2.0 BSD BSD-2 MIT Unlicense" |
51 |
-SLOT="0" |
52 |
-KEYWORDS="~amd64 ~x86" |
53 |
-IUSE="doc +sass" |
54 |
- |
55 |
-BDEPEND=">=dev-lang/go-1.16.0" |
56 |
-RDEPEND=" |
57 |
- media-libs/libwebp |
58 |
- sass? ( dev-libs/libsass ) |
59 |
-" |
60 |
-DEPEND="${RDEPEND}" |
61 |
- |
62 |
-PATCHES=( "${FILESDIR}/${PN}-0.92.2-link-to-webp-and-sass.patch" ) |
63 |
- |
64 |
-src_configure() { |
65 |
- export CGO_ENABLED=1 |
66 |
- export CGO_CFLAGS="${CFLAGS}" |
67 |
- export CGO_CPPFLAGS="${CPPFLAGS} -DLIBWEBP_NO_SRC -DUSE_LIBSASS_SRC" |
68 |
- export CGO_CXXFLAGS="${CXXFLAGS}" |
69 |
- export CGO_LDFLAGS="${LDFLAGS}" |
70 |
- |
71 |
- default |
72 |
-} |
73 |
- |
74 |
-src_compile() { |
75 |
- mkdir -pv bin || die |
76 |
- local my_import_path="github.com/gohugoio/hugo/common" |
77 |
- local mybuildtags="-tags $(usev sass "extended,")nodeploy" |
78 |
- go build -ldflags \ |
79 |
- "-X ${my_import_path}/hugo.buildDate=$(date --iso-8601=seconds) -X ${my_import_path}/hugo.vendorInfo=Gentoo" \ |
80 |
- ${mybuildtags} -o "${S}/bin/hugo" || die |
81 |
- |
82 |
- bin/hugo gen man --dir man || die |
83 |
- |
84 |
- mkdir -pv completions || die |
85 |
- bin/hugo completion bash > completions/hugo || die |
86 |
- bin/hugo completion fish > completions/hugo.fish || die |
87 |
- bin/hugo completion zsh > completions/_hugo || die |
88 |
- |
89 |
- if use doc ; then |
90 |
- bin/hugo gen doc --dir doc || die |
91 |
- fi |
92 |
-} |
93 |
- |
94 |
-src_install() { |
95 |
- dobin bin/* |
96 |
- doman man/* |
97 |
- |
98 |
- dobashcomp completions/${PN} |
99 |
- |
100 |
- insinto /usr/share/fish/vendor_completions.d |
101 |
- doins completions/${PN}.fish |
102 |
- |
103 |
- insinto /usr/share/zsh/site-functions |
104 |
- doins completions/_${PN} |
105 |
- |
106 |
- if use doc ; then |
107 |
- dodoc -r doc/* |
108 |
- fi |
109 |
-} |