holgersson-overlay/app-containers/podman-compose/podman-compose-0.1.8_p20211218-r3.ebuild
Nils Freydank e5871cb259
app-containers/podman-compose: Fixup for package move
Let portage remove app-emulation/podman-compose first before installing
the version in the new category.

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Nils Freydank <holgersson@posteo.de>
2021-12-25 14:41:13 +01:00

41 lines
984 B
Bash

# Copyright 2020-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="8"
COMMIT_ID="49fe6e7e0f35dd5db8fe46edf29ec5e60848e7d6"
PYTHON_COMPAT=( python3_{9..10} )
inherit distutils-r1
DESCRIPTION="Run docker-compose files without root with podman"
HOMEPAGE="https://pypi.org/project/podman-compose/ https://github.com/containers/podman-compose"
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
KEYWORDS="~amd64"
LICENSE="GPL-2"
SLOT="0"
IUSE="test"
RESTRICT="!test? ( test )"
RDEPEND="
app-containers/podman
dev-python/pyyaml[${PYTHON_USEDEP}]
"
DEPEND="
${RDEPEND}
!app-emulation/podman-compose
"