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

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

    <bug>
          <bug_id>43453</bug_id>
          
          <creation_ts>2022-08-04 17:24:27 +0300</creation_ts>
          <short_desc>Некорректно обрабатывает python-сценарии без shebang</short_desc>
          <delta_ts>2022-08-11 01:01:18 +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>eepm</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>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Fr. Br. George">george</reporter>
          <assigned_to name="Vitaly Lipatov">lav</assigned_to>
          <cc>lav</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>213450</commentid>
    <comment_count>0</comment_count>
    <who name="Fr. Br. George">george</who>
    <bug_when>2022-08-04 17:24:27 +0300</bug_when>
    <thetext>При перепаковке пакетов в python-сценарии вставляется `#!/usr/bin/python3`
Однако при этом игнорируются конструкции вида `#!/usr/bin/env python` а также python-сценарии вообще без shebang. В частности, поэтому не работает 
`eepm play steam` (один из сценариев распознаётся как python2)

Проблема исправлена в этой сборке:
https://git.altlinux.org/tasks/304772/</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>213601</commentid>
    <comment_count>1</comment_count>
    <who name="Vitaly Lipatov">lav</who>
    <bug_when>2022-08-11 01:01:18 +0300</bug_when>
    <thetext>Добавлено в
* Сб авг 06 2022 Vitaly Lipatov &lt;lav@altlinux.ru&gt; 3.22.0-alt1
- repack.d/generic.sh: more common python -&gt; python2 shebang suport</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>