[X2Go-Commits] [python-x2go] 10/10: python-x2go.spec: No need to run 2to3 at build time anymore. Python X2Go now natively supports Python2 and Python3.

git-admin at x2go.org git-admin at x2go.org
Sun Sep 24 10:51:39 CEST 2017


This is an automated email from the git hooks/post-receive script.

x2go pushed a commit to branch master
in repository python-x2go.

commit ab9319923002e4698dfc6bf65b4693820bd0764a
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date:   Sun Sep 24 10:51:20 2017 +0200

    python-x2go.spec: No need to run 2to3 at build time anymore. Python X2Go now natively supports Python2 and Python3.
---
 python-x2go.spec | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/python-x2go.spec b/python-x2go.spec
index 91f5eb5..c576e0b 100644
--- a/python-x2go.spec
+++ b/python-x2go.spec
@@ -26,8 +26,6 @@ BuildRequires:  python2-devel
 BuildRequires:  python-setuptools
 %if 0%{?with_python3}
 BuildRequires:  python3-devel
-# For 2to3
-BuildRequires:  python-tools
 %endif # if with_python3
 # For doc build
 BuildRequires:  epydoc
@@ -92,7 +90,6 @@ find x2go -name '*.py' | xargs sed -i '1s|^#!/usr/bin/env python||'
 %if 0%{?with_python3}
 rm -rf %{py3dir}
 cp -a . %{py3dir}
-2to3 --write --nobackups %{py3dir}
 %endif # with_python3
 
 

--
Alioth's /srv/git/code.x2go.org/python-x2go.git//..//_hooks_/post-receive-email on /srv/git/code.x2go.org/python-x2go.git


More information about the x2go-commits mailing list