David Runge pushed to branch main at Arch Linux / Packaging / Packages / python-orjson
Commits: 36dac4b7 by David Runge at 2025-10-27T21:36:01+01:00 upgpkg: 3.11.4-1 Build with `-ffat-lto-objects` as otherwise symbols are missing: https://github.com/ijl/orjson/issues/613 - - - - - 2 changed files: - .SRCINFO - PKGBUILD Changes: ===================================== .SRCINFO ===================================== @@ -1,6 +1,6 @@ pkgbase = python-orjson pkgdesc = Fast, correct Python JSON library supporting dataclasses and datetimes - pkgver = 3.11.3 + pkgver = 3.11.4 pkgrel = 1 url = https://github.com/ijl/orjson arch = x86_64 @@ -17,8 +17,8 @@ pkgbase = python-orjson depends = gcc-libs depends = glibc depends = python - source = https://github.com/ijl/orjson/archive/3.11.3/orjson-3.11.3.tar.gz - sha512sums = 64bd2f56ee91dabcb737ad39bf0c905614e475be75f26c4c51f01b471d0da85b8151e48e55be574ba2dd9346eea62968f973eaa73114300f5c8dd5439e180a5e - b2sums = 09590a996e005815b80c80ac8001a958e4b09c2c9bebeeadea8cf8168a4b6b7e366ac8caf420b50856cc627bca8c06ac75a1fbd040642ae833d1e730bf2836f6 + source = https://github.com/ijl/orjson/archive/3.11.4/orjson-3.11.4.tar.gz + sha512sums = 83bfd583e3e18ae30abc3f61f6fbd1eb6458e35d7f0b57ce24606e688ddbcea5cb3bca18f28c1979ea5aede9ebf95b4c68f0fda700e4181441bffb966a58f8b9 + b2sums = ab035997c68442dbcf8b14951db1f6b21cce916e7e9fb15eff0f5ef5c976ea0e5f59c0074e7df22fdee81b5ed28e53940bfd69e2e2064d2f53e5b9ca3d235a83 pkgname = python-orjson ===================================== PKGBUILD ===================================== @@ -3,7 +3,7 @@ _name=orjson pkgname=python-orjson -pkgver=3.11.3 +pkgver=3.11.4 pkgrel=1 pkgdesc="Fast, correct Python JSON library supporting dataclasses and datetimes" arch=(x86_64) @@ -28,10 +28,14 @@ checkdepends=( python-xxhash ) source=($url/archive/$pkgver/$_name-$pkgver.tar.gz) -sha512sums=('64bd2f56ee91dabcb737ad39bf0c905614e475be75f26c4c51f01b471d0da85b8151e48e55be574ba2dd9346eea62968f973eaa73114300f5c8dd5439e180a5e') -b2sums=('09590a996e005815b80c80ac8001a958e4b09c2c9bebeeadea8cf8168a4b6b7e366ac8caf420b50856cc627bca8c06ac75a1fbd040642ae833d1e730bf2836f6') +sha512sums=('83bfd583e3e18ae30abc3f61f6fbd1eb6458e35d7f0b57ce24606e688ddbcea5cb3bca18f28c1979ea5aede9ebf95b4c68f0fda700e4181441bffb966a58f8b9') +b2sums=('ab035997c68442dbcf8b14951db1f6b21cce916e7e9fb15eff0f5ef5c976ea0e5f59c0074e7df22fdee81b5ed28e53940bfd69e2e2064d2f53e5b9ca3d235a83') build() { + # Full LTO removes symbols from the resulting library. + # https://github.com/ijl/orjson/issues/613 + CFLAGS+=" -ffat-lto-objects" + cd $_name-$pkgver maturin build --release --strip } View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/python-orjson/-/commit/36dac4b7cda6ce90b6912414f30eb52275660a55 -- View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/python-orjson/-/commit/36dac4b7cda6ce90b6912414f30eb52275660a55 You're receiving this email because of your account on gitlab.archlinux.org.
