dev-python/fastavro: add 1.4.10

Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
Alessandro Barbieri
2022-03-17 02:37:26 +01:00
parent b8dac7fd3a
commit 2dbffda82b
2 changed files with 51 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST fastavro-1.4.10.tar.gz 733839 BLAKE2B 90bd57d5da0575a4b321dd31a3152531cce2a36626c51261e390b4f5f32d82fe3b1ea41ddd5e5885618ec5cb849a9a3620a8caf745c7782ecc2b3496bdf88998 SHA512 f3a474a56ef79dd54b71f18961520489fa848548fbbaac2c18d87c933d6c263762f73c56d9540b18ceb221d0184398ae085bfecd1c4cdb7236fd9160be94003b
DIST fastavro-1.4.7.tar.gz 728167 BLAKE2B 91eadad0fdcced3c0dd88456f88ac4f73f4eb07731a527cb70f89d7f3b45eec7688c776ffb221734c5495ed74bdd69946b1c1370fb92f46db9f85b0d0e26b706 SHA512 846c7aec326f212e8c7f707dfba52d06ee757d218037f0011e1f7fe158b454862cb27bf78a7bfcef8fe54717bd83fd7c7c09f71a6dff654037476537d50fcc80

View File

@@ -0,0 +1,50 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
# https://github.com/fastavro/fastavro/issues/558
EPYTEST_DESELECT=(
tests/test_fastavro.py::test_cython_python
tests/test_main_cli.py::test_cli_record_output
tests/test_main_cli.py::test_cli_stream_input
tests/test_main_cli.py::test_cli_arg_metadata
tests/test_main_cli.py::test_cli_arg_schema
tests/test_main_cli.py::test_cli_arg_codecs
)
PYTHON_COMPAT=( python3_{8..10} )
inherit distutils-r1
DESCRIPTION="Fast Avro for Python"
HOMEPAGE="
https://github.com/fastavro/fastavro
https://pypi.org/project/fastavro/
"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
RDEPEND=""
DEPEND="
${RDEPEND}
dev-python/cython[${PYTHON_USEDEP}]
"
BDEPEND="
test? (
dev-python/numpy[${PYTHON_USEDEP}]
dev-python/pandas[${PYTHON_USEDEP}]
dev-python/snappy[${PYTHON_USEDEP}]
dev-python/zstandard[${PYTHON_USEDEP}]
dev-python/lz4[${PYTHON_USEDEP}]
)
"
src_configure() {
export FASTAVRO_USE_CYTHON=1
default
}
distutils_enable_tests pytest