# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
set _n [string index ${_name} 0]
maintainers {petr @petrrr} openmaintainer
description GDAL: Geospatial Data Abstraction Library
This Python package and extensions are a number of tools for programming \
and manipulating the GDAL Geospatial Data Abstraction Library.
homepage http://www.gdal.org
master_sites pypi:${_n}/${_name}/
distname ${_name}-${version}
checksums md5 dcc9ffedb3d99cdf16b9686f4798b0e1 \
rmd160 1203d524d402cca00c7ed599c33613cd89b50171 \
sha256 561a952394bc1d9291179a8677eb6f5dafbf3e361c851f3dbb59db604c9b8e8b
python.versions 27 34 35 36
if {${name} ne ${subport}} {
depends_lib-append port:gdal \
port:py${python.version}-numpy
reinplace "s|../../apps/|${prefix}/bin/|" ${worksrcpath}/setup.cfg
set dest_doc ${destroot}${prefix}/share/doc/${subport}
xinstall -m 755 -d ${dest_doc}
xinstall ${worksrcpath}/README.txt ${dest_doc}
livecheck.url https://pypi.python.org/pypi/${_name}/json
livecheck.regex "\"${_name}-(\[.\\d\]+)\\.tar\\.gz\""