commit: 6cdb8f993bedeb187d7762abd01f190701425514 Author: Itai Ferber <itai <AT> itaiferber <DOT> net> AuthorDate: Wed Oct 22 14:34:55 2025 +0000 Commit: Itai Ferber <itai <AT> itaiferber <DOT> net> CommitDate: Wed Oct 22 14:35:32 2025 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=6cdb8f99
www-apps/soupault-bin: new package, add 5.1.0 Signed-off-by: Itai Ferber <itai <AT> itaiferber.net> www-apps/soupault-bin/Manifest | 2 ++ www-apps/soupault-bin/metadata.xml | 22 ++++++++++++++++++ www-apps/soupault-bin/soupault-bin-5.1.0.ebuild | 30 +++++++++++++++++++++++++ 3 files changed, 54 insertions(+) diff --git a/www-apps/soupault-bin/Manifest b/www-apps/soupault-bin/Manifest new file mode 100644 index 0000000000..02a7c61eef --- /dev/null +++ b/www-apps/soupault-bin/Manifest @@ -0,0 +1,2 @@ +DIST soupault-5.1.0-linux-aarch64.tar.gz 6976737 BLAKE2B 90855344dd3a9eac0ba8fdff4093be3ae45c1e59eca2de2d881b0b9b23c602f575be16671a3304277ba0d8e5eacf692c06e0a8a3fdb06340e921466cab5f3553 SHA512 49b1ff235f728a48b65f6f3cfe36a7c5824658f5ac97b1557f1781f8b252b17747368bc5b8107e67a3bf235eca6301eaf1aff3d52af759c4edd852ebc57639eb +DIST soupault-5.1.0-linux-x86_64.tar.gz 6234456 BLAKE2B 7cc0ac981f5e79ed050577d5afef0ff2e2da0fd6ba6b3a4997140b2338045b00f8dc8d9719080b1b4d0ce7ec8a75df46dd873471c1d244f0ff5ca6a142cda58f SHA512 c533e0e0ed5512ed65889a89318ae23b9f7242eed4ccf3e3ef256d0fe71af82930fc9b37ee69ea3c9f1c8e80f7f8081f6a7641fe86aa56f1b8490821a563cc73 diff --git a/www-apps/soupault-bin/metadata.xml b/www-apps/soupault-bin/metadata.xml new file mode 100644 index 0000000000..4f058cc68a --- /dev/null +++ b/www-apps/soupault-bin/metadata.xml @@ -0,0 +1,22 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <longdescription lang="en"> + Soupault (soup-oh) is a static website generator/framework that works with HTML element trees and can automatically manipulate them. + </longdescription> + <maintainer type="person"> + <email>[email protected]</email> + <name>Itai Ferber</name> + <description>Primary maintainer</description> + </maintainer> + <maintainer type="person"> + <email>[email protected]</email> + <name>Thomas Bracht Laumann Jespersen</name> + <description>Maintainer of www-apps/soupault</description> + </maintainer> + <upstream> + <doc>https://soupault.app/reference-manual/</doc> + <bugs-to>https://codeberg.org/PataphysicalSociety/soupault/issues</bugs-to> + <remote-id type="codeberg">PataphysicalSociety/soupault</remote-id> + </upstream> +</pkgmetadata> diff --git a/www-apps/soupault-bin/soupault-bin-5.1.0.ebuild b/www-apps/soupault-bin/soupault-bin-5.1.0.ebuild new file mode 100644 index 0000000000..08f07357b9 --- /dev/null +++ b/www-apps/soupault-bin/soupault-bin-5.1.0.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +BASE_SRC_URI="https://github.com/PataphysicalSociety/soupault/releases/download/${PV}/soupault-${PV}-linux-@[email protected]" + +DESCRIPTION="Static website generator based on HTML rewriting" +HOMEPAGE="https://soupault.app" +SRC_URI=" + amd64? ( ${BASE_SRC_URI//@arch@/x86_64} ) + arm64? ( ${BASE_SRC_URI//@arch@/aarch64} ) +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="-* ~amd64 ~arm64" + +src_unpack() { + default + + # The extracted top-level dir is named the same as the archive itself + # (suffixed with "x86_64"/"aarch64"); dropping it lets us keep the default + # `${S}`. + mv "$(basename "${A}" '.tar.gz')" "${P}" +} + +src_install() { + dobin soupault +}
