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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id D4D89158042 for ; Mon, 28 Oct 2024 22:10:38 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 322FDE0856; Mon, 28 Oct 2024 22:10:38 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 1AEBCE0856 for ; Mon, 28 Oct 2024 22:10:37 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id CC4233430D5 for ; Mon, 28 Oct 2024 22:10:36 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 34F471626 for ; Mon, 28 Oct 2024 22:10:35 +0000 (UTC) From: "Eric Joldasov" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Eric Joldasov" Message-ID: <1730153290.792ca5ff15b5ef5b16a07c63acccc63270812d25.bratishkaerik@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: www-apps/mycorrhiza/ X-VCS-Repository: repo/proj/guru X-VCS-Files: www-apps/mycorrhiza/Manifest www-apps/mycorrhiza/mycorrhiza-1.15.1.ebuild X-VCS-Directories: www-apps/mycorrhiza/ X-VCS-Committer: bratishkaerik X-VCS-Committer-Name: Eric Joldasov X-VCS-Revision: 792ca5ff15b5ef5b16a07c63acccc63270812d25 X-VCS-Branch: dev Date: Mon, 28 Oct 2024 22:10:35 +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: 1282b918-ffae-45c2-80cc-c5dfca3ff792 X-Archives-Hash: e40a90149f68cbaa8ad2a093924b6749 commit: 792ca5ff15b5ef5b16a07c63acccc63270812d25 Author: Eric Joldasov landless-city net> AuthorDate: Mon Oct 28 22:08:10 2024 +0000 Commit: Eric Joldasov getgoogleoff me> CommitDate: Mon Oct 28 22:08:10 2024 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=792ca5ff www-apps/mycorrhiza: add 1.15.1 Signed-off-by: Eric Joldasov landless-city.net> www-apps/mycorrhiza/Manifest | 2 + www-apps/mycorrhiza/mycorrhiza-1.15.1.ebuild | 61 ++++++++++++++++++++++++++++ 2 files changed, 63 insertions(+) diff --git a/www-apps/mycorrhiza/Manifest b/www-apps/mycorrhiza/Manifest index cdb127e91..b1e63ccbc 100644 --- a/www-apps/mycorrhiza/Manifest +++ b/www-apps/mycorrhiza/Manifest @@ -1,2 +1,4 @@ DIST mycorrhiza-1.15.0-vendor.tar.xz 670776 BLAKE2B d43effa83bbff937419d4c9aeacb6c0107141653e26e78b98e27c975db47f170bdaf40f49a9f3d24a382a897963480f1500549ec3b16af3703b0702016a89a7a SHA512 5145107c91e8c58a71b7778731c6a40d4df791ada86a850c52c7358000fc398788510334b93d0e28e1053d1ed7013e80aaf0d500bc87c906e33822990467d7ca DIST mycorrhiza-1.15.0.tar.gz 141894 BLAKE2B ebb47ac42d0a1c2779e531473cb18c91c4e926a0f8d3c492b5aa8221d0e44f6ac79d9e7ba8e586375ec962e4fc0eb0c5a2c579bf28ca6c492e63cf106e9164ec SHA512 6ff0aada001d0b6be31aa1d8418e42b4db7166f0a97a5a5d627e7bfed64d9fe84bdc5fe30640249955fb406d6a725e4bd26fbf9931602b5a5ab9655d9da8432b +DIST mycorrhiza-1.15.1-vendor.tar.xz 684328 BLAKE2B dd6dff33d1169a830863ec52c861ac8580340da737036c8058b78965678a8b513e19bbd59c7fa9336ac49c51be292074c29639a45c6db1b327f8b6796bbf6d86 SHA512 f08c047d42e2b8b8dc7be188648405a365a01390f95d5f72d31526dbdf727f63a9fb9c50438d28326ff878fdcaac2023f0b5bdc2a38a1562c93272e7a26305f4 +DIST mycorrhiza-1.15.1.tar.gz 135532 BLAKE2B e7895f32b942a02ae9b732f1ef5bbe4691d6fa60ecf47561d9579ab535504d7c05327da1036ff78cb493502e8799710f728a7d0fda7b39e20767f26d281e3d6a SHA512 54f6b18b7dc9bdcbbe6461f0f39be0cafe49c2f6d2bfb43831bc899dd1cdeffd3e8a7a52c6e9fac685619048867888945bcc9e4f2999a0915b3a6ec04ea4cee6 diff --git a/www-apps/mycorrhiza/mycorrhiza-1.15.1.ebuild b/www-apps/mycorrhiza/mycorrhiza-1.15.1.ebuild new file mode 100644 index 000000000..aaa026ade --- /dev/null +++ b/www-apps/mycorrhiza/mycorrhiza-1.15.1.ebuild @@ -0,0 +1,61 @@ +# Copyright 2022-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit go-module + +DESCRIPTION="Git-based wiki engine written in Go using mycomarkup" +HOMEPAGE="https://mycorrhiza.wiki" + +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" + +RESTRICT="mirror" + +BDEPEND=">=dev-lang/go-1.22" +RDEPEND="dev-vcs/git" + +DOCS=( "README.md" ) + +src_unpack() { + if [[ ${PV} == 9999 ]]; then + git-r3_src_unpack + go-module_live_vendor + fi + go-module_src_unpack +} + +src_compile() { + 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 +} + +pkg_postinst() { + elog "Quick start: mycorrhiza /your/wiki/directory" + elog + elog "It will initialize a Git repository, set useful default settings" + elog "And run a server on http://localhost:1737" + elog "More information here: https://mycorrhiza.wiki/" + elog "Also your wiki has built-in documentation :)" + elog "You can view this documentation at http://localhost:1737/help" +}