python311Packages.screenlogicpy: refactor
This commit is contained in:
parent
adaabe2c4c
commit
96d462c438
@ -4,23 +4,28 @@
|
||||
, fetchFromGitHub
|
||||
, pythonOlder
|
||||
, pytest-asyncio
|
||||
, setuptools
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "screenlogicpy";
|
||||
version = "0.10.0";
|
||||
format = "setuptools";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.6";
|
||||
disabled = pythonOlder "3.10";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "dieselrabbit";
|
||||
repo = pname;
|
||||
repo = "screenlogicpy";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-pilPmHE5amCQ/mGTy3hJqtSEElx7SevQpeMJZKYv7BA=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
setuptools
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
async-timeout
|
||||
];
|
||||
@ -32,11 +37,12 @@ buildPythonPackage rec {
|
||||
|
||||
disabledTests = [
|
||||
# Tests require network access
|
||||
"test_gateway_discovery"
|
||||
"test_async_discovery"
|
||||
"test_gateway"
|
||||
"test_async"
|
||||
"test_asyncio_gateway_discovery"
|
||||
"test_discovery_async_discover"
|
||||
"test_gateway_discovery"
|
||||
"test_gateway"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
|
Loading…
Reference in New Issue
Block a user