* update flatbuffers to 24.3.25-3
This commit is contained in:
parent
e9e5752686
commit
9eeb40d245
26
flatbuffers/.SRCINFO
Normal file
26
flatbuffers/.SRCINFO
Normal file
@ -0,0 +1,26 @@
|
||||
pkgbase = flatbuffers
|
||||
pkgdesc = An efficient cross platform serialization library for C++, with support for Java, C# and Go
|
||||
pkgver = 24.3.25
|
||||
pkgrel = 3
|
||||
url = https://google.github.io/flatbuffers/
|
||||
arch = x86_64
|
||||
arch = powerpc64le
|
||||
arch = powerpc64
|
||||
arch = powerpc
|
||||
arch = riscv64
|
||||
license = Apache
|
||||
makedepends = cmake
|
||||
makedepends = python-setuptools
|
||||
makedepends = python-numpy
|
||||
depends = gcc-libs
|
||||
source = https://github.com/google/flatbuffers/archive/v24.3.25/flatbuffers-24.3.25.tar.gz
|
||||
source = flatbuffers-numpy2.patch::https://github.com/google/flatbuffers/pull/8346.patch
|
||||
sha256sums = 4157c5cacdb59737c5d627e47ac26b140e9ee28b1102f812b36068aab728c1ed
|
||||
sha256sums = 2a33fba91f2b131384af1fd57bb0efe6e706121f681cda9392414f9b2b80f6c6
|
||||
|
||||
pkgname = flatbuffers
|
||||
|
||||
pkgname = python-flatbuffers
|
||||
pkgdesc = An efficient cross platform serialization library for Python
|
||||
depends = python
|
||||
optdepends = python-numpy: support for Numpy arrays
|
5
flatbuffers/.nvchecker.toml
Normal file
5
flatbuffers/.nvchecker.toml
Normal file
@ -0,0 +1,5 @@
|
||||
[flatbuffers]
|
||||
source = 'github'
|
||||
github = 'google/flatbuffers'
|
||||
use_max_tag = true
|
||||
prefix = 'v'
|
@ -7,15 +7,17 @@ pkgbase=flatbuffers
|
||||
pkgname=(flatbuffers python-flatbuffers)
|
||||
# https://github.com/google/flatbuffers/blob/master/CHANGELOG.md
|
||||
pkgver=24.3.25
|
||||
pkgrel=2.1
|
||||
pkgrel=3
|
||||
pkgdesc='An efficient cross platform serialization library for C++, with support for Java, C# and Go'
|
||||
arch=(x86_64 powerpc64le powerpc64 powerpc riscv64)
|
||||
url='https://google.github.io/flatbuffers/'
|
||||
license=(Apache)
|
||||
depends=(gcc-libs)
|
||||
makedepends=(cmake python-setuptools python-numpy)
|
||||
source=(https://github.com/google/$pkgbase/archive/v$pkgver/$pkgbase-$pkgver.tar.gz)
|
||||
sha256sums=('4157c5cacdb59737c5d627e47ac26b140e9ee28b1102f812b36068aab728c1ed')
|
||||
source=(https://github.com/google/$pkgbase/archive/v$pkgver/$pkgbase-$pkgver.tar.gz
|
||||
"$pkgname-numpy2.patch::https://github.com/google/flatbuffers/pull/8346.patch")
|
||||
sha256sums=('4157c5cacdb59737c5d627e47ac26b140e9ee28b1102f812b36068aab728c1ed'
|
||||
'2a33fba91f2b131384af1fd57bb0efe6e706121f681cda9392414f9b2b80f6c6')
|
||||
|
||||
prepare() {
|
||||
sed -i 's/-Werror=/-W/g;s/-Werror//g' $pkgname-$pkgver/CMakeLists.txt
|
||||
@ -23,6 +25,8 @@ prepare() {
|
||||
cd $pkgbase-$pkgver
|
||||
# Work-around missing out-of-source build support in Python tests
|
||||
sed -i 's#${test_dir}/../flatc#${test_dir}/../../build/flatc#' tests/PythonTest.sh
|
||||
|
||||
patch -Np1 -i ../$pkgname-numpy2.patch
|
||||
}
|
||||
|
||||
build() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user