python310Packages.aiopvapi: 2.0.2 -> 2.0.3
This commit is contained in:
parent
0c52d58322
commit
89a2e80990
@ -9,17 +9,16 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "aiopvapi";
|
||||
version = "2.0.2";
|
||||
version = "2.0.3";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.5";
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "sander76";
|
||||
repo = "aio-powerview-api";
|
||||
# no tags on git, no sdist on pypi: https://github.com/sander76/aio-powerview-api/issues/12
|
||||
rev = "refs/tags/v${version}";
|
||||
sha256 = "sha256-OengPrUBaYzpLSWEU9Jc6GLx863YJfqRe64676oQ81Y=";
|
||||
hash = "sha256-RBZuYgTySVL1YtyZ4ZJZly2zvWt/5pZ99/aPCwZ91xQ=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
@ -31,13 +30,6 @@ buildPythonPackage rec {
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
# async_timeout 4.0.0 removes loop, https://github.com/sander76/aio-powerview-api/pull/13
|
||||
# Patch doesn't apply due to different line endings
|
||||
substituteInPlace aiopvapi/helpers/aiorequest.py \
|
||||
--replace ", loop=self.loop)" ")"
|
||||
'';
|
||||
|
||||
pythonImportsCheck = [
|
||||
"aiopvapi"
|
||||
];
|
||||
|
Loading…
Reference in New Issue
Block a user