2021-05-09 14:56:21 +02:00
|
|
|
# Copyright 2020-2021 Gentoo Authors
|
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
|
2021-07-23 23:22:15 +02:00
|
|
|
EAPI=8
|
2021-05-09 14:56:21 +02:00
|
|
|
|
2021-09-13 07:49:12 +02:00
|
|
|
COMMIT_ID="785f7ad8a3fd4998c36341532fc8d0a2cfef9dea"
|
|
|
|
|
2021-05-24 19:14:00 +02:00
|
|
|
PYTHON_COMPAT=( python3_{8..10} )
|
2021-05-09 14:56:21 +02:00
|
|
|
DISTUTILS_USE_SETUPTOOLS=rdepend
|
|
|
|
inherit distutils-r1
|
|
|
|
|
|
|
|
DESCRIPTION="Run docker-compose files without root with podman"
|
2021-05-15 23:59:47 +02:00
|
|
|
HOMEPAGE="https://pypi.org/project/podman-compose/ https://github.com/containers/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}"
|
|
|
|
else
|
|
|
|
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
|
|
|
S="${WORKDIR}/qTox-${PV}"
|
|
|
|
fi
|
|
|
|
fi
|
2021-08-05 14:22:51 +02:00
|
|
|
KEYWORDS="~amd64 ~x86"
|
2021-05-09 14:56:21 +02:00
|
|
|
|
|
|
|
LICENSE="GPL-2"
|
|
|
|
SLOT="0"
|
|
|
|
IUSE="test"
|
|
|
|
RESTRICT="!test? ( test )"
|
|
|
|
|
|
|
|
DEPEND=""
|
|
|
|
RDEPEND="
|
|
|
|
${DEPEND}
|
|
|
|
dev-python/pyyaml[${PYTHON_USEDEP}]
|
|
|
|
"
|
|
|
|
BDEPEND=""
|