Revision 47815
trunk/org.gvsig.desktop/org.gvsig.desktop.installer/src/main/packaging/gvspkg | ||
---|---|---|
1 | 1 |
#!/usr/bin/python |
2 | 2 |
# -*- coding: utf-8 -*- |
3 | 3 |
# |
4 |
# |
|
5 |
# Hay que guardar una copia de este fichero en el svn en |
|
6 |
# org.gvsig.desktop/org.gvsig.desktop.installer/src/main/packaging |
|
7 |
# |
|
4 | 8 |
import sys |
5 | 9 |
import os |
6 | 10 |
import os.path |
... | ... | |
19 | 23 |
import time |
20 | 24 |
|
21 | 25 |
DEBUG = False |
22 |
DEBUG = False |
|
23 | 26 |
VERBOSE = False |
24 | 27 |
SEARCH_VERSIONS = list() |
25 | 28 |
|
... | ... | |
73 | 76 |
platforms = ( |
74 | 77 |
Platform("lin","x86_64",".run"), |
75 | 78 |
Platform("win","x86_64",".exe"), |
76 |
Platform("darwin_macos_10.11","x86_64",".run",onlinefamily="lin", portableSufix=".app"), |
|
79 |
#Platform("darwin_macos_10.11","x86_64",".run",onlinefamily="lin", portableSufix=".app"),
|
|
77 | 80 |
Platform("lin","x86",".run"), |
78 | 81 |
Platform("win","x86",".exe"), |
79 |
Platform("lin_ubuntu_14.04","x86_64",".run",onlinefamily="lin"), |
|
80 |
Platform("lin_ubuntu_14.04","x86",".run",onlinefamily="lin") |
|
82 |
#Platform("lin_ubuntu_14.04","x86_64",".run",onlinefamily="lin"),
|
|
83 |
#Platform("lin_ubuntu_14.04","x86",".run",onlinefamily="lin")
|
|
81 | 84 |
) |
82 | 85 |
|
83 | 86 |
|
... | ... | |
312 | 315 |
|
313 | 316 |
def getFullVersion(self): |
314 | 317 |
try: |
315 |
r = re.compile("([0-9]+)[.]([0-9]+)[.]([0-9]+)-([a-zA-Z0-0]+)$")
|
|
318 |
r = re.compile("([0-9]+)[.]([0-9]+)[.]([0-9]+)-([a-zA-Z0-9]+)$")
|
|
316 | 319 |
m = r.match(self.version) |
317 | 320 |
if m == None: |
318 | 321 |
clasificador="ZZZZZZZZ" |
... | ... | |
629 | 632 |
shorthelp(args) |
630 | 633 |
sys.exit(2) |
631 | 634 |
|
635 |
excludes_pkg_by_os = dict() |
|
632 | 636 |
for platform in platforms: |
633 | 637 |
excludes_pkg_by_os[platform.getOS()] = list() |
634 | 638 |
|
... | ... | |
2025 | 2029 |
|
2026 | 2030 |
|
2027 | 2031 |
|
2032 |
|
Also available in: Unified diff