<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>40057</bug_id>
          
          <creation_ts>2021-05-15 05:31:15 +0300</creation_ts>
          <short_desc>Утилита rst2man снова упакована с расширением .py</short_desc>
          <delta_ts>2022-04-15 08:44:42 +0300</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>python3-module-docutils</component>
          <version>unstable</version>
          <rep_platform>x86_64</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P5</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>35274</dependson>
          <blocked>41784</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Evgeny Sinelnikov">sin</reporter>
          <assigned_to name="Evgeny Sinelnikov">sin</assigned_to>
          <cc>rider</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>198502</commentid>
    <comment_count>0</comment_count>
    <who name="Evgeny Sinelnikov">sin</who>
    <bug_when>2021-05-15 05:31:15 +0300</bug_when>
    <thetext>По мотивам rst2man на питоне 2:
https://bugzilla.altlinux.org/show_bug.cgi?id=35274

Не пора ли переехать на rst2man на питоне 3, как варианте по умолчанию?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>202674</commentid>
    <comment_count>1</comment_count>
    <who name="Anton Farygin">rider</who>
    <bug_when>2021-09-13 08:52:07 +0300</bug_when>
    <thetext>Жень, я не против.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>202690</commentid>
    <comment_count>2</comment_count>
    <who name="Vitaly Lipatov">lav</who>
    <bug_when>2021-09-13 12:43:58 +0300</bug_when>
    <thetext>(Ответ для Evgeny Sinelnikov на комментарий #0)
&gt; По мотивам rst2man на питоне 2:
&gt; https://bugzilla.altlinux.org/show_bug.cgi?id=35274
&gt; 
&gt; Не пора ли переехать на rst2man на питоне 3, как варианте по умолчанию?
Когда я изучал этот вопрос, я выяснил, что это позиция апстрима так называть rst2man. Там была какая-то путаница, в итоге во многих проектах идёт перебор названий.

Но я тоже за то, чтобы .py убрать, чтобы не получалось таких казусов:
https://bugzilla.altlinux.org/40297

Вообще делать расширения .py и .py3 для бинарников было плохой идеей.

Вот git grep rst2man по спекам:
f/fuse-sshfs/fuse-sshfs.spec:Patch1: alt-find-rst2man.patch
g/git-remote-gcrypt/git-remote-gcrypt.spec:BuildRequires: /usr/bin/rst2man
g/git-remote-gcrypt/git-remote-gcrypt.spec:rst2man README.rst &gt; git-remote-gcrypt.1
l/liblensfun/liblensfun.spec:subst &apos;s/rst2man/rst2man.py3/g&apos; docs/CMakeLists.txt
l/liblogging/liblogging.spec:BuildRequires: /usr/bin/rst2man
l/linux-tools/linux-tools.spec:# python3-module-docutils is just for rst2man.py
l/linux-tools/linux-tools.spec:# Use rst2man from python3-module-docutils
l/linux-tools/linux-tools.spec:# Sisyphus have rst2man.py, p9 have rst2man.py3.
l/linux-tools/linux-tools.spec:rst2man() {
l/linux-tools/linux-tools.spec: type rst2man.py3 &gt;/dev/null 2&gt;&amp;1 &amp;&amp; rst2man.py3 &quot;$@&quot; || rst2man.py &quot;$@&quot;
l/linux-tools/linux-tools.spec:}; export -f rst2man
l/linux-tools/linux-tools.spec:- spec: Fix &apos;rst2man.py: command not found&apos; in p9.
p/pgbouncer/pgbouncer.spec:# Need /usr/bin/rst2man for building
r/rdma-core/rdma-core.spec:BuildRequires: /usr/bin/rst2man
r/rsyslog/rsyslog.spec:BuildRequires: /usr/bin/rst2man
s/sddm/sddm.spec:sed -i &apos;s|rst2man2.py|rst2man.py3|&apos; data/man/CMakeLists.txt</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>209585</commentid>
    <comment_count>3</comment_count>
    <who name="Repository Robot">repository-robot</who>
    <bug_when>2022-04-15 08:44:42 +0300</bug_when>
    <thetext>python3-module-docutils-0.18.1-alt1 -&gt; sisyphus:

 Wed Apr 13 2022 Anton Farygin &lt;rider@altlinux.ru&gt; 0.18.1-alt1
 - 0.18.1
 - Renamed resulting binaries, removed .py suffix (Closes: #40057, #41784)</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>