python312Packages.rokuecp: refactor
This commit is contained in:
parent
5a1cb2997c
commit
25d0207632
@ -18,7 +18,7 @@
|
||||
buildPythonPackage rec {
|
||||
pname = "rokuecp";
|
||||
version = "0.19.3";
|
||||
format = "pyproject";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.9";
|
||||
|
||||
@ -29,11 +29,17 @@ buildPythonPackage rec {
|
||||
hash = "sha256-XMJ2V59E4SEVlEhgc1hstLmtzl1gxwCsq+4vmkL3CPM=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
postPatch = ''
|
||||
substituteInPlace pyproject.toml \
|
||||
--replace-fail 'version = "0.0.0"' 'version = "${version}"' \
|
||||
--replace-fail "--cov" ""
|
||||
'';
|
||||
|
||||
build-system = [
|
||||
poetry-core
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
dependencies = [
|
||||
aiohttp
|
||||
backoff
|
||||
cachetools
|
||||
@ -49,12 +55,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"
|
||||
|
Loading…
Reference in New Issue
Block a user