Merge pull request #158302 from fabaff/bump-rokuecp
python3Packages.rokuecp: 0.12.0 -> 0.13.1
This commit is contained in:
commit
c1d6fc6db9
1 changed files with 19 additions and 4 deletions
|
@ -1,9 +1,12 @@
|
||||||
{ lib
|
{ lib
|
||||||
, aiohttp
|
, aiohttp
|
||||||
, aresponses
|
, aresponses
|
||||||
|
, awesomeversion
|
||||||
|
, backoff
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, cachetools
|
, cachetools
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
|
, poetry
|
||||||
, pytest-asyncio
|
, pytest-asyncio
|
||||||
, pytestCheckHook
|
, pytestCheckHook
|
||||||
, pythonOlder
|
, pythonOlder
|
||||||
|
@ -13,22 +16,29 @@
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "rokuecp";
|
pname = "rokuecp";
|
||||||
version = "0.12.0";
|
version = "0.13.1";
|
||||||
format = "setuptools";
|
format = "pyproject";
|
||||||
|
|
||||||
disabled = pythonOlder "3.8";
|
disabled = pythonOlder "3.9";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "ctalkington";
|
owner = "ctalkington";
|
||||||
repo = "python-rokuecp";
|
repo = "python-rokuecp";
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "1pqiba4zgx7knm1k53p6w6b9a81dalqfq2agdyrz3734nhl6gx1h";
|
hash = "sha256-6bHEg7bpqldLDr3UX42GUg7kIDHVxtnVnrFr8CvTJU4=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
# Requires poetry not poetry-core
|
||||||
|
poetry
|
||||||
|
];
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
aiohttp
|
aiohttp
|
||||||
|
backoff
|
||||||
cachetools
|
cachetools
|
||||||
xmltodict
|
xmltodict
|
||||||
|
awesomeversion
|
||||||
yarl
|
yarl
|
||||||
];
|
];
|
||||||
|
|
||||||
|
@ -38,6 +48,11 @@ buildPythonPackage rec {
|
||||||
pytest-asyncio
|
pytest-asyncio
|
||||||
];
|
];
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
substituteInPlace pyproject.toml \
|
||||||
|
--replace " --cov" ""
|
||||||
|
'';
|
||||||
|
|
||||||
disabledTests = [
|
disabledTests = [
|
||||||
# https://github.com/ctalkington/python-rokuecp/issues/249
|
# https://github.com/ctalkington/python-rokuecp/issues/249
|
||||||
"test_resolve_hostname"
|
"test_resolve_hostname"
|
||||||
|
|
Loading…
Reference in a new issue