Bug 1038398

Summary: Enable python3 subpackage
Product: [Fedora] Fedora Reporter: Christopher Meng <i>
Component: python-jediAssignee: Petr Hracek <phracek>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: phracek
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: python-jedi-0.7.0-3.fc19 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-01-06 08:54:47 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
Patch for building with python2 and python3 none

Description Christopher Meng 2013-12-05 04:11:55 UTC
HI,

Fedora will enable python3 as default from f22, Jeid has support for python3, I also need it for VIM, please enable python3 package.

Thanks.

------------

Please replace:

%{__python} --> %{__python2}

%{python_sitelib} --> %{python2_sitelib}

Comment 1 Petr Hracek 2013-12-19 13:18:54 UTC
Hi Christopher,

If I will change the macros to python2 then python3 will not be enabled.
I think that patch has to be more universal.
SPEC file has to detect what version of python is used and according that use appropriate macros

regards
Petr

Comment 2 Petr Hracek 2013-12-19 13:40:48 UTC
Created attachment 838986 [details]
Patch for building with python2 and python3

The patch which I locally build up creates a packages as for python2 as for python3 site-packages

Comment 3 Christopher Meng 2013-12-21 02:35:48 UTC
Oh sorry for the previous words... It's unclear ;)

> Please replace:
> 
> %{__python} --> %{__python2}
> 
> %{python_sitelib} --> %{python2_sitelib}

These are more "official and standard" from now on instead of macro without versions. 

Let me summarize what I want to say:

1. Change existent python2 macros frm non-versioned to versioned.

2. Add python3 part.

Hope you can understand it now ;) Sorry for the misunderstanding!

Comment 4 Petr Hracek 2014-01-06 08:54:47 UTC
scm-commit (https://lists.fedoraproject.org/pipermail/scm-commits/Week-of-Mon-20140106/1167237.html) switched to CLOSED->RAWHIDE

Comment 6 Fedora Update System 2014-01-06 09:42:38 UTC
python-jedi-0.7.0-3.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/python-jedi-0.7.0-3.fc20

Comment 7 Fedora Update System 2014-01-06 09:55:16 UTC
python-jedi-0.7.0-3.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/python-jedi-0.7.0-3.fc19

Comment 8 Fedora Update System 2014-01-28 04:36:06 UTC
python-jedi-0.7.0-3.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 9 Fedora Update System 2014-01-28 04:40:45 UTC
python-jedi-0.7.0-3.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.