# -*- 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
# keep version in sync with gdal; rebuilt after gdal update
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 https://www.gdal.org
master_sites pypi:[string index ${python.rootname} 0]/${python.rootname}
distname ${python.rootname}-${version}
checksums rmd160 a0d87d677475c0fef53a4a318a23e5e0cf09789a \
sha256 1741bc59c5ceb9b1c50763348cd1050048fc916b23d08138982a340485f0e4af \
python.versions 27 35 36 37 38
if {${name} ne ${subport}} {
compiler.cxx_standard 2011
port:py${python.version}-numpy
reinplace "s|../../apps/|${prefix}/bin/|" ${worksrcpath}/setup.cfg
set docdir ${prefix}/share/doc/${subport}
xinstall -d ${destroot}${docdir}
xinstall -m 0644 -W ${worksrcpath} README.rst ${destroot}${docdir}