dev-util/docker-distribution-pruner - 0.2.0 (gentoo)

Search

Package Information

Description:
Clean all old container revisions from registry
Homepage:
https://gitlab.com/gitlab-org/docker-distribution-pruner
License:
MIT

Ebuild Details

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

EAPI=8

inherit go-module

DESCRIPTION="Clean all old container revisions from registry"
HOMEPAGE="https://gitlab.com/gitlab-org/docker-distribution-pruner"
SRC_URI="https://gitlab.com/gitlab-org/${PN}/-/archive/v${PV}/${PN}-v${PV}.tar.bz2
	https://dev.gentoo.org/~arthurzam/distfiles/${CATEGORY}/${PN}/${P}-deps.tar.xz"
S=${WORKDIR}/${PN}-v${PV}

LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm64"
RESTRICT="test" # no tests

src_compile() {
	ego build -o ${PN} ./cmds/docker-distribution-pruner
}

src_install() {
	dobin ${PN}
}

Manifest for 0.2.0

Type File Size Source URLs
DIST docker-distribution-pruner-0.2.0-deps.tar.xz 13254932 bytes https://dev.gentoo.org/~arthurzam/distfiles/${CATEGORY}/docker-distribution-pruner/docker-distribution-pruner-0.2.0-deps.tar.xz
DIST docker-distribution-pruner-v0.2.0.tar.bz2 28288 bytes https://gitlab.com/gitlab-org/docker-distribution-pruner/-/archive/v0.2.0/docker-distribution-pruner-v0.2.0.tar.bz2