python3Packages.aiohasupervisor: 0.4.3 -> 0.5.0

https://github.com/home-assistant-libs/python-supervisor-client/releases/tag/0.5.0
This commit is contained in:
Martin Weinelt 2026-07-04 20:08:37 +02:00
commit cedb384656
No known key found for this signature in database
GPG key ID: 87C1E9888F856759

View file

@ -6,6 +6,7 @@
fetchFromGitHub,
mashumaro,
orjson,
pyprojectVersionPatchHook,
pytest-aiohttp,
pytest-cov-stub,
pytest-timeout,
@ -16,23 +17,25 @@
buildPythonPackage rec {
pname = "aiohasupervisor";
version = "0.4.3";
version = "0.5.0";
pyproject = true;
src = fetchFromGitHub {
owner = "home-assistant-libs";
repo = "python-supervisor-client";
tag = version;
hash = "sha256-h22y62f+pdoHYKqPeKNGFkVS7/IMWbxaAoDLomwAB40=";
hash = "sha256-qIj3kiKSo0aUj7b250c39FqxU3jV6uegmBlxR6wOkQ8=";
};
postPatch = ''
substituteInPlace pyproject.toml \
--replace-fail 'version = "0.0.0"' 'version = "${version}"' \
--replace-fail "setuptools>=68.0,<82.1" "setuptools" \
--replace-fail ', "wheel>=0.40,<0.47"' ""
--replace-fail "setuptools>=68.0,<82.1" "setuptools"
'';
nativeBuildInputs = [
pyprojectVersionPatchHook
];
build-system = [ setuptools ];
dependencies = [