Fabian Affolter
2025-05-09 05:06:30 +02:00
committed by Martin Weinelt
parent dd5a257768
commit f319e264f4
@@ -17,7 +17,7 @@
buildPythonPackage rec {
pname = "aiohasupervisor";
version = "0.3.0";
version = "0.3.1";
pyproject = true;
disabled = pythonOlder "3.12";
@@ -26,14 +26,12 @@ buildPythonPackage rec {
owner = "home-assistant-libs";
repo = "python-supervisor-client";
tag = version;
hash = "sha256-72YRaTlgRJ8liQ1q+Hx1iCG8Av7wWk61t306fYT9gss=";
hash = "sha256-CrcLyG8fpThYHFHH2w+UAlGxuqwpUCWsYUx2gaW9RLw=";
};
postPatch = ''
substituteInPlace pyproject.toml \
--replace-fail 'version = "0.0.0"' 'version = "${version}"' \
--replace-fail "setuptools~=68.0.0" "setuptools>=68.0.0" \
--replace-fail "wheel~=0.40.0" "wheel>=0.40.0"
--replace-fail 'version = "0.0.0"' 'version = "${version}"'
'';
build-system = [ setuptools ];
@@ -53,15 +51,12 @@ buildPythonPackage rec {
pytestCheckHook
];
# Import issue, check with next release
doCheck = false;
pythonImportsCheck = [ "aiohasupervisor" ];
meta = {
changelog = "https://github.com/home-assistant-libs/python-supervisor-client/releases/tag/${src.tag}";
description = "Client for Home Assistant Supervisor";
homepage = "https://github.com/home-assistant-libs/python-supervisor-client";
changelog = "https://github.com/home-assistant-libs/python-supervisor-client/releases/tag/${src.tag}";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ fab ];
};