source: trunk/dports/python/py-geoalchemy/Portfile

Last change on this file was 148976, checked in by raimue@…, 18 months ago

Mass update of python ports for master_sites pypi

The pypi hosting site changed the naming scheme for new uploads. While old URLs
continue to work, this possibly breaks updates as master_sites would need to be
changed. This patch updates all previously hardcoded references to
pypi.python.org to the pypi: mirror sites, which was already updated to check
at both the old and new location. See #51391.

Overriding maintainers as this is a mass update of ports.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.5 KB
Line 
1# -*- 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
2# $Id: Portfile 148976 2016-05-24 07:48:05Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           python 1.0
6
7name                py-geoalchemy
8version             0.7.2
9revision            0
10categories-append   databases
11platforms           darwin
12license             MIT
13supported_archs     noarch
14
15python.versions     27
16
17maintainers         icoost.com:jls openmaintainer
18
19description         Python SQL ORM Geospatial
20
21long_description    \
22    GeoAlchemy is an extension of SQLAlchemy. It provides \
23    support for Geospatial data types at the ORM layer using SQLAlchemy. It \
24    aims to support spatial operations and relations specified by the Open \
25    Geospatial Consortium (OGC). The project started under Google Summer of \
26    Code Program under the mentorship of Mark Ramm-Christensen.
27
28homepage            http://www.geoalchemy.org/
29master_sites        pypi:G/GeoAlchemy/
30
31distname            GeoAlchemy-${version}
32
33checksums           rmd160  a7ffa466b1f03d1058db801f117eea8e33de50ab \
34                    sha256  78ce2f57a7982051030ccc9a59eb589bf6e0b3fad93875add4c1f7ef65f91863
35
36if {${name} ne ${subport}} {
37    depends_build       port:py${python.version}-setuptools
38    depends_lib-append  port:py${python.version}-sqlalchemy \
39                        port:py${python.version}-psycopg2
40
41    livecheck.type      none
42} else {
43    livecheck.type      regex
44    livecheck.url       ${master_sites}
45    livecheck.regex     "GeoAlchemy-(\\d+(?:\\.\\d+)*)${extract.suffix}"
46}
Note: See TracBrowser for help on using the repository browser.