forked from pool/python-ujson
- update to 4.3.0 * Enable Windows on ARM64 target (#488) @nsait-linaro - Release 4.2.0 * Add a default keyword argument to dumps (#470) @garenchan * Add support for Python 3.10 (#472) @hugovk * Build 32-bit wheels for Windows (#481) @hugovk * Build PyPy3 wheels for manylinux (#475) @hugovk * Build wheels for musl aarch64 (aka ARM) Linux (musllinux_1_1_aarch64) (#478) @bwoodsend * Build wheels for musl Linux (musllinux_1_1_x86_64) (#476) @bwoodsend * Use declarative setup metadata (#477) @hugovk * Wheel building updates (#473) @hugovk * Rename master to main (#471) @hugovk * Replace README.rst with Markdown (#479) @hugovk - Release 4.1.0 * Add gcov coverage testing for C code (#457) @bwoodsend * Test Python 3.10-dev (#454) @hugovk * Remove unused variable (#459) @hugovk * Remove explicit handling of manylinux platform tag (#452) @bwoodsend * dconv no longer uses global instances of StringToDoubleConverter and (#469) @das-intensity * Switch shebang for the manylinux-wheels script (#465) @bwoodsend * Fix typos in error message (#449) @filipsalomonsson - refresh python-ujson-system-double-conversion.patch - Update requirements: removes unmaintained blist OBS-URL: https://build.opensuse.org/request/show/939939 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ujson?expand=0&rev=29
17 lines
627 B
Diff
17 lines
627 B
Diff
Index: ujson-4.3.0/setup.py
|
|
===================================================================
|
|
--- ujson-4.3.0.orig/setup.py
|
|
+++ ujson-4.3.0/setup.py
|
|
@@ -15,9 +15,9 @@ module1 = Extension(
|
|
"./lib/ultrajsonenc.c",
|
|
"./lib/ultrajsondec.c",
|
|
],
|
|
- include_dirs=["./python", "./lib", "./deps/double-conversion/double-conversion"],
|
|
+ include_dirs=["./python", "./lib", "/usr/include/double-conversion"],
|
|
extra_compile_args=["-D_GNU_SOURCE"],
|
|
- extra_link_args=["-lstdc++", "-lm"],
|
|
+ extra_link_args=["-lstdc++", "-lm", "-ldouble-conversion"],
|
|
)
|
|
|
|
with open("python/version_template.h") as f:
|