git: 6b3a98ee34ed - main - net/py-haproxy-cli: new port
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 29 Mar 2024 20:15:13 UTC
The branch main has been updated by pi:
URL: https://cgit.FreeBSD.org/ports/commit/?id=6b3a98ee34ed08ac98e3bd45fa1a632967e5685a
commit 6b3a98ee34ed08ac98e3bd45fa1a632967e5685a
Author: Frank Wall <freebsd@moov.de>
AuthorDate: 2024-03-29 20:14:20 +0000
Commit: Kurt Jaeger <pi@FreeBSD.org>
CommitDate: 2024-03-29 20:14:58 +0000
net/py-haproxy-cli: new port
haproxy-cli is a tool to manage the various aspects of HAProxy that can be
controlled by means of its socket.
haproxy-cli can be used in 2 modes: CLI mode and Python API mode. CLI mode,
as the name implies, gives you a command, haproxy-cli, that can be used to
control HAProxy. You can use the Python API mode to integrate haproxy-cli
directly in your Python project.
PR: 275562
---
net/Makefile | 1 +
net/py-haproxy-cli/Makefile | 18 ++++++++++++++++++
net/py-haproxy-cli/distinfo | 3 +++
net/py-haproxy-cli/pkg-descr | 7 +++++++
4 files changed, 29 insertions(+)
diff --git a/net/Makefile b/net/Makefile
index efd6d20a54d4..24829d50eda1 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -1056,6 +1056,7 @@
SUBDIR += py-gntp
SUBDIR += py-gspread
SUBDIR += py-h11
+ SUBDIR += py-haproxy-cli
SUBDIR += py-haproxy-log-analysis
SUBDIR += py-haproxyctl
SUBDIR += py-httpstat
diff --git a/net/py-haproxy-cli/Makefile b/net/py-haproxy-cli/Makefile
new file mode 100644
index 000000000000..7db96ea48960
--- /dev/null
+++ b/net/py-haproxy-cli/Makefile
@@ -0,0 +1,18 @@
+PORTNAME= haproxy-cli
+PORTVERSION= 0.6.1
+CATEGORIES= net python
+MASTER_SITES= PYPI
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= freebsd@moov.de
+COMMENT= Tool to interact with HAProxy
+WWW= https://github.com/markt-de/haproxy-cli
+
+LICENSE= GPLv3
+
+USES= python
+USE_PYTHON= distutils concurrent autoplist
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/net/py-haproxy-cli/distinfo b/net/py-haproxy-cli/distinfo
new file mode 100644
index 000000000000..2333805bad96
--- /dev/null
+++ b/net/py-haproxy-cli/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1701813827
+SHA256 (haproxy-cli-0.6.1.tar.gz) = 869f8e5c21db8db9a43cc50020d50e4697d2a9141669bc161289e0163d412319
+SIZE (haproxy-cli-0.6.1.tar.gz) = 22513
diff --git a/net/py-haproxy-cli/pkg-descr b/net/py-haproxy-cli/pkg-descr
new file mode 100644
index 000000000000..3e0b2371cf67
--- /dev/null
+++ b/net/py-haproxy-cli/pkg-descr
@@ -0,0 +1,7 @@
+haproxy-cli is a tool to manage the various aspects of HAProxy that can be
+controlled by means of its socket.
+
+haproxy-cli can be used in 2 modes: CLI mode and Python API mode. CLI mode,
+as the name implies, gives you a command, haproxy-cli, that can be used to
+control HAProxy. You can use the Python API mode to integrate haproxy-cli
+directly in your Python project.