newpackage/tippecanoe (#12319)
* newpackage/tippecanoe * make flake8 happy * add "r" for raw text
This commit is contained in:
parent
7b47178a53
commit
a999092a93
23
var/spack/repos/builtin/packages/tippecanoe/package.py
Normal file
23
var/spack/repos/builtin/packages/tippecanoe/package.py
Normal file
@ -0,0 +1,23 @@
|
||||
# Copyright 2013-2019 Lawrence Livermore National Security, LLC and other
|
||||
# Spack Project Developers. See the top-level COPYRIGHT file for details.
|
||||
#
|
||||
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
|
||||
|
||||
|
||||
from spack import *
|
||||
|
||||
|
||||
class Tippecanoe(MakefilePackage):
|
||||
"""Build vector tilesets from large collections of GeoJSON features."""
|
||||
|
||||
homepage = "https://github.com/mapbox/tippecanoe"
|
||||
url = "https://github.com/mapbox/tippecanoe/archive/1.34.3.tar.gz"
|
||||
|
||||
version('1.34.3', sha256='7a2dd2376a93d66a82c8253a46dbfcab3eaaaaca7bf503388167b9ee251bee54')
|
||||
|
||||
depends_on('sqlite')
|
||||
depends_on('zlib')
|
||||
|
||||
def edit(self, spec, prefix):
|
||||
makefile = FileFilter('Makefile')
|
||||
makefile.filter(r'PREFIX \?= /usr/local', 'PREFIX = ' + self.prefix)
|
Loading…
Reference in New Issue
Block a user