1 |
commit: 163534fad9403927e25a55c5473a06a118ce0087 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Mar 4 04:29:47 2023 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Mar 4 04:50:33 2023 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=163534fa |
7 |
|
8 |
dev-python/flatbuffers: Bump to 23.3.3 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/flatbuffers/Manifest | 1 + |
13 |
dev-python/flatbuffers/flatbuffers-23.3.3.ebuild | 39 ++++++++++++++++++++++++ |
14 |
2 files changed, 40 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/flatbuffers/Manifest b/dev-python/flatbuffers/Manifest |
17 |
index 31a16b3b3200..df91f01b98c5 100644 |
18 |
--- a/dev-python/flatbuffers/Manifest |
19 |
+++ b/dev-python/flatbuffers/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST flatbuffers-23.1.21.gh.tar.gz 2181861 BLAKE2B 6368358c21e677feb466245a746b86cebb6d6a4058bb6d593de81bf3c32ddfb9fd475e4bb225d4529ea106253456a5ed1ee6d024b1e2521e02efef171750f428 SHA512 fa62188f773ad044644a58caf1e25bef417dfdea47c9da8a2ea7f997154b4f3976019e32e73cc533696a3d4e45ec4a8402b6df140878dfa2ff078740d61b4b0f |
22 |
+DIST flatbuffers-23.3.3.gh.tar.gz 2197401 BLAKE2B be5e3c8ea81ce4b6f2e2c1b2f22e1172434c435f096fa7dade060578c506cff0310e3e2ef0627e26ce2be44f740652eb9a8e1b63578c18f430f7925820f04e66 SHA512 4066c94f2473c7ea16917d29a613e16f840a329089c88e0bdbdb999aef3442ba00abfd2aa92266fa9c067e399dc88e6f0ccac40dc151378857e665638e78bbf0 |
23 |
|
24 |
diff --git a/dev-python/flatbuffers/flatbuffers-23.3.3.ebuild b/dev-python/flatbuffers/flatbuffers-23.3.3.ebuild |
25 |
new file mode 100644 |
26 |
index 000000000000..a7b6485ad67b |
27 |
--- /dev/null |
28 |
+++ b/dev-python/flatbuffers/flatbuffers-23.3.3.ebuild |
29 |
@@ -0,0 +1,39 @@ |
30 |
+# Copyright 1999-2023 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=8 |
34 |
+ |
35 |
+DISTUTILS_USE_PEP517=setuptools |
36 |
+PYTHON_COMPAT=( python3_{9..11} ) |
37 |
+ |
38 |
+inherit distutils-r1 |
39 |
+ |
40 |
+DESCRIPTION="RFC 7049 - Concise Binary Object Representation" |
41 |
+HOMEPAGE=" |
42 |
+ https://github.com/google/flatbuffers/ |
43 |
+ https://pypi.org/project/flatbuffers/ |
44 |
+" |
45 |
+SRC_URI=" |
46 |
+ https://github.com/google/${PN}/archive/v${PV}.tar.gz |
47 |
+ -> ${P}.gh.tar.gz |
48 |
+" |
49 |
+S=${WORKDIR}/${P}/python |
50 |
+ |
51 |
+LICENSE="Apache-2.0" |
52 |
+SLOT="0" |
53 |
+KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" |
54 |
+IUSE="test" |
55 |
+RESTRICT="!test? ( test )" |
56 |
+ |
57 |
+BDEPEND=" |
58 |
+ test? ( |
59 |
+ dev-python/numpy[${PYTHON_USEDEP}] |
60 |
+ ) |
61 |
+" |
62 |
+ |
63 |
+python_test() { |
64 |
+ cd "${WORKDIR}/${P}/tests" || die |
65 |
+ # zeroes means without benchmarks |
66 |
+ "${EPYTHON}" py_test.py 0 0 0 false || die |
67 |
+ "${EPYTHON}" py_flexbuffers_test.py -v || die |
68 |
+} |