Accepting request 791387 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/791387 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-astor?expand=0&rev=7
This commit is contained in:
commit
96c68aa34a
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Apr 3 21:34:35 UTC 2020 - Marcus Rueckert <mrueckert@suse.de>
|
||||||
|
|
||||||
|
- remove the shebang line from the rtrip.py otherwise the python3
|
||||||
|
package will require /usr/bin/python.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Mar 25 15:11:49 UTC 2020 - Paolo Stivanin <info@paolostivanin.com>
|
Wed Mar 25 15:11:49 UTC 2020 - Paolo Stivanin <info@paolostivanin.com>
|
||||||
|
|
||||||
|
@ -63,10 +63,11 @@ There are some other similar libraries, but astor focuses on the following areas
|
|||||||
%prep
|
%prep
|
||||||
%setup -q -n astor-%{version}
|
%setup -q -n astor-%{version}
|
||||||
%patch0 -p1
|
%patch0 -p1
|
||||||
# ugly fix for the use of /usr/bin/env
|
|
||||||
sed -i 's@env @@' astor/rtrip.py
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
# ugly fix for the use of /usr/bin/env
|
||||||
|
sed -i 's@#!.*@@' astor/rtrip.py
|
||||||
|
chmod a-x astor/rtrip.py
|
||||||
%python_build
|
%python_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
|
Loading…
Reference in New Issue
Block a user