git: 999be5f9b519 - main - sysutils/kleene-cli: new port for container management
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 18 Feb 2025 21:35:01 UTC
The branch main has been updated by dch:
URL: https://cgit.FreeBSD.org/ports/commit/?id=999be5f9b519044b602acb96b6c81561436904d0
commit 999be5f9b519044b602acb96b6c81561436904d0
Author: Dave Cottlehuber <dch@FreeBSD.org>
AuthorDate: 2025-02-18 18:39:58 +0000
Commit: Dave Cottlehuber <dch@FreeBSD.org>
CommitDate: 2025-02-18 21:34:33 +0000
sysutils/kleene-cli: new port for container management
PR: 279004
Sponsored by: SkunkWerks, GmbH
---
sysutils/Makefile | 1 +
sysutils/kleene-cli/Makefile | 30 ++++++++++++++++++++++++++++++
sysutils/kleene-cli/distinfo | 3 +++
sysutils/kleene-cli/files/pkg-message.in | 17 +++++++++++++++++
sysutils/kleene-cli/pkg-descr | 4 ++++
5 files changed, 55 insertions(+)
diff --git a/sysutils/Makefile b/sysutils/Makefile
index e9795cb2f589..7dce3b79a7ae 100644
--- a/sysutils/Makefile
+++ b/sysutils/Makefile
@@ -586,6 +586,7 @@
SUBDIR += kiconvtool
SUBDIR += kldfind
SUBDIR += kldpatch
+ SUBDIR += kleene-cli
SUBDIR += kleene-daemon
SUBDIR += kopia
SUBDIR += kops
diff --git a/sysutils/kleene-cli/Makefile b/sysutils/kleene-cli/Makefile
new file mode 100644
index 000000000000..189f081e16f2
--- /dev/null
+++ b/sysutils/kleene-cli/Makefile
@@ -0,0 +1,30 @@
+PORTNAME= kleene-cli
+DISTVERSIONPREFIX= v
+DISTVERSION= 0.1.0
+DISTVERSIONSUFFIX= -rc.4
+CATEGORIES= sysutils
+
+MAINTAINER= lasse@philomath.dk
+COMMENT= Klee, the Kleene CLI client for managing containers on FreeBSD
+WWW= https://kleene.dev/
+
+LICENSE= BSD2CLAUSE
+
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}poetry-core>=1.9.0:devel/py-poetry-core@${PY_FLAVOR}
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}attrs>=23.2.0:devel/py-attrs@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}click>=8.1.7:devel/py-click@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}httpx>=0.27.0_1:www/py-httpx@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}python-dateutil>=2.9.0:devel/py-python-dateutil@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}pyyaml>=6.0:devel/py-pyyaml@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}rich>=13.7.1:textproc/py-rich@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}websockets>=12.0:devel/py-websockets@${PY_FLAVOR}
+
+USES= python:3.8+
+USE_GITHUB= yes
+GH_ACCOUNT= kleene-project
+GH_PROJECT= klee
+USE_PYTHON= autoplist pep517
+
+SUB_FILES= pkg-message
+
+.include <bsd.port.mk>
diff --git a/sysutils/kleene-cli/distinfo b/sysutils/kleene-cli/distinfo
new file mode 100644
index 000000000000..80270a20a23c
--- /dev/null
+++ b/sysutils/kleene-cli/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1739904180
+SHA256 (kleene-project-klee-v0.1.0-rc.4_GH0.tar.gz) = 4a570057a1761a31d93ddcecbac33e2251b1e3d15dbc1e3ac24de432de6cd53b
+SIZE (kleene-project-klee-v0.1.0-rc.4_GH0.tar.gz) = 107399
diff --git a/sysutils/kleene-cli/files/pkg-message.in b/sysutils/kleene-cli/files/pkg-message.in
new file mode 100644
index 000000000000..63d642c0e82c
--- /dev/null
+++ b/sysutils/kleene-cli/files/pkg-message.in
@@ -0,0 +1,17 @@
+[
+{ type: install
+ message: <<EOM
+Kleene is a new tool and should be used for
+testing and experimentation purposes only.
+
+To get started, run
+
+ klee
+
+in a terminal to get the main help page.
+
+Klee requires a running instance of Kleened, the Kleene
+backend daemon, install it via sysutils/kleene-daemon
+EOM
+}
+]
diff --git a/sysutils/kleene-cli/pkg-descr b/sysutils/kleene-cli/pkg-descr
new file mode 100644
index 000000000000..71905cbf0787
--- /dev/null
+++ b/sysutils/kleene-cli/pkg-descr
@@ -0,0 +1,4 @@
+CLI tool for Kleene, a container management tool for FreeBSD.
+
+See https://kleene.dev/get-started/overview for an introduction,
+and https://kleene.dev/ for general project information.