diff options
author | Chen, Chih-Chia <pigfoot@gmail.com> | 2023-12-21 20:00:02 +0800 |
---|---|---|
committer | Chen, Chih-Chia <pigfoot@gmail.com> | 2023-12-21 20:00:02 +0800 |
commit | d54540a8e95d8296bb49f9d7f0e37dfa091afddd (patch) | |
tree | c0b85bdbc377360577c9d4e4f752e09be71ca2bb /app-containers/podman-compose/podman-compose-1.0.6.ebuild | |
parent | [app-containers/podman-compose] new ebuild (diff) | |
download | pigfoot-d54540a8e95d8296bb49f9d7f0e37dfa091afddd.tar.gz pigfoot-d54540a8e95d8296bb49f9d7f0e37dfa091afddd.tar.bz2 pigfoot-d54540a8e95d8296bb49f9d7f0e37dfa091afddd.zip |
[app-containers/podman-compose] refine
Signed-off-by: Chen, Chih-Chia <pigfoot@gmail.com>
Diffstat (limited to 'app-containers/podman-compose/podman-compose-1.0.6.ebuild')
-rw-r--r-- | app-containers/podman-compose/podman-compose-1.0.6.ebuild | 20 |
1 files changed, 13 insertions, 7 deletions
diff --git a/app-containers/podman-compose/podman-compose-1.0.6.ebuild b/app-containers/podman-compose/podman-compose-1.0.6.ebuild index 6b09f29..b425ac7 100644 --- a/app-containers/podman-compose/podman-compose-1.0.6.ebuild +++ b/app-containers/podman-compose/podman-compose-1.0.6.ebuild @@ -3,23 +3,29 @@ EAPI=8 -DISTUTILS_USE_PEP517=setuptools PYTHON_COMPAT=( python3_{11..12} ) -inherit distutils-r1 + +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" -#S="${WORKDIR}/${PN}-release-${PV}" 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}] + dev-python/pyyaml[${PYTHON_USEDEP}] + dev-python/python-dotenv[${PYTHON_USEDEP}] " -RDEPEND="${BDEPEND}" +RDEPEND="${PYTHON_DEPS} + app-containers/podman + ${BDEPEND}" -distutils_enable_tests pytest +src_install() { + newbin podman_compose.py ${PN} + python_replicate_script "${D}"/usr/bin/${PN} + newbashcomp completion/bash/podman-compose ${PN} +} |