www-apps/wakapi - 2.17.6 (tatsh-overlay)

Search

Install

Install this version:

emerge -a =www-apps/wakapi-2.17.6

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

autounmask =www-apps/wakapi-2.17.6

Or alternatively:

emerge --autounmask-write -a =www-apps/wakapi-2.17.6

Package Information

Description:
A minimalist, self-hosted WakaTime-compatible backend for coding statistics
Homepage:
https://wakapi.dev/ https://github.com/muety/wakapi
License:
GPL-3

Ebuild Details

Version EAPI Keywords Slot
2.17.6 8 ~amd64 ~arm64 0
View Raw Ebuild
# Copyright 2021-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit go-module

DESCRIPTION="A minimalist, self-hosted WakaTime-compatible backend for coding statistics"
HOMEPAGE="https://wakapi.dev/ https://github.com/muety/wakapi"
SRC_URI="https://github.com/muety/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz
	https://github.com/Tatsh/tatsh-overlay/releases/download/__distfiles__/${P}-vendor.tar.xz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~arm64"
RESTRICT="mirror"

BDEPEND=">=dev-lang/go-1.18 app-arch/unzip"

src_compile() {
	go build -o "${PN}" || die
}

src_install() {
	dobin "${PN}"
	insinto /etc/"${PN}"
	newins config.default.yml config.yml
}

src_test() {
	env CGO_ENABLED=0 go test "$(go list ./... | grep -v 'github.com/muety/wakapi/scripts')" \
		-run ./...
}

Inherited Eclasses

Dependencies

BDEPEND

>=dev-lang/go-1.18 app-arch/unzip

Manifest for 2.17.6

Type File Size Source URLs
DIST wakapi-2.17.6-vendor.tar.xz 8096456 bytes https://github.com/Tatsh/tatsh-overlay/releases/download/__distfiles__/wakapi-2.17.6-vendor.tar.xz
DIST wakapi-2.17.6.tar.gz 1014811 bytes https://github.com/muety/wakapi/archive/refs/tags/2.17.6.tar.gz