Diff containers-shortnames-2023.02.20 with a containers-shortnames-9999
| /usr/portage/app-containers/containers-shortnames/containers-shortnames-9999.ebuild 2026-07-24 20:03:04.145128202 +0300 | ||
|---|---|---|
| 1 |
# Copyright 1999-2024 Gentoo Authors |
|
| 1 |
# Copyright 1999-2026 Gentoo Authors |
|
| 2 | 2 |
# Distributed under the terms of the GNU General Public License v2 |
| 3 | 3 | |
| 4 | 4 |
EAPI=8 |
| 5 | 5 | |
| 6 | 6 |
DESCRIPTION="Configures default shortnames (aliases) for Containers" |
| 7 | 7 |
HOMEPAGE="https://github.com/containers/shortnames" |
| 8 |
GIT_COMMIT="e893043ee00c29ac1083b2151d4fb287d939a9fc" |
|
| 8 | 9 | |
| 9 |
if [[ ${PV} == *9999* ]]; then
|
|
| 10 |
if [[ ${PV} == 9999* ]]; then
|
|
| 10 | 11 |
inherit git-r3 |
| 11 | 12 |
EGIT_REPO_URI="https://github.com/containers/shortnames.git" |
| 12 | 13 |
else |
| 13 |
SRC_URI="https://github.com/containers/shortnames/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
|
| 14 |
S="${WORKDIR}/${P#containers-}"
|
|
| 15 |
KEYWORDS="amd64 arm64 ~loong ~riscv" |
|
| 14 |
SRC_URI="https://github.com/containers/shortnames/archive/${GIT_COMMIT}.tar.gz -> ${P}.tar.gz"
|
|
| 15 |
S="${WORKDIR}/${PN#containers-}-${GIT_COMMIT}"
|
|
| 16 |
KEYWORDS="~amd64 ~arm64 ~loong ~riscv" |
|
| 16 | 17 |
fi |
| 17 | 18 | |
| 18 | 19 |
LICENSE="Apache-2.0" |
| 19 | 20 |
SLOT="0" |
| 20 | ||
| 21 |
src_configure() {
|
|
| 22 |
return |
|
| 23 |
} |
|
| 24 | ||
| 25 |
src_compile() {
|
|
| 26 |
return |
|
| 27 |
} |
|
| 28 | ||
| 29 |
src_test() {
|
|
| 30 |
return |
|
| 31 |
} |
|
| 21 |
RDEPEND="!<app-containers/buildah-1.44.0 |
|
| 22 |
!<app-containers/podman-6.0.0 |
|
| 23 |
!<app-containers/skopeo-1.23" |
|
| 32 | 24 | |
| 33 | 25 |
src_install() {
|
| 34 |
insinto /etc/containers/registries.conf.d |
|
| 26 |
insinto /usr/share/containers/registries.conf.d |
|
| 35 | 27 |
newins shortnames.conf 000-shortnames.conf |
| 36 | 28 |
} |