upgrade to 0.7

ok landry@
This commit is contained in:
kevlo 2010-04-22 10:39:28 +00:00
parent 472e8c72a2
commit 9d185ae92e
5 changed files with 28 additions and 26 deletions

View File

@ -1,8 +1,8 @@
# $OpenBSD: Makefile,v 1.1.1.1 2010/03/25 10:13:26 kevlo Exp $
# $OpenBSD: Makefile,v 1.2 2010/04/22 10:39:28 kevlo Exp $
COMMENT= offline maps viewer
VERSION= 0.6.3.0
VERSION= 0.7.0.0
DISTNAME= GMapCatcher-${VERSION}
PKGNAME= gmapcatcher-${VERSION}
@ -23,7 +23,8 @@ MASTER_SITES= http://gmapcatcher.googlecode.com/files/
MODULES= lang/python
BUILD_DEPENDS= ${RUN_DEPENDS}
RUN_DEPENDS= :py-gtk2->=1.10:x11/py-gtk2 \
::graphics/py-Imaging
:py-sqlite2-*:databases/py-sqlite2 \
::graphics/py-Imaging
USE_X11= Yes

View File

@ -1,5 +1,5 @@
MD5 (GMapCatcher-0.6.3.0.tar.gz) = pqPfGoT8jBldqAgf7oVRKw==
RMD160 (GMapCatcher-0.6.3.0.tar.gz) = 1om3lJLGOjWiINBpk86E6pVQUy8=
SHA1 (GMapCatcher-0.6.3.0.tar.gz) = 9J6koj+6jsiZRqqoETMqQGbJRC8=
SHA256 (GMapCatcher-0.6.3.0.tar.gz) = UM9mG5izNKGTlMLHzcD6nRBCg3bmjRi+TllxnK3r+Gg=
SIZE (GMapCatcher-0.6.3.0.tar.gz) = 374462
MD5 (GMapCatcher-0.7.0.0.tar.gz) = +vzquWkFkkE2oRNvifKxeg==
RMD160 (GMapCatcher-0.7.0.0.tar.gz) = LTJHBzZ8YpnbjRz0TDqsXXZa5jY=
SHA1 (GMapCatcher-0.7.0.0.tar.gz) = nSypi91DUtSmb5baxVwHOweWltI=
SHA256 (GMapCatcher-0.7.0.0.tar.gz) = 8LwMemgZLO5k1+U9aePPXW9Xm3ubYHjtlcGp7Wy+/h4=
SIZE (GMapCatcher-0.7.0.0.tar.gz) = 296807

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-download_py,v 1.1 2010/04/22 10:39:28 kevlo Exp $
--- download.py.orig Thu Apr 22 13:59:41 2010
+++ download.py Thu Apr 22 13:59:53 2010
@@ -12,7 +12,7 @@ from gmapcatcher.mapServices import MapServ
from gmapcatcher.mapDownloader import MapDownloader
mConf = mapConf.MapConf()
-ctx_map = MapServ(conf.init_path, conf.repository_type)
+ctx_map = MapServ(mConf.init_path, mConf.repository_type)
downloader = None
def do_nothing(*args, **kwargs):

View File

@ -1,17 +0,0 @@
$OpenBSD: patch-src_xmlUtils_py,v 1.1.1.1 2010/03/25 10:13:26 kevlo Exp $
--- src/xmlUtils.py.orig Thu Mar 25 10:51:15 2010
+++ src/xmlUtils.py Thu Mar 25 10:51:38 2010
@@ -1,3 +1,4 @@
+from __future__ import with_statement
from mapUtils import altitude_to_zoom
def kml_to_markers(strFileName, marker):
@@ -15,7 +16,7 @@ def kml_to_markers(strFileName, marker):
fileString = unicode(f.read(), errors='ignore')
dom = parseString(fileString)
PlacemarkElements = dom.getElementsByTagName("Placemark")
- except Exception as excInst:
+ except Exception, excInst:
return excInst
for element in PlacemarkElements:

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2010/03/25 10:13:26 kevlo Exp $
@comment $OpenBSD: PLIST,v 1.2 2010/04/22 10:39:28 kevlo Exp $
bin/gmapcatcher
bin/gmapcatcher-download
lib/python${MODPY_VERSION}/site-packages/gmapcatcher/
@ -127,8 +127,14 @@ lib/python${MODPY_VERSION}/site-packages/gmapcatcher/pyGPSD/nmea/track.py
lib/python${MODPY_VERSION}/site-packages/gmapcatcher/pyGPSD/nmea/track.pyc
lib/python${MODPY_VERSION}/site-packages/gmapcatcher/pyGPSD/scan.py
lib/python${MODPY_VERSION}/site-packages/gmapcatcher/pyGPSD/scan.pyc
lib/python${MODPY_VERSION}/site-packages/gmapcatcher/tilesRepo.py
lib/python${MODPY_VERSION}/site-packages/gmapcatcher/tilesRepo.pyc
lib/python${MODPY_VERSION}/site-packages/gmapcatcher/tilesRepoFS.py
lib/python${MODPY_VERSION}/site-packages/gmapcatcher/tilesRepoFS.pyc
lib/python${MODPY_VERSION}/site-packages/gmapcatcher/tilesRepoFactory.py
lib/python${MODPY_VERSION}/site-packages/gmapcatcher/tilesRepoFactory.pyc
lib/python${MODPY_VERSION}/site-packages/gmapcatcher/tilesRepoSQLite3.py
lib/python${MODPY_VERSION}/site-packages/gmapcatcher/tilesRepoSQLite3.pyc
lib/python${MODPY_VERSION}/site-packages/gmapcatcher/widChangeTheme.py
lib/python${MODPY_VERSION}/site-packages/gmapcatcher/widChangeTheme.pyc
lib/python${MODPY_VERSION}/site-packages/gmapcatcher/widDrawingArea.py