Bug 579290

Summary: RFE: add python3-ply subpackage to the build
Product: [Fedora] Fedora Reporter: Dave Malcolm <dmalcolm>
Component: python-plyAssignee: Tom "spot" Callaway <tcallawa>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 13CC: tcallawa
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: python-ply-3.3-2.fc13 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-04-09 04:09:12 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 530636    
Attachments:
Description Flags
Patch to add python3 subpackage none

Description Dave Malcolm 2010-04-03 23:01:38 UTC
Description of problem:
http://www.dabeaz.com/ply/ states that as of v3, PLY supports both Python 2 and Python 3 from the same sources.

I'm attaching a patch to F-13/devel's python-ply.spec which makes the build emit a python3-ply subpackage, parallel to the main python 2 subpackage.

Barely tested, but seems to work:
[david@f13 F-13]$ python3 /usr/share/doc/python-ply-3.3/example/BASIC/basic.py
Generating LALR tables
[BASIC] 10 PRINT "HELLO"
[BASIC] 20 GOTO 10
[BASIC] 30 END
[BASIC] RUN
HELLO
(etc)

Comment 1 Dave Malcolm 2010-04-03 23:04:04 UTC
Created attachment 404354 [details]
Patch to add python3 subpackage

I've attempted to follow the python3 common SRPM approach here: https://fedoraproject.org/wiki/Packaging:Python

Comment 2 Fedora Update System 2010-04-06 18:53:45 UTC
python-ply-3.3-2.fc13 has been submitted as an update for Fedora 13.
http://admin.fedoraproject.org/updates/python-ply-3.3-2.fc13

Comment 3 Fedora Update System 2010-04-09 04:09:07 UTC
python-ply-3.3-2.fc13 has been pushed to the Fedora 13 stable repository.  If problems still persist, please make note of it in this bug report.