Merge pull request #310164 from fabaff/rokuecp-bump
python312Packages.rokuecp: 0.19.2 -> 0.19.3
This commit is contained in:
commit
559f9839d2
@ -1,24 +1,25 @@
|
||||
{ lib
|
||||
, aiohttp
|
||||
, aresponses
|
||||
, awesomeversion
|
||||
, backoff
|
||||
, buildPythonPackage
|
||||
, cachetools
|
||||
, fetchFromGitHub
|
||||
, poetry-core
|
||||
, pytest-asyncio
|
||||
, pytest-freezegun
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, xmltodict
|
||||
, yarl
|
||||
{
|
||||
lib,
|
||||
aiohttp,
|
||||
aresponses,
|
||||
awesomeversion,
|
||||
backoff,
|
||||
buildPythonPackage,
|
||||
cachetools,
|
||||
fetchFromGitHub,
|
||||
poetry-core,
|
||||
pytest-asyncio,
|
||||
pytest-freezegun,
|
||||
pytestCheckHook,
|
||||
pythonOlder,
|
||||
xmltodict,
|
||||
yarl,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "rokuecp";
|
||||
version = "0.19.2";
|
||||
format = "pyproject";
|
||||
version = "0.19.3";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.9";
|
||||
|
||||
@ -26,14 +27,18 @@ buildPythonPackage rec {
|
||||
owner = "ctalkington";
|
||||
repo = "python-rokuecp";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-L6uedckc2lEQ6CUlQGEyDhnuVsxRRgDQJUEsZTfm2sU=";
|
||||
hash = "sha256-XMJ2V59E4SEVlEhgc1hstLmtzl1gxwCsq+4vmkL3CPM=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
poetry-core
|
||||
];
|
||||
postPatch = ''
|
||||
substituteInPlace pyproject.toml \
|
||||
--replace-fail 'version = "0.0.0"' 'version = "${version}"' \
|
||||
--replace-fail "--cov" ""
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = [
|
||||
build-system = [ poetry-core ];
|
||||
|
||||
dependencies = [
|
||||
aiohttp
|
||||
backoff
|
||||
cachetools
|
||||
@ -49,12 +54,6 @@ buildPythonPackage rec {
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace pyproject.toml \
|
||||
--replace 'version = "0.0.0"' 'version = "${version}"' \
|
||||
--replace "--cov" ""
|
||||
'';
|
||||
|
||||
disabledTests = [
|
||||
# Network related tests are having troube in the sandbox
|
||||
"test_resolve_hostname"
|
||||
@ -66,9 +65,7 @@ buildPythonPackage rec {
|
||||
"test_get_tv_channels_single_channel"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"rokuecp"
|
||||
];
|
||||
pythonImportsCheck = [ "rokuecp" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Asynchronous Python client for Roku (ECP)";
|
||||
|
Loading…
Reference in New Issue
Block a user