mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-24 18:58:08 -07:00
dev-python/flatbuffers: Bump to 22.12.06
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -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
|
||||
|
||||
39
dev-python/flatbuffers/flatbuffers-22.12.06.ebuild
Normal file
39
dev-python/flatbuffers/flatbuffers-22.12.06.ebuild
Normal file
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user