mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-17 11:04:10 -04:00
dev-python/fastavro: add 1.4.11, drop 1.4.7
Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
50
dev-python/fastavro/fastavro-1.4.11.ebuild
Normal file
50
dev-python/fastavro/fastavro-1.4.11.ebuild
Normal 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
|
||||
Reference in New Issue
Block a user