blob: b425ac76b9f511500ca1ef292ebe08de305bb879 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{11..12} )
inherit python-r1 bash-completion-r1
DESCRIPTION="a script to run docker-compose.yml using podman"
HOMEPAGE="https://github.com/containers/podman-compose"
SRC_URI="https://github.com/containers/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~arm64"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
BDEPEND="
dev-python/pyyaml[${PYTHON_USEDEP}]
dev-python/python-dotenv[${PYTHON_USEDEP}]
"
RDEPEND="${PYTHON_DEPS}
app-containers/podman
${BDEPEND}"
src_install() {
newbin podman_compose.py ${PN}
python_replicate_script "${D}"/usr/bin/${PN}
newbashcomp completion/bash/podman-compose ${PN}
}
|