Bug 1038398 - Enable python3 subpackage
Summary: Enable python3 subpackage
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: python-jedi
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Petr Hracek
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-12-05 04:11 UTC by Christopher Meng
Modified: 2014-01-28 04:40 UTC (History)
1 user (show)

Fixed In Version: python-jedi-0.7.0-3.fc19
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-01-06 08:54:47 UTC
Type: Bug


Attachments (Terms of Use)
Patch for building with python2 and python3 (1.29 KB, patch)
2013-12-19 13:40 UTC, Petr Hracek
no flags Details | Diff

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.


Note You need to log in before you can comment on or make changes to this bug.