Changeset 5026
- Timestamp:
- 07/09/09 11:30:35 (4 years ago)
- 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 84 84 If you want to define also a root to install umit in a chroot environment 85 85 or if you are packing for you favorite distro, and you are a package 86 ma ntainer probably you should use the --root option in addition with87 --pkgma ntainer 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) 88 88 89 89 In a chroot environment assuming that you have mounted your root partition -
branch/umitweb-ng/setup.py
r5025 r5026 162 162 163 163 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]: 165 171 self.warn("Sphinx's version is too old (%s, expected at least " 166 172 "0.5.1, documentation won't be build." % sphinx_ver) … … 182 188 class umit_install(install): 183 189 user_options = install.user_options + \ 184 [('pkgma ntainer', 'P',185 'Select this if you are a package ma ntainer' \190 [('pkgmaintainer', 'P', 191 'Select this if you are a package maintainer' \ 186 192 ' and you are using --root option. This avoids' \ 187 193 ' wrong substitution in the program launcher' \ … … 190 196 def initialize_options(self): 191 197 install.initialize_options(self) 192 self.pkgma ntainer = 0198 self.pkgmaintainer = 0 193 199 194 200 def run(self): … … 260 266 break 261 267 262 if self.pkgma ntainer and self.root:268 if self.pkgmaintainer and self.root: 263 269 modules = os.path.join('/', modules[len(self.root):]) 264 270 … … 315 321 result = result[0] 316 322 317 if self.pkgma ntainer and self.root:323 if self.pkgmaintainer and self.root: 318 324 result = os.path.join('/', result[len(self.root):]) 319 325
