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 F1148158089 for ; Thu, 9 Nov 2023 06:45:37 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 410412BC02D; Thu, 9 Nov 2023 06:45:37 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (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 pigeon.gentoo.org (Postfix) with ESMTPS id 22FF92BC02D for ; Thu, 9 Nov 2023 06:45: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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 34ED0335D16 for ; Thu, 9 Nov 2023 06:45:36 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 992BFAAC for ; Thu, 9 Nov 2023 06:45:34 +0000 (UTC) From: "Haelwenn Monnier" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Haelwenn Monnier" Message-ID: <1699512193.3ab24edf734372fa9de6da441060dec2003dfe04.lanodan@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: www-apps/pleroma-fe/ X-VCS-Repository: repo/proj/guru X-VCS-Files: www-apps/pleroma-fe/Manifest www-apps/pleroma-fe/metadata.xml www-apps/pleroma-fe/pleroma-fe-2.6.0.ebuild www-apps/pleroma-fe/pleroma-fe-9999.ebuild X-VCS-Directories: www-apps/pleroma-fe/ X-VCS-Committer: lanodan X-VCS-Committer-Name: Haelwenn Monnier X-VCS-Revision: 3ab24edf734372fa9de6da441060dec2003dfe04 X-VCS-Branch: dev Date: Thu, 9 Nov 2023 06:45:34 +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: 234c5c0f-236b-4cca-a1c2-4987a1442455 X-Archives-Hash: 27726757c44f95c6974def05296fe624 commit: 3ab24edf734372fa9de6da441060dec2003dfe04 Author: Haelwenn (lanodan) Monnier hacktivis me> AuthorDate: Thu Nov 9 06:20:30 2023 +0000 Commit: Haelwenn Monnier hacktivis me> CommitDate: Thu Nov 9 06:43:13 2023 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=3ab24edf www-apps/pleroma-fe: new package, add 2.6.0, 9999 Signed-off-by: Haelwenn (lanodan) Monnier hacktivis.me> www-apps/pleroma-fe/Manifest | 1 + www-apps/pleroma-fe/metadata.xml | 8 +++++ www-apps/pleroma-fe/pleroma-fe-2.6.0.ebuild | 51 +++++++++++++++++++++++++++++ www-apps/pleroma-fe/pleroma-fe-9999.ebuild | 51 +++++++++++++++++++++++++++++ 4 files changed, 111 insertions(+) diff --git a/www-apps/pleroma-fe/Manifest b/www-apps/pleroma-fe/Manifest new file mode 100644 index 0000000000..b004923313 --- /dev/null +++ b/www-apps/pleroma-fe/Manifest @@ -0,0 +1 @@ +DIST pleroma-fe-2.6.0.tar.gz 4753735 BLAKE2B 21edb9d26b1c8cdc45ed9b9aa13d1b8b737112ab67f85a0c111ec0e9d29f112a4ef06312493c64bbc6be175f793e4e877f6849254de548337c470006b3779cb0 SHA512 13b17a71ab0feb7c7bb6c691f20cc8789c5589cdda642b7888cc0d16e284c32949fdda4df23ed2e610267ce898dea1b8db5620befe66cfe3c9d2a12f1e088d72 diff --git a/www-apps/pleroma-fe/metadata.xml b/www-apps/pleroma-fe/metadata.xml new file mode 100644 index 0000000000..2092bcc33a --- /dev/null +++ b/www-apps/pleroma-fe/metadata.xml @@ -0,0 +1,8 @@ + + + + + contact@hacktivis.me + Haelwenn (lanodan) Monnier + + diff --git a/www-apps/pleroma-fe/pleroma-fe-2.6.0.ebuild b/www-apps/pleroma-fe/pleroma-fe-2.6.0.ebuild new file mode 100644 index 0000000000..fc69ddfbc4 --- /dev/null +++ b/www-apps/pleroma-fe/pleroma-fe-2.6.0.ebuild @@ -0,0 +1,51 @@ +# Copyright 2023 Haelwenn (lanodan) Monnier +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="Main frontend for www-apps/pleroma, inspired by qvitter" +HOMEPAGE="https://pleroma.social/ https://git.pleroma.social/pleroma/pleroma-fe" +if [[ "${PV}" == *9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://git.pleroma.social/pleroma/pleroma-fe" +else + SRC_URI="https://git.pleroma.social/pleroma/pleroma-fe/-/archive/${PV}/${P}.tar.gz" + KEYWORDS="~amd64" +fi +LICENSE="AGPL-3 MIT ISC Apache-2.0" +SLOT="0" +IUSE="" + +# Requires network access (https) as long as NPM dependencies aren't packaged +# said dependencies have their checksum verified via `yarn.lock` +RESTRICT="network-sandbox" + +BDEPEND=" + net-libs/nodejs + sys-apps/yarn +" + +src_unpack() { + default + + [[ "${PV}" == *9999 ]] && git-r3_src_unpack + + cd "${S}" || die + yarn install --no-bin-links --frozen-lockfile --non-interactive || die +} + +# FIXME src_prepare: Point to the correct source repo, needed for AGPL compliance + +src_compile() { + yarn run build || die +} + +src_install() { + insinto "/opt/pleroma-fe" + doins -r dist +} + +pkg_postinst() { + elog 'You will need to add the following line in /etc/pleroma/config.exs to make use of this frontend:' + elog 'config :pleroma, :frontends, primary: %{"name" => "pleroma-fe", "ref" => "gentoo"}' +} diff --git a/www-apps/pleroma-fe/pleroma-fe-9999.ebuild b/www-apps/pleroma-fe/pleroma-fe-9999.ebuild new file mode 100644 index 0000000000..fc69ddfbc4 --- /dev/null +++ b/www-apps/pleroma-fe/pleroma-fe-9999.ebuild @@ -0,0 +1,51 @@ +# Copyright 2023 Haelwenn (lanodan) Monnier +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="Main frontend for www-apps/pleroma, inspired by qvitter" +HOMEPAGE="https://pleroma.social/ https://git.pleroma.social/pleroma/pleroma-fe" +if [[ "${PV}" == *9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://git.pleroma.social/pleroma/pleroma-fe" +else + SRC_URI="https://git.pleroma.social/pleroma/pleroma-fe/-/archive/${PV}/${P}.tar.gz" + KEYWORDS="~amd64" +fi +LICENSE="AGPL-3 MIT ISC Apache-2.0" +SLOT="0" +IUSE="" + +# Requires network access (https) as long as NPM dependencies aren't packaged +# said dependencies have their checksum verified via `yarn.lock` +RESTRICT="network-sandbox" + +BDEPEND=" + net-libs/nodejs + sys-apps/yarn +" + +src_unpack() { + default + + [[ "${PV}" == *9999 ]] && git-r3_src_unpack + + cd "${S}" || die + yarn install --no-bin-links --frozen-lockfile --non-interactive || die +} + +# FIXME src_prepare: Point to the correct source repo, needed for AGPL compliance + +src_compile() { + yarn run build || die +} + +src_install() { + insinto "/opt/pleroma-fe" + doins -r dist +} + +pkg_postinst() { + elog 'You will need to add the following line in /etc/pleroma/config.exs to make use of this frontend:' + elog 'config :pleroma, :frontends, primary: %{"name" => "pleroma-fe", "ref" => "gentoo"}' +}