Red Hat Bugzilla – Bug 579290
RFE: add python3-ply subpackage to the build
Last modified: 2010-04-09 00:09:12 EDT
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
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
python-ply-3.3-2.fc13 has been submitted as an update for Fedora 13.
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.