commit:     4a923ea4972e9aa5594abd8a775762fad73d7f5d
Author:     Louis Sautier <sbraz <AT> gentoo <DOT> org>
AuthorDate: Thu May 30 23:55:41 2024 +0000
Commit:     Louis Sautier <sbraz <AT> gentoo <DOT> org>
CommitDate: Fri May 31 00:02:51 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4a923ea4

sys-apps/init-system-helpers: fix build with docutils >= 0.21.2

Between 0.20.1 and 0.21.2, docutils switched build systems (setuptools
to flit) and removed the ".py" suffix from "rst2man.py".
Old script name:
https://sourceforge.net/p/docutils/code/HEAD/tree/tags/docutils-0.20.1/setup.py#l83
New script name:
https://sourceforge.net/p/docutils/code/HEAD/tree/tags/docutils-0.21.2/pyproject.toml#l95

Closes: https://bugs.gentoo.org/930444
Signed-off-by: Louis Sautier <sbraz <AT> gentoo.org>

 sys-apps/init-system-helpers/init-system-helpers-1.60.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys-apps/init-system-helpers/init-system-helpers-1.60.ebuild 
b/sys-apps/init-system-helpers/init-system-helpers-1.60.ebuild
index 9e7c8156a3a1..3513526ef4e5 100644
--- a/sys-apps/init-system-helpers/init-system-helpers-1.60.ebuild
+++ b/sys-apps/init-system-helpers/init-system-helpers-1.60.ebuild
@@ -12,7 +12,7 @@ LICENSE="BSD GPL-2+"
 SLOT="0"
 KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ppc ppc64 sparc x86"
 
-BDEPEND="dev-python/docutils"
+BDEPEND=">=dev-python/docutils-0.21.2"
 RDEPEND="!<sys-apps/openrc-0.33"
 
 PATCHES=(
@@ -24,7 +24,7 @@ src_install() {
        exeinto /sbin/
        doexe script/service
 
-       rst2man.py man8/service.rst > man8/service.8 || die "Failed to generate 
man page"
+       rst2man man8/service.rst > man8/service.8 || die "Failed to generate 
man page"
 
        # FIXME: need to patch to remove *rc.d references, which we don't ship
        # And should probably add a list of supported options (e.g., 
start/stop/etc.)

Reply via email to