commit: fb636396a91b41371fa760707c673c1d58fbf856 parent: 2699f3e86c2b69e8be62344aabbd8b1175646074 Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me> Date: Tue, 30 Jul 2019 22:26:42 +0200 www-apps/pleroma: WIP, don’t useDiffstat:
A | www-apps/pleroma/Manifest | 1 | + |
A | www-apps/pleroma/metadata.xml | 8 | ++++++++ |
A | www-apps/pleroma/pleroma-1.0.2.ebuild | 80 | +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
A | www-apps/pleroma/pleroma-9999.ebuild | 80 | +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
4 files changed, 169 insertions(+), 0 deletions(-)
diff --git a/www-apps/pleroma/Manifest b/www-apps/pleroma/Manifest @@ -0,0 +1 @@ +DIST pleroma-v1.0.2.tar.bz2 22504184 BLAKE2B f71e81841890b02a945163b9cd1914d257c937d2577a4ba24362299c18a2804f998c352fd4a885b92a2ef38ba1f7e181c80f9de65af19084d8e5a7428402e927 SHA512 854109957e20770bf6695ef31044ee5428812becf8f4c2bde80390255ff97c2d22b54b373782a315f997db36e2760f8291b964a0f1264e090ea2f833fd57507e diff --git a/www-apps/pleroma/metadata.xml b/www-apps/pleroma/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>contact@hacktivis.me</email> + <name>Haelwenn (lanodan) Monnier</name> + </maintainer> +</pkgmetadata> diff --git a/www-apps/pleroma/pleroma-1.0.2.ebuild b/www-apps/pleroma/pleroma-1.0.2.ebuild @@ -0,0 +1,80 @@ +# Copyright 2019 Haelwenn (lanodan) Monnier <contact@hacktivis.me> +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit mix + +DESCRIPTION="Microblogging software federating over OStatus and ActivityPub" +HOMEPAGE="https://pleroma.social/" +LICENSE="AGPL-3 CC-BY-SA-4.0 Unsplash" +if [[ "${PV}" == "9999" ]]; then + inherit git-r3 + EGIT_REPO_URI="https://git.pleroma.social/pleroma/pleroma.git" +else + SRC_URI="https://git.pleroma.social/pleroma/pleroma/-/archive/v${PV}/pleroma-v${PV}.tar.bz2" + KEYWORDS="~amd64 ~arm ~arm64" +fi +SLOT="0" +IUSE="" + +# dev-lang/erlang is required for binary compat +DEPEND=" + dev-lang/erlang:= + >=dev-lang/elixir-1.7:= + dev-elixir/auto_linker + >=dev-elixir/cachex-3.0.2 + >=dev-elixir/calendar-0.17.4 + >=dev-elixir/comeonin-4.1.1 + >=dev-elixir/cors_plug-1.5 + >=dev-elixir/credo-0.9.3 + dev-elixir/crypt + >=dev-elixir/earmark-1.3 + >=dev-elixir/ecto_sql-3.0.5 + >=dev-elixir/ex_aws-2.0 + >=dev-elixir/ex_aws_s3-2.0 + >=dev-elixir/ex_doc-1.5 + >=dev-elixir/ex_machina-2.3 + >=dev-elixir/ex_syslogger-1.4.0 + >=dev-elixir/floki-0.20.0 + >=dev-elixir/gen_smtp-0.13 + >=dev-elixir/gettext-0.15 + >=dev-elixir/html_entities-0.4 + >=dev-elixir/html_sanitize_ex-1.3.0 + >=dev-elixir/httpoison-1.2.0 + >=dev-elixir/jason-1.0 + >=dev-elixir/mock-0.3.1 + >=dev-elixir/mogrify-0.6.1 + >=dev-elixir/pbkdf2_elixir-0.12.3 + >=dev-elixir/phoenix-1.4.1 + >=dev-elixir/phoenix_ecto-4.0 + >=dev-elixir/phoenix_pubsub-1.1 + >=dev-elixir/pleroma_job_queue-0.2.0 + >=dev-elixir/plug_cowboy-2.0 + >=dev-elixir/poison-3.0 + >=dev-elixir/postgrex-0.13.5 + >=dev-elixir/prometheus_ecto-1.4 + >=dev-elixir/prometheus_ex-3.0 + >=dev-elixir/prometheus_pheonix-1.2 + >=dev-elixir/prometheus_plugs-1.1 + >=dev-elixir/quack-0.1.1 + >=dev-elixir/recon-2.4.0 + >=dev-elixir/swoosh-0.20 + >=dev-elixir/telemetry-0.3 + >=dev-elixir/tesla-1.2 + >=dev-elixir/timex-3.5 + >=dev-elixir/trailing_format_plug-0.0.7 + >=dev-elixir/ueberauth-0.4 + >=dev-elixir/web_push_encryption-0.2.1 + dev-elixir/websocket_client +" +RDEPEND="${DEPEND}" + +src_prepare() { + sed -i '/pleroma: \[/a\ include_erts: false,' ./mix.exs || die "Failed setting release to: include_erts: false" + default +} + +src_compile() { + mix release +} diff --git a/www-apps/pleroma/pleroma-9999.ebuild b/www-apps/pleroma/pleroma-9999.ebuild @@ -0,0 +1,80 @@ +# Copyright 2019 Haelwenn (lanodan) Monnier <contact@hacktivis.me> +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit mix + +DESCRIPTION="Microblogging software federating over OStatus and ActivityPub" +HOMEPAGE="https://pleroma.social/" +LICENSE="AGPL-3 CC-BY-SA-4.0 Unsplash" +if [[ "${PV}" == "9999" ]]; then + inherit git-r3 + EGIT_REPO_URI="https://git.pleroma.social/pleroma/pleroma.git" +else + SRC_URI="https://git.pleroma.social/pleroma/pleroma/-/archive/v${PV}/pleroma-v${PV}.tar.bz2" + KEYWORDS="~amd64 ~arm ~arm64" +fi +SLOT="0" +IUSE="" + +# dev-lang/erlang is required for binary compat +DEPEND=" + dev-lang/erlang:= + >=dev-lang/elixir-1.7:= + dev-elixir/auto_linker + >=dev-elixir/cachex-3.0.2 + >=dev-elixir/calendar-0.17.4 + >=dev-elixir/comeonin-4.1.1 + >=dev-elixir/cors_plug-1.5 + >=dev-elixir/credo-0.9.3 + dev-elixir/crypt + >=dev-elixir/earmark-1.3 + >=dev-elixir/ecto_sql-3.0.5 + >=dev-elixir/ex_aws-2.0 + >=dev-elixir/ex_aws_s3-2.0 + >=dev-elixir/ex_doc-1.5 + >=dev-elixir/ex_machina-2.3 + >=dev-elixir/ex_syslogger-1.4.0 + >=dev-elixir/floki-0.20.0 + >=dev-elixir/gen_smtp-0.13 + >=dev-elixir/gettext-0.15 + >=dev-elixir/html_entities-0.4 + >=dev-elixir/html_sanitize_ex-1.3.0 + >=dev-elixir/httpoison-1.2.0 + >=dev-elixir/jason-1.0 + >=dev-elixir/mock-0.3.1 + >=dev-elixir/mogrify-0.6.1 + >=dev-elixir/pbkdf2_elixir-0.12.3 + >=dev-elixir/phoenix-1.4.1 + >=dev-elixir/phoenix_ecto-4.0 + >=dev-elixir/phoenix_pubsub-1.1 + >=dev-elixir/pleroma_job_queue-0.2.0 + >=dev-elixir/plug_cowboy-2.0 + >=dev-elixir/poison-3.0 + >=dev-elixir/postgrex-0.13.5 + >=dev-elixir/prometheus_ecto-1.4 + >=dev-elixir/prometheus_ex-3.0 + >=dev-elixir/prometheus_pheonix-1.2 + >=dev-elixir/prometheus_plugs-1.1 + >=dev-elixir/quack-0.1.1 + >=dev-elixir/recon-2.4.0 + >=dev-elixir/swoosh-0.20 + >=dev-elixir/telemetry-0.3 + >=dev-elixir/tesla-1.2 + >=dev-elixir/timex-3.5 + >=dev-elixir/trailing_format_plug-0.0.7 + >=dev-elixir/ueberauth-0.4 + >=dev-elixir/web_push_encryption-0.2.1 + dev-elixir/websocket_client +" +RDEPEND="${DEPEND}" + +src_prepare() { + sed -i '/pleroma: \[/a\ include_erts: false,' ./mix.exs || die "Failed setting release to: include_erts: false" + default +} + +src_compile() { + mix release +}