summaryrefslogtreecommitdiff
path: root/dev-python/flatbuffers
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-03-26 13:01:14 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-03-26 13:01:14 +0000
commite978c365080e8765f234868ad266cd333c53a94f (patch)
treeafd5bc811cabc934ef3382433ba23669cb62996c /dev-python/flatbuffers
parent3c68115c5485266603d1a893921971272f2be586 (diff)
gentoo auto-resync : 26:03:2024 - 13:01:14
Diffstat (limited to 'dev-python/flatbuffers')
-rw-r--r--dev-python/flatbuffers/Manifest2
-rw-r--r--dev-python/flatbuffers/flatbuffers-24.3.25.ebuild39
2 files changed, 41 insertions, 0 deletions
diff --git a/dev-python/flatbuffers/Manifest b/dev-python/flatbuffers/Manifest
index 10ebd8475dce..308b3fb94778 100644
--- a/dev-python/flatbuffers/Manifest
+++ b/dev-python/flatbuffers/Manifest
@@ -1,3 +1,5 @@
+DIST flatbuffers-24.3.25.gh.tar.gz 2297829 BLAKE2B f3a5a94119a1b1b63fba9126e1cdff7ab712996bfc0d65626a679405f62dfa722bc5de244ef775fba336224b60feff3aa27acf54bed027c4013590b4afbefe7c SHA512 e2a614f4fc526ce07bfe1e1bc79efd3c87acbdb93aee7b42994d4855abd2593f36b5ca1edb53c7dcd470d5fbe14a3e394bd75dcebb4458cc0aeb33d622a3c662
DIST flatbuffers-24.3.7.gh.tar.gz 2296896 BLAKE2B 439d84a58ed169f6cd980388034f3dfaf53444dc4733b942aeeac24ed805dcf7c4348df8080fdbd899d2b4bc7f1ad75f546f8db3bcbb6fc942b75e2c3877331e SHA512 93541cbc6c1ba96beed77967d89693ebbc532664ee3b39eb9df9ec28871a3a0acb744b9c823afe6d3c480fe34e092306100e67f5b8fbed4432a875e87670019e
+EBUILD flatbuffers-24.3.25.ebuild 832 BLAKE2B 0be118b73e7a2bc1ac5e291d4907ef4b0e9946c40be6f7134873c398f3fc7dcae2fb62c988e4cd7f0b7b0d46cffd9cf16e426a53ca95888df8c8590a7cc45b1d SHA512 028560eb113db1a6e95450913f9540a45d3c7b8a254cc5585eef51a98a6e261cfe8d8edabe8a6b4aeca6dc437df49bb2aa415ab60fbfa81647b86daf249121a4
EBUILD flatbuffers-24.3.7.ebuild 828 BLAKE2B 2ea5d946b056b5a70893ac597f18df3714ce2aaec2c5a1bc4b27213f76a582013b0ceac704cfa167e4ff87555baeb70b5e1a58f25a15c0d90a526d32af5fe1b2 SHA512 d38d2267a1f03651cfbc0ebadbb82a633fc97514bc6cf2291d417f852ea439d328d2f8fe9f71bc3427b2f47b50ec375d2e2eb333253fe6ee2976968f237012e8
MISC metadata.xml 397 BLAKE2B 2407f1c42b05c20ddeaf0ddce303c24604be89323c35c68a0770b221f44c4fe9e0c6580e7d5f9e50d3e263f81b26935c250e45634279285ebf2c5d327220122b SHA512 635f3e14f3aa038bf8b2b7bf321e48fe4496048a11b337bab0589bab924135f8b1d216329d9326ba214e1db202ed390722345c69e3260327c2e103f5feb7fa31
diff --git a/dev-python/flatbuffers/flatbuffers-24.3.25.ebuild b/dev-python/flatbuffers/flatbuffers-24.3.25.ebuild
new file mode 100644
index 000000000000..9f4884db1418
--- /dev/null
+++ b/dev-python/flatbuffers/flatbuffers-24.3.25.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..12} )
+
+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
+}