It would be nice to have podman-compose in Gentoo, as an alternative to docker-compose, using app-emulation/podman instead of app-emulation/docker. It is a Python script installable from PyPI using `pip`. DESCRIPTION="a script to run docker-compose.yml using podman" HOMEPAGE="https://github.com/containers/podman-compose"
Created attachment 641916 [details] podman-compose ebuild from my overlay, for usage inside the gentoo portage tree
Need this for complete podman stack
Created attachment 861458 [details] podman-compose 1.0.6, python 3_10 and 3_11 I would also love to see podman-compose as part of an official repo. I've attached my current podman-compose ebuild, perhaps it will be of use to somone.
Our (Gentoo) podman stack is often lagging behind. This is a trivial software that should be in official repos. Are there that few amount of users who use podman on day-to-day basis? This makes me wanna learn python and start contributing to maintain such stacks
I am using podman as a better docker replacement and i also would find this very useful in portage. I am currently using this ebuile posted here https://bugs.gentoo.org/attachment.cgi?id=861458 and works fine.
So, this is in Guru, but the current release is 1.1.0 (https://github.com/containers/podman-compose/releases). Not sure if I'm doing the right thing to get the Guru overlay updated by posting here? Thanks.
Hi all, given that "podman-compose" is still actively developed and it's indeed a nice thing to have for people NOT using SystemD, which makes quadlets useless, and who don't want to use the podman socket, which makes docker-compose broken, this is still useful, i think. Here is the working ebuild for latest (1.2.0) podman-compose: <code> # Copyright 2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 DISTUTILS_USE_SETUPTOOLS=rdepend PYTHON_COMPAT=( python3_{10..13} ) 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" SRC_URI="https://files.pythonhosted.org/packages/bd/67/0f8cf5ef346a22ce73dfdd0e60cf81342329b71a7fc118128929f0c07b62/podman_compose-1.2.0.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64" DEPEND="app-containers/podman" RDEPEND=" ${DEPEND} dev-python/pyyaml[${PYTHON_USEDEP}] dev-python/python-dotenv[${PYTHON_USEDEP}] " BDEPEND="" S="${WORKDIR}/podman_compose-${PV}" </code>
(In reply to Willy Gardiol from comment #7) Thanks for the ebuild. We should use DISTUTILS_USE_PEP517=setuptools instead of DISTUTILS_USE_SETUPTOOLS=rdepend, and also it would be best to have working unit tests via distutils_enable_tests unittest, but I tried it and it doesn't work.
dev-python/podman-compose is in ::guru. It can be renamed to app-containers/podman-compose and moved to ::gentoo if someone is interested in it.
Yes i would absolutely be interested in it, i do use it on my systems, and having it in ::gentoo would be great!
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eed6e10770ba599475d757930610a4349f483b91 commit eed6e10770ba599475d757930610a4349f483b91 Author: Zac Medico <zmedico@gentoo.org> AuthorDate: 2024-12-05 22:20:34 +0000 Commit: Zac Medico <zmedico@gentoo.org> CommitDate: 2024-12-05 22:26:54 +0000 app-containers/podman-compose: new package, add 1.2.0 Import latest ebuild from guru repo. Closes: https://bugs.gentoo.org/717748 Signed-off-by: Zac Medico <zmedico@gentoo.org> app-containers/podman-compose/Manifest | 1 + app-containers/podman-compose/metadata.xml | 12 +++++++ .../podman-compose/podman-compose-1.2.0.ebuild | 40 ++++++++++++++++++++++ 3 files changed, 53 insertions(+)
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=41148541358cbb139ecc413d30b0fc1348ea5af7 commit 41148541358cbb139ecc413d30b0fc1348ea5af7 Author: Viorel Munteanu <ceamac@gentoo.org> AuthorDate: 2024-12-06 08:06:37 +0000 Commit: Viorel Munteanu <ceamac@gentoo.org> CommitDate: 2024-12-06 08:06:37 +0000 dev-python/podman-compose: treeclean Moved to ::gentoo as app-containers/podman-compose Bug: https://bugs.gentoo.org/717748 Signed-off-by: Viorel Munteanu <ceamac@gentoo.org> dev-python/podman-compose/Manifest | 2 -- dev-python/podman-compose/metadata.xml | 12 ------- .../podman-compose/podman-compose-1.0.6.ebuild | 33 ------------------ .../podman-compose/podman-compose-1.2.0.ebuild | 40 ---------------------- 4 files changed, 87 deletions(-)