Markéta Machová
20568c0341
* Specify build system dependency on maturin>=1,<2 again. * Allocate memory using PyMem_Malloc() and similar APIs for integration with pymalloc, mimalloc, and tracemalloc. * Source distribution does not ship compressed test documents and relevant tests skip if fixtures are not present. * Build now depends on Rust 1.82 or later instead of 1.72. - Release 3.10.13 * Fix compatibility with maturin introducing a breaking change in 1.8.0 and specify a fixed version of maturin. Projects relying on any previous version being buildable from source by end users (via PEP 517) must upgrade to at least this version. - Remove pendulum from tests: Not desired in Ring1 and not maintained upstream. It's only supported on x86_64. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-orjson?expand=0&rev=23
12 lines
351 B
Bash
12 lines
351 B
Bash
#!/bin/sh
|
|
file=$(find . -maxdepth 1 -name 'orjson-*.tar.gz' -print | sort -rn | tail -1)
|
|
echo "Removing the cargo vendoring from upstream ${file}"
|
|
dir=${file%.tar.gz}
|
|
tar -x -z -f $file
|
|
rm ${dir}/Cargo.lock
|
|
rm -r ${dir}/include/cargo
|
|
rm -r ${dir}/.cargo
|
|
outfile=${dir}-devendored.tar.xz
|
|
echo "Repackaging to ${outfile}"
|
|
tar -c -J -f ${outfile} ${dir}
|