2023-05-28 23:40:43 +02:00
|
|
|
# Copyright 2020-2023 Gentoo Authors
|
2021-05-09 14:56:21 +02:00
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
|
2021-10-27 17:36:40 +02:00
|
|
|
EAPI="8"
|
2021-05-09 14:56:21 +02:00
|
|
|
|
2022-01-02 22:08:18 +01:00
|
|
|
COMMIT_ID=""
|
2021-09-13 07:49:12 +02:00
|
|
|
|
2022-11-22 22:38:14 +01:00
|
|
|
DISTUTILS_USE_PEP517=setuptools
|
2023-03-02 23:14:06 +01:00
|
|
|
PYPI_NO_NORMALIZE=1
|
2023-05-28 23:40:43 +02:00
|
|
|
PYTHON_COMPAT=( python3_11 )
|
2023-03-02 23:14:06 +01:00
|
|
|
inherit distutils-r1 pypi
|
2021-05-09 14:56:21 +02:00
|
|
|
|
|
|
|
DESCRIPTION="Run docker-compose files without root with podman"
|
2023-03-02 23:14:06 +01:00
|
|
|
HOMEPAGE="
|
|
|
|
https://github.com/containers/podman-compose
|
|
|
|
https://pypi.org/project/podman-compose/
|
|
|
|
"
|
2021-05-09 14:56:21 +02:00
|
|
|
if [[ ${PV} == *9999 ]]; then
|
|
|
|
EGIT_REPO_URI="https://github.com/containers/podman-compose.git"
|
|
|
|
inherit git-r3
|
|
|
|
else
|
|
|
|
if [[ ${PV} == *_p* ]]; then
|
|
|
|
SRC_URI="https://github.com/containers/podman-compose/archive/${COMMIT_ID}.tar.gz -> ${P}.tar.gz"
|
|
|
|
S="${WORKDIR}/podman-compose-${COMMIT_ID}"
|
|
|
|
fi
|
|
|
|
fi
|
2021-12-21 07:20:02 +01:00
|
|
|
KEYWORDS="~amd64"
|
2021-05-09 14:56:21 +02:00
|
|
|
|
|
|
|
LICENSE="GPL-2"
|
|
|
|
SLOT="0"
|
|
|
|
IUSE="test"
|
|
|
|
RESTRICT="!test? ( test )"
|
|
|
|
|
|
|
|
RDEPEND="
|
2023-05-28 23:40:43 +02:00
|
|
|
app-containers/dnsname
|
2021-12-21 07:20:02 +01:00
|
|
|
app-containers/podman
|
2022-01-02 22:08:18 +01:00
|
|
|
dev-python/python-dotenv[${PYTHON_USEDEP}]
|
2021-05-09 14:56:21 +02:00
|
|
|
dev-python/pyyaml[${PYTHON_USEDEP}]
|
|
|
|
"
|