#3 Fix of python3-tw2-core requires both Python 2 and Python 3 (rhbz #1546817)
Merged a year ago by ralph. Opened a year ago by aries.
rpms/ aries/python-tw2-core master  into  master

file modified
+6 -1

@@ -8,7 +8,7 @@ 

  

  Name:           python-tw2-core

  Version:        2.2.3

- Release:        10%{?dist}

+ Release:        11%{?dist}

  Summary:        Web widget creation toolkit based on TurboGears widgets

  

  Group:          Development/Languages

@@ -183,6 +183,8 @@ 

  

  %if 0%{?with_python3}

  pushd %{py3dir}

+ # Fix shebang

+ sed -i '1s=^#!/usr/bin/\(python\|env python\)[0-9.]*=#!%{__python3}=' tw2/core/testbase/xhtmlify.py

  %{__python3} setup.py build

  popd

  %endif # with_python3

@@ -224,6 +226,9 @@ 

  %endif

  

  %changelog

+ * Thu Mar 15 2018 Jan Beran <jberan@redhat.com> - 2.2.3-11

+ - Fix of python3-tw2-core requires both Python 2 and Python 3 (rhbz #1546817)

+ 

  * Wed Feb 28 2018 Iryna Shcherbina <ishcherb@redhat.com> - 2.2.3-10

  - Update Python 2 dependency declarations to new packaging standards

    (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)