From 9315b8bd6711cf405a4cf074bb95e4e04bd61f42 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Sat, 20 Dec 2025 08:12:40 +0100 Subject: [PATCH] dev-python/flatbuffers: Bump to 25.12.19 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- dev-python/flatbuffers/Manifest | 1 + .../flatbuffers/flatbuffers-25.12.19.ebuild | 39 +++++++++++++++++++ 2 files changed, 40 insertions(+) create mode 100644 dev-python/flatbuffers/flatbuffers-25.12.19.ebuild diff --git a/dev-python/flatbuffers/Manifest b/dev-python/flatbuffers/Manifest index 1c5f1eb2ae616..271f84c8805ac 100644 --- a/dev-python/flatbuffers/Manifest +++ b/dev-python/flatbuffers/Manifest @@ -1 +1,2 @@ +DIST flatbuffers-25.12.19.gh.tar.gz 2355743 BLAKE2B d06cce5a2c715d2859823161bab0c5b24e20f8cb20d45df25e66a51872ada981c61aa0e64145fe0073bc7b3a0a009de622b19e188f6e951a1d50f00fe39a9292 SHA512 808c77536fbfb1c8a1145506873a2b4e5cb508e48bf35f8502a2d1349b64e7581bfe7ff2f587b3edb2642cc885c60c0170a8875fad245240a1288057f4c07a42 DIST flatbuffers-25.9.23.gh.tar.gz 2336210 BLAKE2B 9d5765a443dbed772e75183b6caaed8d38fb17b79426d514b287efabf930e5683e5f8a4e3120d327ce3879d19521cea7f4da6a98d1c3cb4e4b94cf0b8e00a253 SHA512 259ae6c0b024c19c882d87c93d6ba156c15f14a61b11846170ac1b9e9c051cd3e80ae93cfe20ccb1aa30f2085cdbd4127ffa229b42cabbfed6b035ca4851c127 diff --git a/dev-python/flatbuffers/flatbuffers-25.12.19.ebuild b/dev-python/flatbuffers/flatbuffers-25.12.19.ebuild new file mode 100644 index 0000000000000..6fc55bfe91b59 --- /dev/null +++ b/dev-python/flatbuffers/flatbuffers-25.12.19.ebuild @@ -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 +}