mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2025-12-11 00:07:51 +03:00
Also move RDEPEND above distutils_enable_tests as otherwise those aren't added to BDEPEND. Signed-off-by: Alfred Wingate <parona@protonmail.com> Part-of: https://github.com/gentoo/gentoo/pull/43253 Signed-off-by: Sam James <sam@gentoo.org>
36 lines
746 B
Bash
36 lines
746 B
Bash
# Copyright 2021-2025 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
DISTUTILS_USE_PEP517=setuptools
|
|
PYTHON_COMPAT=( python3_{11..14} )
|
|
|
|
inherit distutils-r1
|
|
|
|
DESCRIPTION="The async transformation code"
|
|
HOMEPAGE="
|
|
https://github.com/python-trio/unasync/
|
|
https://pypi.org/project/unasync/
|
|
"
|
|
SRC_URI="
|
|
https://github.com/python-trio/unasync/archive/v${PV}.tar.gz
|
|
-> ${P}.gh.tar.gz
|
|
"
|
|
|
|
LICENSE="|| ( Apache-2.0 MIT )"
|
|
SLOT="0"
|
|
KEYWORDS="amd64 arm64 x86"
|
|
|
|
RDEPEND="
|
|
dev-python/setuptools[${PYTHON_USEDEP}]
|
|
dev-python/tokenize-rt[${PYTHON_USEDEP}]
|
|
"
|
|
|
|
distutils_enable_sphinx docs/source \
|
|
dev-python/sphinxcontrib-trio \
|
|
dev-python/sphinx-rtd-theme
|
|
|
|
EPYTEST_PLUGINS=()
|
|
distutils_enable_tests pytest
|