mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-python/doc8: fix overdependency on tomli
Since 1.0.0, it has supported using the stdlib tomllib when available:
a3638de133
Signed-off-by: Eli Schwartz <eschwartz93@gmail.com>
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
35
dev-python/doc8/doc8-1.1.1-r1.ebuild
Normal file
35
dev-python/doc8/doc8-1.1.1-r1.ebuild
Normal file
@@ -0,0 +1,35 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{10..12} )
|
||||
|
||||
inherit distutils-r1 pypi
|
||||
|
||||
DESCRIPTION="Style checker for Sphinx (or other) RST documentation"
|
||||
HOMEPAGE="
|
||||
https://pypi.org/project/doc8/
|
||||
https://github.com/PyCQA/doc8/
|
||||
"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
|
||||
|
||||
RDEPEND="
|
||||
<dev-python/docutils-0.21[${PYTHON_USEDEP}]
|
||||
dev-python/pygments[${PYTHON_USEDEP}]
|
||||
>=dev-python/restructuredtext-lint-0.7[${PYTHON_USEDEP}]
|
||||
dev-python/stevedore[${PYTHON_USEDEP}]
|
||||
$(python_gen_cond_dep '
|
||||
dev-python/tomli[${PYTHON_USEDEP}]
|
||||
' 3.10)
|
||||
"
|
||||
# setuptools_scm_git_archive is not actually needed here
|
||||
BDEPEND="
|
||||
dev-python/setuptools-scm[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
Reference in New Issue
Block a user