From: "Eric Joldasov" <bratishkaerik@getgoogleoff.me>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: www-apps/mycorrhiza/
Date: Mon, 28 Oct 2024 22:10:35 +0000 (UTC) [thread overview]
Message-ID: <1730153304.1d7914418b697ed09d4b1e4774c2dd02267e9064.bratishkaerik@gentoo> (raw)
commit: 1d7914418b697ed09d4b1e4774c2dd02267e9064
Author: Eric Joldasov <bratishkaerik <AT> landless-city <DOT> net>
AuthorDate: Mon Oct 28 22:08:24 2024 +0000
Commit: Eric Joldasov <bratishkaerik <AT> getgoogleoff <DOT> me>
CommitDate: Mon Oct 28 22:08:24 2024 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=1d791441
www-apps/mycorrhiza: sync 9999 with 1.15.1
Signed-off-by: Eric Joldasov <bratishkaerik <AT> landless-city.net>
www-apps/mycorrhiza/mycorrhiza-9999.ebuild | 36 ++++++++++++++++++++++--------
1 file changed, 27 insertions(+), 9 deletions(-)
diff --git a/www-apps/mycorrhiza/mycorrhiza-9999.ebuild b/www-apps/mycorrhiza/mycorrhiza-9999.ebuild
index a25c3ce31..aaa026ade 100644
--- a/www-apps/mycorrhiza/mycorrhiza-9999.ebuild
+++ b/www-apps/mycorrhiza/mycorrhiza-9999.ebuild
@@ -1,35 +1,53 @@
-# Copyright 2022 Gentoo Authors
+# Copyright 2022-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
-inherit go-module git-r3
+inherit go-module
DESCRIPTION="Git-based wiki engine written in Go using mycomarkup"
HOMEPAGE="https://mycorrhiza.wiki"
-EGIT_REPO_URI="https://github.com/bouncepaw/mycorrhiza"
+if [[ ${PV} == 9999 ]]; then
+ EGIT_REPO_URI="https://github.com/bouncepaw/mycorrhiza"
+ inherit git-r3
+else
+ SRC_URI="
+ https://github.com/bouncepaw/mycorrhiza/archive/v${PV}.tar.gz -> ${P}.tar.gz
+ https://codeberg.org/BratishkaErik/distfiles/releases/download/mycorrhiza-${PV}/mycorrhiza-${PV}-vendor.tar.xz
+ "
+ KEYWORDS="~amd64 ~x86"
+fi
LICENSE="AGPL-3 MIT Apache-2.0 BSD BSD-2 CC-BY-4.0"
SLOT="0"
-BDEPEND=">=dev-lang/go-1.19.0"
+RESTRICT="mirror"
+
+BDEPEND=">=dev-lang/go-1.22"
RDEPEND="dev-vcs/git"
+DOCS=( "README.md" )
+
src_unpack() {
- git-r3_src_unpack
- go-module_live_vendor
+ if [[ ${PV} == 9999 ]]; then
+ git-r3_src_unpack
+ go-module_live_vendor
+ fi
+ go-module_src_unpack
}
src_compile() {
- ego build -buildmode=pie -ldflags "-s -linkmode external -extldflags '${LDFLAGS}'" -trimpath .
+ GOFLAGS+=" -mod=vendor -trimpath"
+ local go_ldflags="-s -linkmode external -extldflags \"${LDFLAGS}\""
+ ego build ${GOFLAGS} -ldflags="${go_ldflags}" .
}
src_install() {
dobin mycorrhiza
+
+ einstalldocs
doman help/mycorrhiza.1
- dodoc Boilerplate.md
- dodoc README.md
}
pkg_postinst() {
next reply other threads:[~2024-10-28 22:10 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-10-28 22:10 Eric Joldasov [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-10-28 22:13 [gentoo-commits] repo/proj/guru:dev commit in: www-apps/mycorrhiza/ Eric Joldasov
2024-10-28 22:10 Eric Joldasov
2024-10-28 22:10 Eric Joldasov
2024-08-01 19:19 Eric Joldasov
2024-07-31 19:51 Eric Joldasov
2023-04-16 6:14 Eric Joldasov
2023-04-07 13:57 Eric Joldasov
2022-11-05 8:28 Eric Joldasov
2022-11-04 17:05 Eric Joldasov
2022-11-04 17:03 Eric Joldasov
2022-09-11 4:29 Eric Joldasov
2022-08-17 14:08 Eric Joldasov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1730153304.1d7914418b697ed09d4b1e4774c2dd02267e9064.bratishkaerik@gentoo \
--to=bratishkaerik@getgoogleoff.me \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox