Merge pull request #195192 from fabaff/aiopvapi-bump

python310Packages.aiopvapi: 2.0.2 -> 2.0.3
This commit is contained in:
Fabian Affolter 2022-10-10 18:18:17 +02:00 committed by GitHub
commit a72cdbb6b4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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"
];