From Mageia wiki
Jump to: navigation, search
$ urpmq -i <python-ply>
Name        : 
Version     : 
Release     : 
Group       : 
Size        :                         Architecture:
Source RPM  :                
URL         : 
Summary     : 
Description :

The python3 version that will be added to cauldron, does essentially the same as the one above

$ urpmq -i <python3-ply>
Name        : 
Version     : 
Release     : 
Group       : 
Size        :                       Architecture: 
Source RPM  : 
URL         : 
Summary     : 
Description :



Testcase: Start one of the examples from the package and see whether it works well, start for instance calc.py and add the values a=2 and b=3 and then multiply a with b, as shown below. Quit the program with Ctrl+D

 $ python /usr/share/doc/python-ply/example/calc/calc.py 
 Generating LALR tables
 calc > a=2
 calc > b=3
 calc > a*b
 6
 calc > 

Quit with Ctrl+D

do the same for python3-ply

 $ python3 /usr/share/doc/python3-ply/example/calc/calc.py 
 Generating LALR tables
 calc > a=2
 calc > b=3
 calc > a*b
 6
 calc >

Quit with Ctrl+D

Expected results:

  • If broken doing the example above won't work
  • If working it'll work fine


Return to the QA Team portal