dev-util/pack-cli - 0.37.0 (gentoo-zh)

Search

Package Information

Description:
CLI for building apps using Cloud Native Buildpacks
Homepage:
https://buildpacks.io https://paketo.io https://github.com/buildpacks/pack
License:
Apache-2.0

Ebuild Details

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

EAPI=8

inherit go-module

DESCRIPTION="CLI for building apps using Cloud Native Buildpacks"
HOMEPAGE="https://buildpacks.io https://paketo.io https://github.com/buildpacks/pack"

SRC_URI="https://github.com/buildpacks/pack/archive/v${PV}.tar.gz -> ${P}.tar.gz"
SRC_URI+="
	https://github.com/gentoo-zh-drafts/pack/releases/download/v${PV}/pack-${PV}-vendor.tar.xz
		-> ${P}-vendor.golang-dist-mirror-action.tar.xz
"

S="${WORKDIR}/pack-${PV}"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~x86"

RDEPEND="
	|| (
		app-containers/docker-cli
		app-containers/podman
	)
"
RDEPEND+=" !dev-util/pack-cli-bin"
BDEPEND=">=dev-lang/go-1.23.0"

src_compile() {
	local ldflags="-X 'github.com/buildpacks/pack.Version=${PV}'"
	ego build -ldflags "${ldflags}" ./cmd/pack
}

src_install() {
	dobin pack
}

Dependencies

RDEPEND

	|| (
		app-containers/docker-cli
		app-containers/podman
	)
  !dev-util/pack-cli-bin

BDEPEND

>=dev-lang/go-1.23.0

Manifest for 0.37.0

Type File Size Source URLs
DIST pack-cli-0.37.0.tar.gz 1500999 bytes https://github.com/buildpacks/pack/archive/v0.37.0.tar.gz