dev-util/stencil - 2.13.0 (jaredallard)

Search

Package Information

Description:
Modern living-template engine for evolving repositories
Homepage:
https://stencil.rgst.io/
License:
Apache-2.0

Ebuild Details

Version EAPI Keywords Slot
2.13.0 8 amd64 ~arm arm64 ~riscv ~x86 0
View Raw Ebuild
# Copyright 2020-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8
inherit go-module shell-completion

VERSION_GIT_HASH="e71032c8b3411dca4a1db35ce6980f4f97b78ef3"

DESCRIPTION="Modern living-template engine for evolving repositories"
HOMEPAGE="https://stencil.rgst.io/"
SRC_URI="https://github.com/rgst-io/stencil/archive/v${PV}.tar.gz -> ${P}.tar.gz"
SRC_URI+=" https://gentoo.rgst.io/updater_artifacts/${CATEGORY}/${PN}/${PV}/deps.tar.xz -> ${P}-deps.tar.xz"

LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 ~arm arm64 ~riscv ~x86"

BDEPEND=">=dev-lang/go-1.25"

RESTRICT="test"

src_compile() {
  ego build \
    -ldflags \
    "-s -w -X go.rgst.io/stencil/v2/internal/version.version=${PV} -X go.rgst.io/stencil/v2/internal/version.commit=${VERSION_GIT_HASH} -X go.rgst.io/stencil/v2/internal/version.date=$(date "+%Y-%m-%dT%H:%M:%SZ") -X go.rgst.io/stencil/v2/internal/version.builtBy=ebuild" \
    ./cmd/stencil
}

src_install() {
  dobin stencil
}

Dependencies

BDEPEND

>=dev-lang/go-1.25

Manifest for 2.13.0

Type File Size Source URLs
DIST stencil-2.13.0.tar.gz 420204 bytes https://github.com/rgst-io/stencil/archive/v2.13.0.tar.gz