python3Packages.py7zr: 0.22.0 -> 1.0.0

https://github.com/miurahr/py7zr/blob/v1.0.0/docs/Changelog.rst#v100

This commit was automatically generated using update-python-libraries.
This commit is contained in:
Martin Weinelt
2025-08-09 19:02:26 +02:00
parent 83008ee916
commit 508eb5bead
@@ -15,31 +15,25 @@
texttable,
py-cpuinfo,
pytest-benchmark,
pytest-httpserver,
pytest-remotedata,
pytest-timeout,
pytestCheckHook,
requests,
}:
buildPythonPackage rec {
pname = "py7zr";
version = "0.22.0";
version = "1.0.0";
pyproject = true;
src = fetchFromGitHub {
owner = "miurahr";
repo = "py7zr";
tag = "v${version}";
hash = "sha256-YR2cuHZWwqrytidAMbNvRV1/N4UZG8AMMmzcTcG9FvY=";
hash = "sha256-uV4zBQZlHfHgM/NiVSjI5I9wJRk9i4ihJn4B2R6XRuM=";
};
postPatch =
# Replace inaccessible mirror (qt.mirrors.tds.net):
# upstream PR: https://github.com/miurahr/py7zr/pull/637
''
substituteInPlace tests/test_concurrent.py \
--replace-fail 'http://qt.mirrors.tds.net/qt/' 'https://download.qt.io/'
'';
build-system = [
setuptools
setuptools-scm
@@ -60,9 +54,11 @@ buildPythonPackage rec {
nativeCheckInputs = [
py-cpuinfo
pytest-benchmark
pytest-httpserver
pytest-remotedata
pytest-timeout
pytestCheckHook
requests
];
pytestFlags = [ "--benchmark-disable" ];