Bug 579290 - RFE: add python3-ply subpackage to the build
Summary: RFE: add python3-ply subpackage to the build
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: python-ply
Version: 13
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Tom "spot" Callaway
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: Python3F13
TreeView+ depends on / blocked
 
Reported: 2010-04-03 23:01 UTC by Dave Malcolm
Modified: 2010-04-09 04:09 UTC (History)
1 user (show)

Fixed In Version: python-ply-3.3-2.fc13
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-04-09 04:09:12 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Patch to add python3 subpackage (3.76 KB, patch)
2010-04-03 23:04 UTC, Dave Malcolm
no flags Details | Diff

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.


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