You've already forked macports-ports
mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
39 lines
1.2 KiB
Tcl
39 lines
1.2 KiB
Tcl
# -*- 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
|
|
|
|
PortSystem 1.0
|
|
PortGroup python 1.0
|
|
PortGroup github 1.0
|
|
|
|
github.setup rhattersley pyepsg 0.4.0 v
|
|
# Change github.tarball_from to 'releases' or 'archive' next update
|
|
github.tarball_from tarball
|
|
name py-epsg
|
|
revision 0
|
|
|
|
categories-append gis
|
|
platforms {darwin any}
|
|
supported_archs noarch
|
|
license LGPL-3
|
|
maintainers {petr @petrrr} openmaintainer
|
|
|
|
description Easy access to the EPSG database via https://epsg.io/
|
|
long_description {*}${description}
|
|
|
|
checksums rmd160 2f3635e2350ded2a7e2687bf0721a49fe53491da \
|
|
sha256 207161c981d8ff979c3543c0ac66310e31868bb9d80fb2833e9872337f769c32 \
|
|
size 23575
|
|
|
|
python.versions 310 311 312
|
|
|
|
if {${name} ne ${subport}} {
|
|
depends_lib-append \
|
|
port:py${python.version}-requests
|
|
|
|
post-destroot {
|
|
set dest_doc ${destroot}${prefix}/share/doc/${subport}
|
|
xinstall -d ${dest_doc}
|
|
xinstall -m 0644 -W ${worksrcpath} README.rst \
|
|
COPYING COPYING.LESSER ${dest_doc}
|
|
}
|
|
}
|