mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-26 04:35:39 +03:00
24 lines
880 B
Diff
24 lines
880 B
Diff
Don't use orjson as per fifth bullet of
|
|
https://github.com/ankitects/anki/blob/2.1.49/docs/new-platform.md#protobuf--python
|
|
--- anki-2.1.49/pip/requirements.txt
|
|
+++ anki-2.1.49_no_orjson/pip/requirements.txt
|
|
@@ -77,7 +77,8 @@
|
|
# via -r requirements.in
|
|
mypy==0.902
|
|
# via -r requirements.in
|
|
-orjson==3.5.3
|
|
+#skip orjson for alpine according to bullet 5 in https://github.com/ankitects/anki/blob/2.1.49/docs/new-platform.md#protobuf--python
|
|
+#orjson==3.5.3
|
|
# via -r requirements.in
|
|
packaging==20.9
|
|
# via pytest
|
|
--- anki-2.1.49/pylib/anki/BUILD.bazel
|
|
+++ anki-2.1.49_no_orjson/pylib/anki/BUILD.bazel
|
|
@@ -85,7 +85,6 @@
|
|
"protobuf>=3.17",
|
|
"markdown",
|
|
"stringcase",
|
|
- 'orjson; platform_machine == "x86_64"',
|
|
'psutil; sys_platform == "win32"',
|
|
'distro; sys_platform != "darwin" and sys_platform != "win32"',
|
|
],
|