diff options
| author | Michael Gmelin <grembo@FreeBSD.org> | 2026-07-20 12:18:25 +0000 |
|---|---|---|
| committer | Michael Gmelin <grembo@FreeBSD.org> | 2026-07-20 12:34:18 +0000 |
| commit | 984132c158e7e9cb0a32b0ff369c7a13b2a2f5c0 (patch) | |
| tree | 79ea8c22e8cb9a71648520b04895ed68463c085c | |
| parent | e4b36dc18496bd53f9d795115a182d4d39bc9bb8 (diff) | |
sysutils/py-py-consul: New port
| -rw-r--r-- | sysutils/Makefile | 1 | ||||
| -rw-r--r-- | sysutils/py-py-consul/Makefile | 28 | ||||
| -rw-r--r-- | sysutils/py-py-consul/distinfo | 3 | ||||
| -rw-r--r-- | sysutils/py-py-consul/files/patch-pyproject.toml | 24 | ||||
| -rw-r--r-- | sysutils/py-py-consul/pkg-descr | 3 |
5 files changed, 59 insertions, 0 deletions
diff --git a/sysutils/Makefile b/sysutils/Makefile index 169064b6f63b..95c51288874e 100644 --- a/sysutils/Makefile +++ b/sysutils/Makefile @@ -1114,6 +1114,7 @@ SUBDIR += py-psutil SUBDIR += py-ptyprocess SUBDIR += py-puremagic + SUBDIR += py-py-consul SUBDIR += py-py-cpuinfo SUBDIR += py-pyinfra SUBDIR += py-python-bareos diff --git a/sysutils/py-py-consul/Makefile b/sysutils/py-py-consul/Makefile new file mode 100644 index 000000000000..57386cbff451 --- /dev/null +++ b/sysutils/py-py-consul/Makefile @@ -0,0 +1,28 @@ +PORTNAME= py-consul +PORTVERSION= 1.7.1 +CATEGORIES= sysutils python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +DISTNAME= ${PORTNAME:S/-/_/}-${PORTVERSION} + +MAINTAINER= grembo@FreeBSD.org +COMMENT= Python client for consul +WWW= https://github.com/criteo/py-consul + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${LOCALBASE}/bin/consul:sysutils/consul \ + ${PYTHON_PKGNAMEPREFIX}hatchling>=0:devel/py-hatchling@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}requests>=2.0.0:www/py-requests@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}six>=1.4:devel/py-six@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} +RUN_DEPENDS= ${LOCALBASE}/bin/consul:sysutils/consul \ + ${PYTHON_PKGNAMEPREFIX}requests>=2.0.0:www/py-requests@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}six>=1.4:devel/py-six@${PY_FLAVOR} + +USES= python + +USE_PYTHON= autoplist pep517 + +.include <bsd.port.mk> diff --git a/sysutils/py-py-consul/distinfo b/sysutils/py-py-consul/distinfo new file mode 100644 index 000000000000..fc179180c333 --- /dev/null +++ b/sysutils/py-py-consul/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1784548520 +SHA256 (py_consul-1.7.1.tar.gz) = a0b3912a0af449e1cd09c4aa710e53d1149c5edb3512a1becbe6475ed395761a +SIZE (py_consul-1.7.1.tar.gz) = 36436 diff --git a/sysutils/py-py-consul/files/patch-pyproject.toml b/sysutils/py-py-consul/files/patch-pyproject.toml new file mode 100644 index 000000000000..cbe111c95eaf --- /dev/null +++ b/sysutils/py-py-consul/files/patch-pyproject.toml @@ -0,0 +1,24 @@ +--- pyproject.toml.orig 2025-11-24 11:37:13 UTC ++++ pyproject.toml +@@ -1,3 +1,14 @@ ++[project] ++name = "py-consul" ++version = "1.7.1" ++ ++[build-system] ++requires = ["hatchling"] ++build-backend = "hatchling.build" ++ ++[tool.hatch.build.targets.wheel] ++packages = ["consul"] ++ + [tool.pytest.ini_options] + addopts = "--cov=. --cov-context=test --durations=0 --durations-min=3.0" + asyncio_mode = "auto" +@@ -133,4 +144,4 @@ warn_unreachable = true + # Shows a warning when encountering any code inferred to be unreachable or redundant after performing type analysis. + warn_unreachable = true + # Prohibit equality checks, identity checks, and container checks between non-overlapping types. +-strict_equality = true +\ No newline at end of file ++strict_equality = true diff --git a/sysutils/py-py-consul/pkg-descr b/sysutils/py-py-consul/pkg-descr new file mode 100644 index 000000000000..05e6908992cf --- /dev/null +++ b/sysutils/py-py-consul/pkg-descr @@ -0,0 +1,3 @@ +Python client for consul (WWW: http://www.consul.io) + +This is a fork of the archived project py-python-consul. |
