git: 9343ff9aa026 - main - sysutils/podman-compose: add port

From: Robert Clausecker <fuz_at_FreeBSD.org>
Date: Tue, 11 Feb 2025 13:26:37 UTC
The branch main has been updated by fuz:

URL: https://cgit.FreeBSD.org/ports/commit/?id=9343ff9aa02605d3ab90b9c803de9cde4ba2b536

commit 9343ff9aa02605d3ab90b9c803de9cde4ba2b536
Author:     Getz Mikalsen <getz@FreeBSD.org>
AuthorDate: 2025-02-04 17:14:23 +0000
Commit:     Robert Clausecker <fuz@FreeBSD.org>
CommitDate: 2025-02-11 13:26:11 +0000

    sysutils/podman-compose: add port
    
    podman-compose is a tool for running docker-compose.yml using podman.
    With Compose, you use a Compose file to configure your application's services.
    Then, using a single command, you create and start all the services from your
    configuration.
    
    WWW: https://github.com/containers/podman-compose
    
    PR:             284573
---
 sysutils/Makefile                 |  1 +
 sysutils/podman-compose/Makefile  | 26 ++++++++++++++++++++++++++
 sysutils/podman-compose/distinfo  |  3 +++
 sysutils/podman-compose/pkg-descr |  4 ++++
 4 files changed, 34 insertions(+)

diff --git a/sysutils/Makefile b/sysutils/Makefile
index a96144865c53..5993a4952de7 100644
--- a/sysutils/Makefile
+++ b/sysutils/Makefile
@@ -956,6 +956,7 @@
     SUBDIR += pmt
     SUBDIR += pnscan
     SUBDIR += podman
+    SUBDIR += podman-compose
     SUBDIR += podman-suite
     SUBDIR += polkit
     SUBDIR += polkit-gnome
diff --git a/sysutils/podman-compose/Makefile b/sysutils/podman-compose/Makefile
new file mode 100644
index 000000000000..88f0fa6a6527
--- /dev/null
+++ b/sysutils/podman-compose/Makefile
@@ -0,0 +1,26 @@
+PORTNAME=	podman-compose
+DISTVERSION=	1.3.0
+CATEGORIES=	sysutils python
+MASTER_SITES=	PYPI
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+DISTNAME=	podman_compose-${DISTVERSION}
+
+MAINTAINER=	getz@FreeBSD.org
+COMMENT=	Script to run docker-compose.yml using podman
+WWW=		https://github.com/containers/podman-compose
+
+LICENSE=	GPLv2
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pyyaml>=0:devel/py-pyyaml@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}python-dotenv>=0:www/py-python-dotenv@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pyyaml>=0:devel/py-pyyaml@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}python-dotenv>=0:www/py-python-dotenv@${PY_FLAVOR}
+
+USES=		python
+USE_PYTHON=	autoplist concurrent pep517
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/sysutils/podman-compose/distinfo b/sysutils/podman-compose/distinfo
new file mode 100644
index 000000000000..e429ecb7aa91
--- /dev/null
+++ b/sysutils/podman-compose/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1738676930
+SHA256 (podman_compose-1.3.0.tar.gz) = e65a70e8fa26bd195d2017ac5893149b40c0df5a0c20d480a338c4f60218b1fa
+SIZE (podman_compose-1.3.0.tar.gz) = 42258
diff --git a/sysutils/podman-compose/pkg-descr b/sysutils/podman-compose/pkg-descr
new file mode 100644
index 000000000000..53f25ff23512
--- /dev/null
+++ b/sysutils/podman-compose/pkg-descr
@@ -0,0 +1,4 @@
+podman-compose is a tool for running docker-compose.yml using podman.
+With Compose, you use a Compose file to configure your application's services.
+Then, using a single command, you create and start all the services from your
+configuration.