dev-python/flatbuffers: Bump to 25.9.23

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny 2025-09-25 05:06:31 +02:00
parent 2b6ffb8d30
commit 3af051b446
No known key found for this signature in database
GPG Key ID: 639ADAE2329E240E
2 changed files with 40 additions and 0 deletions

View File

@ -1 +1,2 @@
DIST flatbuffers-25.2.10.gh.tar.gz 2299918 BLAKE2B f12b32fca1a15349aaba142907d2d66caa55bb73862b969b226d0356f7f68fbba74c9c3f643a944813c370cacf81735b6c80d054a70b8b442519f9c485bbd10d SHA512 7e6ae36b37c9fd322456312504156c8241852e07a2a23de6805eb2328b61b9f42b839d04b839f9d97623195721308437a1163a25071ca2af0d00a6417da74822
DIST flatbuffers-25.9.23.gh.tar.gz 2336210 BLAKE2B 9d5765a443dbed772e75183b6caaed8d38fb17b79426d514b287efabf930e5683e5f8a4e3120d327ce3879d19521cea7f4da6a98d1c3cb4e4b94cf0b8e00a253 SHA512 259ae6c0b024c19c882d87c93d6ba156c15f14a61b11846170ac1b9e9c051cd3e80ae93cfe20ccb1aa30f2085cdbd4127ffa229b42cabbfed6b035ca4851c127

View File

@ -0,0 +1,39 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{11..14} )
inherit distutils-r1
DESCRIPTION="RFC 7049 - Concise Binary Object Representation"
HOMEPAGE="
https://github.com/google/flatbuffers/
https://pypi.org/project/flatbuffers/
"
SRC_URI="
https://github.com/google/${PN}/archive/v${PV}.tar.gz
-> ${P}.gh.tar.gz
"
S=${WORKDIR}/${P}/python
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~sparc ~x86"
IUSE="test"
RESTRICT="!test? ( test )"
BDEPEND="
test? (
dev-python/numpy[${PYTHON_USEDEP}]
)
"
python_test() {
cd "${WORKDIR}/${P}/tests" || die
# zeroes means without benchmarks
"${EPYTHON}" py_test.py 0 0 0 0 false || die
"${EPYTHON}" py_flexbuffers_test.py -v || die
}