Bug 1131278 - support for python 3
Summary: support for python 3
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: python-xtermcolor
Version: 20
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Bohuslav "Slavek" Kabrda
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-08-18 21:18 UTC by Jan Včelák
Modified: 2014-11-14 15:25 UTC (History)
1 user (show)

Fixed In Version: python-xtermcolor-1.3-2.fc22
Clone Of:
Environment:
Last Closed: 2014-11-14 15:25:23 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
spec file patch (2.46 KB, patch)
2014-08-18 21:18 UTC, Jan Včelák
no flags Details | Diff

Description Jan Včelák 2014-08-18 21:18:31 UTC
Created attachment 928073 [details]
spec file patch

xtermcolor package supports Python 3, but appropriate module is not packaged in Fedora.

I'm attaching a patch for the spec file, which adds python3-xtermcolor subpackage. Not sure if this is the way to do it. I can fix the patch if necessary.

Comment 1 Bohuslav "Slavek" Kabrda 2014-08-19 10:49:59 UTC
Thanks for providing the patch. Technically, it works, but doesn't exactly conform with the guidelines [1] (the biggest issue being that you should create %{py3dir} and build the python3 subpackage separately in there).
Although I can do this myself, I'd highly appreciate if you could work on it. Also, would you want to comaintain the package? That would be very welcome, too :)

[1] https://fedoraproject.org/wiki/Packaging:Python#Subpackages


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