Files
Zakk f0a353e71e dev-python/janus: add 2.1.1, drop 2.0.0
Upstream switched the build backend from setuptools to uv_build and dropped
setup.cfg, so use DISTUTILS_USE_PEP517=uv-build and pass -o addopts= to epytest in
place of the removed setup.cfg sed.

Signed-off-by: Zakk <zakk@gentoozh.org>
2026-11-16 20:33:06 +11:00

28 lines
657 B
Bash

# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=uv-build
PYTHON_COMPAT=( python3_{12..14} pypy3 )
PYPI_VERIFY_REPO=https://github.com/aio-libs/janus
inherit distutils-r1 pypi
DESCRIPTION="Mixed sync-async queue to interoperate between asyncio tasks and classic threads"
HOMEPAGE="https://github.com/aio-libs/janus"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~arm64"
EPYTEST_PLUGINS=( pytest-asyncio )
distutils_enable_tests pytest
EPYTEST_IGNORE=(
# needs pytest-codspeed, which is not packaged
tests/test_benchmarks.py
)
python_test() {
epytest -o addopts=
}