python3Packages.homematicip: add support for async_timeout>4
This commit is contained in:
@@ -17,6 +17,8 @@
|
||||
buildPythonPackage rec {
|
||||
pname = "homematicip";
|
||||
version = "1.0.1";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
@@ -42,6 +44,11 @@ buildPythonPackage rec {
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace homematicip/aio/connection.py \
|
||||
--replace ", loop=self._loop" ""
|
||||
'';
|
||||
|
||||
disabledTests = [
|
||||
# Assert issues with datetime
|
||||
"test_contact_interface_device"
|
||||
@@ -67,7 +74,9 @@ buildPythonPackage rec {
|
||||
"test_websocket"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "homematicip" ];
|
||||
pythonImportsCheck = [
|
||||
"homematicip"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python module for the homematicIP REST API";
|
||||
|
||||
Reference in New Issue
Block a user