dev-python/fastavro - 9999 (nest)

Search

Package Information

Description:
Fast Avro for Python
Homepage:
https://github.com/fastavro/fastavro
License:
MIT

Ebuild Details

Version EAPI Keywords Slot
9999 8 0
View Raw Ebuild
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

DISTUTILS_USE_PEP517=setuptools
DISTUTILS_EXT=1
PYTHON_COMPAT=( python3_{12..14} )

inherit distutils-r1 git-r3 optfeature

DESCRIPTION="Fast Avro for Python"
HOMEPAGE="https://github.com/fastavro/fastavro"
EGIT_REPO_URI="https://github.com/fastavro/${PN}.git"

LICENSE="MIT"
SLOT="0"

BDEPEND="dev-python/cython[${PYTHON_USEDEP}]
	test? ( dev-python/cramjam[${PYTHON_USEDEP}]
		dev-python/lz4[${PYTHON_USEDEP}]
		dev-python/zlib-ng[${PYTHON_USEDEP}]
		dev-python/zstandard[${PYTHON_USEDEP}] )"

EPYTEST_PLUGINS=()
distutils_enable_tests pytest

EPYTEST_DESELECT=(
	# AttributeError
	tests/test_fastavro.py::test_cython_python
)

pkg_postinst() {
	optfeature "interation with codecs" dev-python/cramjam dev-python/lz4 dev-python/zstandard
}

Dependencies

BDEPEND

dev-python/cython[${PYTHON_USEDEP}]
	test? ( dev-python/cramjam[${PYTHON_USEDEP}]
		dev-python/lz4[${PYTHON_USEDEP}]
		dev-python/zlib-ng[${PYTHON_USEDEP}]
		dev-python/zstandard[${PYTHON_USEDEP}] )