The tests failed on the `--cov` options in setup.cfg and on the missing pytest- asyncio plugin. Drop the License classifier because setuptools deprecates it and the CI fails on that QA notice. Signed-off-by: Zakk <zakk@gentoozh.org>
29 lines
733 B
Bash
29 lines
733 B
Bash
# Copyright 1999-2025 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
DISTUTILS_USE_PEP517=setuptools
|
|
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
|
|
)
|
|
|
|
src_prepare() {
|
|
distutils-r1_src_prepare
|
|
sed -i -e '/License ::/d' -e '/^addopts = --cov/d' setup.cfg || die
|
|
}
|