openbsd-ports/geo/tilecache/patches/patch-setup_py
landry d03d7cd60d Import Tilecache 2.10:
TileCache provides a Python-based WMS-C/TMS server, with pluggable
caching mechanisms and rendering backends. In the simplest use case,
TileCache requires only write access to a disk, the ability to run
Python CGI scripts, and a WMS you want to be cached. With these
resources, you can create your own local disk-based cache of any WMS
server, and use the result in any WMS-C supporting client, like
OpenLayers, or any TMS supporting client, like OpenLayers and worldKit.
2009-11-06 18:44:45 +00:00

17 lines
588 B
Plaintext

$OpenBSD: patch-setup_py,v 1.1.1.1 2009/11/06 18:44:45 landry Exp $
--- setup.py.orig Mon Jan 19 03:50:36 2009
+++ setup.py Wed Nov 4 22:56:51 2009
@@ -25,11 +25,7 @@ classifiers = [
# but put them in tilecache/tilecache.cfg using setuptools
# otherwise.
extra = { }
-if "--debian" in sys.argv:
- extra['data_files']=[('/etc', ['tilecache.cfg'])]
- sys.argv.remove("--debian")
-else:
- extra['data_files']=[('TileCache', ['tilecache.cfg'])]
+extra['data_files']=[('${PREFIX}/share/examples/tilecache/', ['tilecache.cfg'])]
setup(name='TileCache',
version='2.10',