dev-util/cem - 0.9.9 (bennypowers)

Search

Install

Install this version:

emerge -a =dev-util/cem-0.9.9

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =dev-util/cem-0.9.9

Or alternatively:

emerge --autounmask-write -a =dev-util/cem-0.9.9

Package Information

Description:
Custom Elements Manifest multitool
Homepage:
https://github.com/bennypowers/cem
License:
GPL-3

Ebuild Details

Version EAPI Keywords Slot
0.9.9 8 ~amd64 0
View Raw Ebuild
# Copyright 2025 Benny Powers
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit go-module

DESCRIPTION="Custom Elements Manifest multitool"
HOMEPAGE="https://github.com/bennypowers/cem"
SRC_URI="https://github.com/bennypowers/cem/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz
	https://raw.githubusercontent.com/bennypowers/gentoo-overlay/main/dev-util/cem/${P}-deps.tar.gz"

LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64"

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

src_prepare() {
	default
	mv "${WORKDIR}/vendor" "${S}/vendor" || die
}

src_compile() {
	export GOFLAGS="-mod=vendor"
	export CGO_ENABLED=1
	export GOEXPERIMENT=jsonv2
	ego build -o cem .
}

src_install() {
	dobin cem
	dodoc README.md
}

Inherited Eclasses

Dependencies

DEPEND

>=dev-lang/go-1.25

Manifest for 0.9.9

Type File Size Source URLs
DIST cem-0.9.9-deps.tar.gz 8804189 bytes https://raw.githubusercontent.com/bennypowers/gentoo-overlay/main/dev-util/cem/cem-0.9.9-deps.tar.gz
DIST cem-0.9.9.tar.gz 3065543 bytes https://github.com/bennypowers/cem/archive/refs/tags/v0.9.9.tar.gz