forked from pool/python-orjson
Markéta Machová
47844c6657
* Improve performance of stable Rust amd64 builds. - from version 3.10.6 * Improve performance. - from version 3.10.5 * Improve performance. - from version 3.10.4 * Improve performance. - from version 3.10.3 * `manylinux` amd64 builds include runtime-detected AVX-512 `str` implementation. * Tests now compatible with numpy v2. - from version 3.10.2 * Fix crash serializing `str` introduced in 3.10.1. * Improve performance. * Drop support for arm7. - from version 3.10.1 * Serializing `numpy.ndarray` with non-native endianness raises `orjson.JSONEncodeError`. * Improve performance of serializing. - from version 3.10.0 * Support serializing `numpy.float16` (`numpy.half`). * sdist uses metadata 2.3 instead of 2.1. * Improve Windows PyPI builds. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-orjson?expand=0&rev=19
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}
|