Merge pull request #158302 from fabaff/bump-rokuecp

python3Packages.rokuecp: 0.12.0 -> 0.13.1
This commit is contained in:
Fabian Affolter 2022-02-06 22:45:18 +01:00 committed by GitHub
commit c1d6fc6db9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,9 +1,12 @@
{ lib
, aiohttp
, aresponses
, awesomeversion
, backoff
, buildPythonPackage
, cachetools
, fetchFromGitHub
, poetry
, pytest-asyncio
, pytestCheckHook
, pythonOlder
@ -13,22 +16,29 @@
buildPythonPackage rec {
pname = "rokuecp";
version = "0.12.0";
format = "setuptools";
version = "0.13.1";
format = "pyproject";
disabled = pythonOlder "3.8";
disabled = pythonOlder "3.9";
src = fetchFromGitHub {
owner = "ctalkington";
repo = "python-rokuecp";
rev = version;
sha256 = "1pqiba4zgx7knm1k53p6w6b9a81dalqfq2agdyrz3734nhl6gx1h";
hash = "sha256-6bHEg7bpqldLDr3UX42GUg7kIDHVxtnVnrFr8CvTJU4=";
};
nativeBuildInputs = [
# Requires poetry not poetry-core
poetry
];
propagatedBuildInputs = [
aiohttp
backoff
cachetools
xmltodict
awesomeversion
yarl
];
@ -38,6 +48,11 @@ buildPythonPackage rec {
pytest-asyncio
];
postPatch = ''
substituteInPlace pyproject.toml \
--replace " --cov" ""
'';
disabledTests = [
# https://github.com/ctalkington/python-rokuecp/issues/249
"test_resolve_hostname"