commit:     1e91fddc4027880e60dc29faf64fa6b83a875fc7
Author:     Eli Schwartz <eschwartz93 <AT> gmail <DOT> com>
AuthorDate: Wed Jun 26 04:19:19 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Jun 26 09:03:50 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1e91fddc

dev-python/doc8: fix overdependency on tomli

Since 1.0.0, it has supported using the stdlib tomllib when available:

https://github.com/PyCQA/doc8/commit/a3638de1337484b26da99dc5ea4287341b9ad9f6

Signed-off-by: Eli Schwartz <eschwartz93 <AT> gmail.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-python/doc8/doc8-1.1.1-r1.ebuild | 35 +++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)

diff --git a/dev-python/doc8/doc8-1.1.1-r1.ebuild 
b/dev-python/doc8/doc8-1.1.1-r1.ebuild
new file mode 100644
index 000000000000..5cab3caa8c81
--- /dev/null
+++ b/dev-python/doc8/doc8-1.1.1-r1.ebuild
@@ -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

Reply via email to