Bug 748529 - RFE: add python3 subpackage to python-crypto
Summary: RFE: add python3 subpackage to python-crypto
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: python-crypto
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Paul Howarth
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-10-24 17:24 UTC by Dave Malcolm
Modified: 2011-11-10 16:27 UTC (History)
3 users (show)

Fixed In Version: python-crypto-2.4.1-1.fc17
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-11-10 16:27:19 UTC
Type: ---


Attachments (Terms of Use)
Patch to add python3 subpackage (6.07 KB, patch)
2011-10-24 17:25 UTC, Dave Malcolm
no flags Details | Diff

Description Dave Malcolm 2011-10-24 17:24:40 UTC
Description of problem:
As of 2.4, PyCrypto now supports Python 3.

I'm attaching a patch to the specfile which adds a new python3 subpackage, as per https://fedoraproject.org/wiki/Packaging:Python#Subpackages so that the src.rpm emits both python 2 and python 3 support in one build.

This also embeds a new patch that was needed to get the benchmarks to run on Python 3 (see the comments in the specfile):

$ diffstat add-python3-subpackage-to-pycrypto.patch
 fix-pubkey-size-divisions.patch |   16 ++++++
 python-crypto.spec              |   96 +++++++++++++++++++++++++++++++++++++++-
 2 files changed, 111 insertions(+), 1 deletion(-)

Comment 1 Dave Malcolm 2011-10-24 17:25:18 UTC
Created attachment 529929 [details]
Patch to add python3 subpackage

Comment 2 Dave Malcolm 2011-10-24 17:27:33 UTC
(Bugzilla's builtin patch viewer is horribly mangling that patch, alas, but clicking on View shows that it did upload correctly)

Comment 3 Paul Howarth 2011-10-25 15:41:15 UTC
I've done an F-17 build in the f17-gmp koji tag, so as to use the new libgmp. It'll get pulled into Rawhide in due course.

http://koji.fedoraproject.org/koji/taskinfo?taskID=3459511

Comment 4 Paul Howarth 2011-11-10 16:27:19 UTC
Now in Rawhide.


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