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 (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 58A63158094 for ; Wed, 17 Aug 2022 14:09:02 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5D384E07EF; Wed, 17 Aug 2022 14:09:01 +0000 (UTC) Received: from smtp.gentoo.org (smtp.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 F2C83E07EF for ; Wed, 17 Aug 2022 14:09:00 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 015D63412E7 for ; Wed, 17 Aug 2022 14:08:58 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 60EC656C for ; Wed, 17 Aug 2022 14:08:56 +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: <1660745321.a9379f55a9afcd3570a7cf51f8c9eb2abbc0c35c.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/metadata.xml www-apps/mycorrhiza/mycorrhiza-1.11.0.ebuild www-apps/mycorrhiza/mycorrhiza-9999.ebuild X-VCS-Directories: www-apps/mycorrhiza/ X-VCS-Committer: bratishkaerik X-VCS-Committer-Name: Eric Joldasov X-VCS-Revision: a9379f55a9afcd3570a7cf51f8c9eb2abbc0c35c X-VCS-Branch: dev Date: Wed, 17 Aug 2022 14:08:56 +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: 1a665f91-2fda-4ca5-a892-58b30628ac47 X-Archives-Hash: 2fc6f6da9ed9bf4ef89fb60a17a3eb89 commit: a9379f55a9afcd3570a7cf51f8c9eb2abbc0c35c Author: Eric Joldasov getgoogleoff me> AuthorDate: Wed Aug 17 14:08:41 2022 +0000 Commit: Eric Joldasov getgoogleoff me> CommitDate: Wed Aug 17 14:08:41 2022 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=a9379f55 www-apps/mycorrhiza: new package, add 1.11.0, 9999 Signed-off-by: Eric Joldasov getgoogleoff.me> www-apps/mycorrhiza/Manifest | 2 ++ www-apps/mycorrhiza/metadata.xml | 13 +++++++++ www-apps/mycorrhiza/mycorrhiza-1.11.0.ebuild | 41 +++++++++++++++++++++++++++ www-apps/mycorrhiza/mycorrhiza-9999.ebuild | 42 ++++++++++++++++++++++++++++ 4 files changed, 98 insertions(+) diff --git a/www-apps/mycorrhiza/Manifest b/www-apps/mycorrhiza/Manifest new file mode 100644 index 000000000..1bc7380f1 --- /dev/null +++ b/www-apps/mycorrhiza/Manifest @@ -0,0 +1,2 @@ +DIST mycorrhiza-1.11.0-deps.tar.bz2 21778870 BLAKE2B 33f7d048280b36fa67d41ecc5b78ddf21442af07f83e6751b556832a859cc21ab4613aa5d02df7d4a8a7c73795f8f546b692ca59fbe2fee38492532b7660c60a SHA512 99d4657506fe74d8736242ac36e1986783fe4d01dfdb61cabe55646f9b566fe72daeba2efc0dedbce21ab99b33553a8e449030959b4f11f475672f58ae9777c5 +DIST mycorrhiza-1.11.0.tar.gz 135211 BLAKE2B 58d59c8ac8e56a84711736c5c98e2524840fc54184bd3f250d883aa407066ffa4b5162d754c1162b5e53e1248ea634831e15be33db6adff268c93d7d478d48fe SHA512 be1a403b73d31462b41dcd3c3eb781312170ee9ac7bef7db4e01041197f2097f258f97fe3210e0e17079f5d579b8b8384e081659f9b77011804246336187a9d0 diff --git a/www-apps/mycorrhiza/metadata.xml b/www-apps/mycorrhiza/metadata.xml new file mode 100644 index 000000000..225a4d289 --- /dev/null +++ b/www-apps/mycorrhiza/metadata.xml @@ -0,0 +1,13 @@ + + + + + bratishkaerik@getgoogleoff.me + Eric Joldasov + + + bouncepaw/mycorrhiza + https://github.com/bouncepaw/mycorrhiza/issues + https://mycorrhiza.wiki + + diff --git a/www-apps/mycorrhiza/mycorrhiza-1.11.0.ebuild b/www-apps/mycorrhiza/mycorrhiza-1.11.0.ebuild new file mode 100644 index 000000000..b3734d7dd --- /dev/null +++ b/www-apps/mycorrhiza/mycorrhiza-1.11.0.ebuild @@ -0,0 +1,41 @@ +# Copyright 2022 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" + +SRC_URI=" + https://github.com/bouncepaw/mycorrhiza/archive/v${PV}.tar.gz -> ${P}.tar.gz + https://codeberg.org/BratishkaErik/distfiles/media/branch/master/${P}-deps.tar.bz2 +" +KEYWORDS="~amd64 ~x86" + +LICENSE="AGPL-3 MIT Apache-2.0 BSD BSD-2" +SLOT="0" + +BDEPEND=">=dev-lang/go-1.18.0" +RDEPEND="dev-vcs/git" + +src_compile() { + ego build -buildmode=pie -ldflags "-s -linkmode external -extldflags '${LDFLAGS}'" -trimpath . +} + +src_install() { + dobin mycorrhiza + doman help/mycorrhiza.1 + dodoc README.md +} + +pkg_postinst() { + elog "Quick start: /usr/bin/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" +} diff --git a/www-apps/mycorrhiza/mycorrhiza-9999.ebuild b/www-apps/mycorrhiza/mycorrhiza-9999.ebuild new file mode 100644 index 000000000..c55fba6a4 --- /dev/null +++ b/www-apps/mycorrhiza/mycorrhiza-9999.ebuild @@ -0,0 +1,42 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit go-module git-r3 + +DESCRIPTION="Git-based wiki engine written in Go using mycomarkup" +HOMEPAGE="https://mycorrhiza.wiki" + +EGIT_REPO_URI="https://github.com/bouncepaw/mycorrhiza" + +LICENSE="AGPL-3 MIT Apache-2.0 BSD BSD-2" +SLOT="0" + +BDEPEND=">=dev-lang/go-1.18.0" +RDEPEND="dev-vcs/git" + +src_unpack() { + git-r3_src_unpack + go-module_live_vendor +} + +src_compile() { + ego build -buildmode=pie -ldflags "-s -linkmode external -extldflags '${LDFLAGS}'" -trimpath . +} + +src_install() { + dobin mycorrhiza + doman help/mycorrhiza.1 + dodoc README.md +} + +pkg_postinst() { + elog "Quick start: /usr/bin/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" +}