Merge master into staging-next

This commit is contained in:
github-actions[bot]
2021-11-06 06:01:07 +00:00
committed by GitHub
46 changed files with 251 additions and 199 deletions
@@ -4,6 +4,7 @@
, asyncio-dgram
, asynctest
, buildPythonPackage
, docutils
, fetchFromGitHub
, poetry-core
, pytest-aiohttp
@@ -15,13 +16,13 @@
buildPythonPackage rec {
pname = "aioguardian";
version = "2021.10.0";
version = "2021.11.0";
src = fetchFromGitHub {
owner = "bachya";
repo = pname;
rev = version;
sha256 = "sha256-LKtuBMbpaVnp/eQ5hW1RQiArEBw4Lw+29y/q6Dq/tyI=";
sha256 = "sha256-jQIRACm0d0a5mQqlwxSTgLZfJFvGLWuJTb/MacppmS4=";
};
format = "pyproject";
@@ -34,6 +35,7 @@ buildPythonPackage rec {
aiohttp
async-timeout
asyncio-dgram
docutils
voluptuous
];
@@ -45,9 +47,18 @@ buildPythonPackage rec {
pytestCheckHook
];
disabledTestPaths = [ "examples/" ];
postPatch = ''
substituteInPlace pyproject.toml \
--replace 'docutils = "<0.18"' 'docutils = "*"'
'';
pythonImportsCheck = [ "aioguardian" ];
disabledTestPaths = [
"examples/"
];
pythonImportsCheck = [
"aioguardian"
];
meta = with lib; {
description = " Python library to interact with Elexa Guardian devices";
@@ -2,6 +2,7 @@
, appdirs
, buildPythonPackage
, fetchFromGitHub
, importlib-metadata
, poetry-core
, pyee
, pytest-xdist
@@ -16,9 +17,10 @@
buildPythonPackage rec {
pname = "pyppeteer";
version = "0.2.6";
disabled = pythonOlder "3.6";
format = "pyproject";
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = pname;
repo = pname;
@@ -32,6 +34,7 @@ buildPythonPackage rec {
propagatedBuildInputs = [
appdirs
importlib-metadata
pyee
tqdm
urllib3
@@ -44,6 +47,11 @@ buildPythonPackage rec {
pytestCheckHook
];
postPatch = ''
substituteInPlace pyproject.toml \
--replace 'websockets = "^9.1"' 'websockets = "*"'
'';
disabledTestPaths = [
# Requires network access
"tests/test_browser.py"
@@ -71,12 +79,14 @@ buildPythonPackage rec {
"TestPDF"
];
pythonImportsCheck = [ "pyppeteer" ];
pythonImportsCheck = [
"pyppeteer"
];
meta = {
meta = with lib; {
description = "Headless chrome/chromium automation library (unofficial port of puppeteer)";
homepage = "https://github.com/pyppeteer/pyppeteer";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ kmein ];
license = licenses.mit;
maintainers = with maintainers; [ kmein ];
};
}