Bug 1022851 - Add Python 3 support
Summary: Add Python 3 support
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: pyusb
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Gwyn Ciesla
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-10-24 07:22 UTC by Johan Swensson
Modified: 2013-11-11 17:36 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2013-11-11 17:36:26 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Johan Swensson 2013-10-24 07:22:58 UTC
I'm packaging a software that requires pyusb. Upstream supports Python 3 but this package have not yet been updated to support Python 3 in Fedora.

Also note:
https://fedoraproject.org/wiki/Changes/Python_3_as_Default

A few comments on the current spec that should be fixed:
1. Remove BuildRoot
2. Make Source0 viable
3. Use %{__python2} / %{__python3} instead of %{__python}
4. BuildRequires: python-devel should be python2-devel or python3-devel
4. Remove rm -rf $RPM_BUILD_ROOT in %install
5. Remove %clean
6. %defattr(-,root,root,-) is no longer needed

Comment 1 Gwyn Ciesla 2013-11-11 17:36:26 UTC
Done in rawhide, let me know if you want/need this in any other branches.


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