Changeset 5026

Show
Ignore:
Timestamp:
07/09/09 11:30:35 (4 years ago)
Author:
rcarvalho
Message:

Merged revisions 4382-4383 via svnmerge from
http://svn.umitproject.org/svnroot/umit/trunk

........

r4382 | gpolo | 2009-03-19 19:36:46 -0300 (Qui, 19 Mar 2009) | 1 line


Be a bit safer when checking for sphinx version, currently it fails on N.NbN and similars.

........

r4383 | nopper | 2009-03-19 21:02:30 -0300 (Qui, 19 Mar 2009) | 1 line


Correcting typing error

........

Location:
branch/umitweb-ng
Files:
3 modified

Legend:

Unmodified
Added
Removed
  • branch/umitweb-ng

    • Property svnmerge-integrated changed from /trunk:1-3190,3263-3267,3269,3271-3278,3285,3307-3308,3366,3379,3383,3567,3628,3678-3679,3705,3720-3729,3735-3738,3742-3748,3765-3766,3771,3788-3789,3792,3794,3797-3804,3849,3858,3876-3877,3879-3880,3927-3930,3932,3936,3939-3940,3946-3948,3953-3954,3965-3966,3968,3972,3993,3995,4000,4006-4007,4010,4012-4013,4015,4017-4019,4021-4025,4027,4029-4031,4033,4035-4038,4040-4042,4044-4045,4049,4054-4064,4073,4087-4092,4095-4099,4101-4103,4106-4110,4113,4118-4123,4128-4137,4140-4144,4146,4152-4156,4158-4168,4174-4175,4184,4188-4189,4192,4198-4199,4202-4206,4208-4214,4218,4229-4231,4233,4237,4239-4248,4253,4255,4269-4277,4279-4287,4290-4299,4302,4326,4328-4329,4331,4336-4341,4343-4355,4357,4363,4366-4380 to /trunk:1-3190,3263-3267,3269,3271-3278,3285,3307-3308,3366,3379,3383,3567,3628,3678-3679,3705,3720-3729,3735-3738,3742-3748,3765-3766,3771,3788-3789,3792,3794,3797-3804,3849,3858,3876-3877,3879-3880,3927-3930,3932,3936,3939-3940,3946-3948,3953-3954,3965-3966,3968,3972,3993,3995,4000,4006-4007,4010,4012-4013,4015,4017-4019,4021-4025,4027,4029-4031,4033,4035-4038,4040-4042,4044-4045,4049,4054-4064,4073,4087-4092,4095-4099,4101-4103,4106-4110,4113,4118-4123,4128-4137,4140-4144,4146,4152-4156,4158-4168,4174-4175,4184,4188-4189,4192,4198-4199,4202-4206,4208-4214,4218,4229-4231,4233,4237,4239-4248,4253,4255,4269-4277,4279-4287,4290-4299,4302,4326,4328-4329,4331,4336-4341,4343-4355,4357,4363,4366-4380,4382-4383
  • branch/umitweb-ng/README

    r5025 r5026  
    8484   If you want to define also a root to install umit in a chroot environment 
    8585   or if you are packing for you favorite distro, and you are a package 
    86    mantainer probably you should use the --root option in addition with 
    87    --pkgmantainer option ('-P' for the short form) 
     86   maintainer probably you should use the --root option in addition with 
     87   --pkgmaintainer option ('-P' for the short form) 
    8888 
    8989   In a chroot environment assuming that you have mounted your root partition 
  • branch/umitweb-ng/setup.py

    r5025 r5026  
    162162 
    163163        sphinx_ver = sphinx.__version__ 
    164         if map(int, sphinx_ver.split('.')) < [0, 5, 1]: 
     164        def digits(x): 
     165            res = re.match('\d+', x) 
     166            if res is None: 
     167                return 0 
     168            else: 
     169                return int(res.group()) 
     170        if map(digits, sphinx_ver.split('.')) < [0, 5, 1]: 
    165171            self.warn("Sphinx's version is too old (%s, expected at least " 
    166172                    "0.5.1, documentation won't be build." % sphinx_ver) 
     
    182188class umit_install(install): 
    183189    user_options = install.user_options + \ 
    184         [('pkgmantainer', 'P', 
    185           'Select this if you are a package mantainer' \ 
     190        [('pkgmaintainer', 'P', 
     191          'Select this if you are a package maintainer' \ 
    186192          ' and you are using --root option. This avoids' \ 
    187193          ' wrong substitution in the program launcher' \ 
     
    190196    def initialize_options(self): 
    191197        install.initialize_options(self) 
    192         self.pkgmantainer = 0 
     198        self.pkgmaintainer = 0 
    193199 
    194200    def run(self): 
     
    260266                break 
    261267 
    262         if self.pkgmantainer and self.root: 
     268        if self.pkgmaintainer and self.root: 
    263269            modules = os.path.join('/', modules[len(self.root):]) 
    264270 
     
    315321                    result = result[0] 
    316322 
    317                     if self.pkgmantainer and self.root: 
     323                    if self.pkgmaintainer and self.root: 
    318324                        result = os.path.join('/', result[len(self.root):]) 
    319325