commit: e8249b1a13a43de9a85fa2a19e2b38b2a62a239b Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Wed Dec 7 15:04:29 2022 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Wed Dec 7 15:59:39 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e8249b1a
dev-python/flatbuffers: Bump to 22.12.06 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> dev-python/flatbuffers/Manifest | 1 + dev-python/flatbuffers/flatbuffers-22.12.06.ebuild | 39 ++++++++++++++++++++++ 2 files changed, 40 insertions(+) diff --git a/dev-python/flatbuffers/Manifest b/dev-python/flatbuffers/Manifest index b53271ecb52e..bcfd5c661f54 100644 --- a/dev-python/flatbuffers/Manifest +++ b/dev-python/flatbuffers/Manifest @@ -1,2 +1,3 @@ DIST flatbuffers-22.10.26.gh.tar.gz 2122181 BLAKE2B 26554240e71df9fafa814cd5c38253db89916ac2cfcf28dc33ed8ff50d73f0c09c97621eae3aeb028453098433a70277864500b99b23a9663264d3c596d46e2f SHA512 c0984fc4738516d0e4a1ddc66daf276b906d39239c4b70b14e194545d7fdeb3ce5ab34397309c16e916ff908a5483ab85283445394e5e14477259193c99ddf38 DIST flatbuffers-22.11.23.gh.tar.gz 2170419 BLAKE2B 438fa631f00111fed8b8934852350e7b8d8147f21e38cbb28ce7f16fce6d53021ee8d660308cbefacf1038bbd384c67d64d4ddb318890f70b2ae951674956952 SHA512 9a8506688ea1fb55bf138e728aff0e64d79955dabc751c3c757b28ebbafd7f066722bf31f748c8e23e695850bec6c67b532a9673e018ec36868ac236c7f2e50a +DIST flatbuffers-22.12.06.gh.tar.gz 2172096 BLAKE2B 92bf0c56c10fa369e7a8a53a7f903af6b5f17560a3558587914c29ab8a655f3ee078c3e261426ca5d9ad0587419d4f0049459edc552e25958f80b80ba9539d59 SHA512 1b2c8eaa2ebeb92c3ebc363888b34b817d7b62a568e40bce2b037814f1f0103d4cb7db8507ec9ca05421be61b0b2be3edd6c4d564f75d1ce39278d73f8442ac1 diff --git a/dev-python/flatbuffers/flatbuffers-22.12.06.ebuild b/dev-python/flatbuffers/flatbuffers-22.12.06.ebuild new file mode 100644 index 000000000000..96e548af349a --- /dev/null +++ b/dev-python/flatbuffers/flatbuffers-22.12.06.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8..11} ) + +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 ~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 false || die + "${EPYTHON}" py_flexbuffers_test.py -v || die +}