Changes between Version 1 and Version 2 of python-minideblib

Show
Ignore:
Author:
kad (IP: 91.154.118.164)
Timestamp:
05/12/07 00:56:15 (10 years ago)
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • python-minideblib

    v1 v2  
    2323== ChangeFile == 
    2424 
    25 == DpkgChangelog.py == 
     25== DpkgChangelog == 
    2626 
    2727== DpkgControl == 
    2929== DpkgVersion == 
    3030 
     31Example: 
     32{{{ 
     33#!python 
     34>>> from minideblib.DpkgVersion import DpkgVersion 
     35>>> v1=DpkgVersion("3:1.1.3-3.sdk3") 
     36>>> v2=DpkgVersion("3:1.1.3-3.osso17") 
     37>>> v1 == v2 
     38False 
     39>>> v2 > v1 
     40False 
     41>>> v1 >= "3.3.0-1" 
     42True 
     43>>> v1.upstream 
     44'1.1.3' 
     45>>> v1.epoch 
     463 
     47>>> v1.is_native() 
     48False 
     49>>> v1.without_epoch 
     50'1.1.3-3.sdk3' 
     51>>> 
     52}}} 
     53 
    3154== LoggableObject == 
     55 
     56 
    3257 
    3358= Download =