holgersson-overlay/app-emulation/podman-compose/podman-compose-0.1.5_p20210505.ebuild
Nils Freydank c6b1e3d4e1
app-emulation/podman-compose: Bump to 0.1.5_p20210505
Package-Manager: Portage-3.0.18, Repoman-3.0.3
Manifest-Sign-Key: 00EFD31F1B60D5DBADB831C1C0ECE6960E54475B
Signed-off-by: Nils Freydank <holgersson@posteo.de>
2021-05-09 14:56:21 +02:00

41 lines
1000 B
Bash

# Copyright 2020-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{8..9} )
DISTUTILS_USE_SETUPTOOLS=rdepend
inherit distutils-r1
COMMIT_ID="045cef299bec77e3ae2d1980ad32c1fd2c2896bf"
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}"
KEYWORDS="~amd64 ~x86"
else
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
KEYWORDS="~amd64 ~x86"
S="${WORKDIR}/qTox-${PV}"
fi
fi
LICENSE="GPL-2"
SLOT="0"
IUSE="test"
RESTRICT="!test? ( test )"
DEPEND=""
RDEPEND="
${DEPEND}
dev-python/pyyaml[${PYTHON_USEDEP}]
"
BDEPEND=""