commit:     f0df5e1646ab552e26b159c2e7d771d4ff772003
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Jun 14 04:23:20 2025 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Jun 14 04:25:18 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f0df5e16

dev-python/doc8: Bump to 2.0.0

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/doc8/Manifest          |  1 +
 dev-python/doc8/doc8-2.0.0.ebuild | 37 +++++++++++++++++++++++++++++++++++++
 2 files changed, 38 insertions(+)

diff --git a/dev-python/doc8/Manifest b/dev-python/doc8/Manifest
index 6b97b3d1efce..23d63ef9023c 100644
--- a/dev-python/doc8/Manifest
+++ b/dev-python/doc8/Manifest
@@ -1 +1,2 @@
 DIST doc8-1.1.2.tar.gz 27030 BLAKE2B 
76c02acb4165bc70a5f84a68c44a1560ca2fe7eae97efe12e93f48922439ca5141028be4be78f3edaff5e25757bf668e567b77ca2f46c0844a54b085da9e3e1e
 SHA512 
77e6dd1abe99ae993138653093458672e8af281e9c195696b67e2ba1a2d0ef4f1b77dd9f24077f159d0b6d9dbb2c78b5b24fc1a6121e2a199fe72528e3926072
+DIST doc8-2.0.0.tar.gz 28436 BLAKE2B 
59763e184a76c76c195b9e6db3618e524992ff30d63356930574284f5e1cf709c0d99efbf440ad0de7d672511e5cf95db0e3eb519e05ab3633bc2dda817ed7dd
 SHA512 
f62ddc0fe41cb144eef9f6849fee4c770e8e98318d2bc6ee1d5e888fb2c3c3a3fdb867d0dabd2b1b952dcb0c8975debb2297d4dab38d1202d9d16f0e42a89826

diff --git a/dev-python/doc8/doc8-2.0.0.ebuild 
b/dev-python/doc8/doc8-2.0.0.ebuild
new file mode 100644
index 000000000000..f31041ccdc63
--- /dev/null
+++ b/dev-python/doc8/doc8-2.0.0.ebuild
@@ -0,0 +1,37 @@
+# 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_{11..13} )
+
+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.19[${PYTHON_USEDEP}]
+       dev-python/pygments[${PYTHON_USEDEP}]
+       >=dev-python/restructuredtext-lint-0.7[${PYTHON_USEDEP}]
+       dev-python/stevedore[${PYTHON_USEDEP}]
+"
+BDEPEND="
+       dev-python/setuptools-scm[${PYTHON_USEDEP}]
+"
+
+distutils_enable_tests pytest
+
+src_prepare() {
+       distutils-r1_src_prepare
+       # unpin docutils
+       sed -i -e '/docutils/s:,<=[0-9.]*::' pyproject.toml || die
+}

Reply via email to