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

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

    <bug>
          <bug_id>41784</bug_id>
          
          <creation_ts>2022-01-24 16:25:53 +0300</creation_ts>
          <short_desc>Нет rst2man и других утилит без суффикса .py</short_desc>
          <delta_ts>2022-04-15 08:44:43 +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>
    
    <dependson>40057</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Andrew Vasilyev">andy</reporter>
          <assigned_to name="Anton Farygin">rider</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>207063</commentid>
    <comment_count>0</comment_count>
    <who name="Andrew Vasilyev">andy</who>
    <bug_when>2022-01-24 16:25:53 +0300</bug_when>
    <thetext>При сборке, например, mdevctl, требуется /usr/bin/rst2man, а в пакете
  python3-module-docutils есть только /usr/bin/*.py

  В &quot;других дистрибутивах&quot; пакет предоставляет /usr/bin/rst2man (и т.п.).
  Например, в Fedora:

for file in %{buildroot}%{_bindir}/*.py; do
  mv $file $(dirname $file)/$(basename $file .py)
done

  Наверное, лучше предоставлять оба варианта команд, например, через 
  симлинки на *.py.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>207069</commentid>
    <comment_count>1</comment_count>
    <who name="Grigory Ustinov">grenka</who>
    <bug_when>2022-01-24 17:03:06 +0300</bug_when>
    <thetext>m/mpv/mpv.spec:subst &apos;s|rst2man|rst2man.py|&apos; wscript*
r/rdma-core/rdma-core.spec:subst &apos;s|NAMES rst2man|&amp; rst2man.py|&apos; buildlib/Findrst2man.cmake
f/fuse-sshfs/fuse-sshfs.spec:Patch1: alt-find-rst2man.patch

Это забавно=)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>207070</commentid>
    <comment_count>2</comment_count>
    <who name="Stanislav Levin">slev</who>
    <bug_when>2022-01-24 17:31:33 +0300</bug_when>
    <thetext>На то, чтобы в bindir паковать foobar.py должна быть веская причина.

Иначе любой Python скрипт, положенный по тому же bindir пути, что и foobar.py, и который хочет импортировать модуль foobar из purelib/platlib, найдет не то, что ожидает автор такого скрипта (импорт произойдет из bindir/foobar.py).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>207074</commentid>
    <comment_count>3</comment_count>
    <who name="Anton Farygin">rider</who>
    <bug_when>2022-01-24 17:58:20 +0300</bug_when>
    <thetext>Я могу поправить сейчас, но там очень нервный ментейнер собирает новый python и я боюсь что могу что-то ему испортить. 

Делать сейчас или подождать ?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>207076</commentid>
    <comment_count>4</comment_count>
    <who name="Andrew Vasilyev">andy</who>
    <bug_when>2022-01-24 18:11:59 +0300</bug_when>
    <thetext>(Ответ для Anton Farygin на комментарий #3)
&gt; Я могу поправить сейчас, но там очень нервный ментейнер собирает новый
&gt; python и я боюсь что могу что-то ему испортить. 
&gt; 
&gt; Делать сейчас или подождать ?

  Вот, что он мне ответил на вопрос, не заморожена ли сборка всех модулей из задания #291245: 

&quot;Нет, обновляй что хочешь, сколько хочешь иии... когда хочешь. Насколько я понимаю, теперь мне всё это несильно мешает, а в конце будет заморозка на физическом уровне. &quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>207077</commentid>
    <comment_count>5</comment_count>
    <who name="Anton Farygin">rider</who>
    <bug_when>2022-01-24 18:14:06 +0300</bug_when>
    <thetext>Отлично. тут ещё надо будет сразу в одном задании починить всех тех, кто хочет .py бинари.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>207078</commentid>
    <comment_count>6</comment_count>
    <who name="Grigory Ustinov">grenka</who>
    <bug_when>2022-01-24 18:15:18 +0300</bug_when>
    <thetext>Если в результате обновления не пострадает ни один зависимый модуль, то не страшно, главное в сфинкс не лезьте=)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>207079</commentid>
    <comment_count>7</comment_count>
    <who name="Anton Farygin">rider</who>
    <bug_when>2022-01-24 18:20:47 +0300</bug_when>
    <thetext>так предсказать страдания зависимых модулей очень тяжело. У меня тут тоже пачка для питона болтается, которую лучше бы доделать до 3.10, но пачка разрастается и я пока тормознул этот процесс.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>209469</commentid>
    <comment_count>8</comment_count>
    <who name="Andrew Vasilyev">andy</who>
    <bug_when>2022-04-13 14:06:42 +0300</bug_when>
    <thetext>ping</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>209499</commentid>
    <comment_count>9</comment_count>
    <who name="Vitaly Lipatov">lav</who>
    <bug_when>2022-04-13 17:11:23 +0300</bug_when>
    <thetext>(Ответ для Stanislav Levin на комментарий #2)
&gt; На то, чтобы в bindir паковать foobar.py должна быть веская причина.
&gt; 
&gt; Иначе любой Python скрипт, положенный по тому же bindir пути, что и
&gt; foobar.py, и который хочет импортировать модуль foobar из purelib/platlib,
&gt; найдет не то, что ожидает автор такого скрипта (импорт произойдет из
&gt; bindir/foobar.py).

https://bugzilla.altlinux.org/show_bug.cgi?id=40057#c2</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>209586</commentid>
    <comment_count>10</comment_count>
    <who name="Repository Robot">repository-robot</who>
    <bug_when>2022-04-15 08:44:43 +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>