Merge pull request #289251 from fabaff/aiopvapi-bump

python311Packages.aiopvapi: 3.0.1 -> 3.0.2
This commit is contained in:
Nick Cao 2024-02-16 10:17:55 -05:00 committed by GitHub
commit 0a349ba40d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -9,7 +9,7 @@
buildPythonPackage rec {
pname = "aiopvapi";
version = "3.0.1";
version = "3.0.2";
pyproject = true;
disabled = pythonOlder "3.7";
@ -18,15 +18,9 @@ buildPythonPackage rec {
owner = "sander76";
repo = "aio-powerview-api";
rev = "refs/tags/v${version}";
hash = "sha256-+jhfp8gLEmL8TGPPN7QY8lw1SkV4sMSDb4VSq2OJ6PU=";
hash = "sha256-NfSGu4M0NWfCDc37zRwUjYtZz5jOtw3pYgF6fIsB/Yo=";
};
postPatch = ''
# https://github.com/sander76/aio-powerview-api/pull/31
substituteInPlace setup.py \
--replace '"asyncio", ' ""
'';
nativeBuildInputs = [
setuptools
];
@ -43,16 +37,6 @@ buildPythonPackage rec {
"aiopvapi"
];
disabledTestPaths = [
# https://github.com/sander76/aio-powerview-api/issues/32
"tests/test_shade.py"
"tests/test_scene.py"
"tests/test_room.py"
"tests/test_apiresource.py"
"tests/test_hub.py"
"tests/test_scene_members.py"
];
meta = with lib; {
description = "Python API for the PowerView API";
homepage = "https://github.com/sander76/aio-powerview-api";