Сравнение github-cli-2.81.0 с github-cli-9999
| /usr/portage/dev-util/github-cli/github-cli-9999.ebuild 2026-05-04 19:17:04.880431730 +0300 | ||
|---|---|---|
| 1 | 1 |
# Copyright 1999-2026 Gentoo Authors |
| 2 | 2 |
# Distributed under the terms of the GNU General Public License v2 |
| 3 | 3 | |
| 4 |
EAPI=8 |
|
| 4 |
EAPI=9 |
|
| 5 | ||
| 5 | 6 |
inherit go-module |
| 6 | 7 | |
| 7 | 8 |
DESCRIPTION="GitHub CLI" |
| ... | ... | |
| 12 | 13 |
EGIT_REPO_URI="https://github.com/cli/cli.git" |
| 13 | 14 |
else |
| 14 | 15 |
SRC_URI="https://github.com/cli/cli/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
| 15 |
SRC_URI+=" https://dev.gentoo.org/~williamh/dist/${P}-deps.tar.xz"
|
|
| 16 |
KEYWORDS="amd64 arm64 ~loong ppc64 ~riscv" |
|
| 16 |
SRC_URI+=" https://github.com/gentoo-golang-dist/${PN}/releases/download/v${PV}/${P}-deps.tar.xz"
|
|
| 17 |
KEYWORDS="~amd64 ~arm64 ~loong ~ppc64 ~riscv" |
|
| 17 | 18 |
S="${WORKDIR}/cli-${PV}"
|
| 18 | 19 |
fi |
| 19 | 20 | |
| 20 |
LICENSE="MIT Apache-2.0 BSD BSD-2 MPL-2.0" |
|
| 21 |
LICENSE="MIT" |
|
| 22 |
# Dependent licenses |
|
| 23 |
LICENSE+=" Apache-2.0 BSD BSD-2 ISC MIT MPL-2.0 Unlicense" |
|
| 21 | 24 |
SLOT="0" |
| 25 |
RESTRICT="test" |
|
| 22 | 26 | |
| 23 | 27 |
RDEPEND=">=dev-vcs/git-1.7.3" |
| 28 |
BDEPEND=">=dev-lang/go-1.26.1" |
|
| 24 | 29 | |
| 25 |
RESTRICT="test" |
|
| 30 |
PATCHES=( |
|
| 31 |
"${FILESDIR}/${PN}-2.92.0-disable-telemetry.patch"
|
|
| 32 |
) |
|
| 26 | 33 | |
| 27 | 34 |
src_unpack() {
|
| 28 | 35 |
if [[ ${PV} == *9999 ]]; then
|