Ticket #49554: Portfile

File Portfile, 1.1 KB (added by xeron (Ivan Larionov), 8 years ago)
Line 
1# $Id$
2
3PortSystem          1.0
4PortGroup           python 1.0
5
6name                py-pgspecial
7version             1.2.0
8license             BSD
9platforms           darwin
10supported_archs     noarch
11maintainers         gmail.com:xeron.oskom openmaintainer
12description         Meta-commands handler for Postgres Database
13long_description    This package provides an API to execute meta-commands \
14                    (AKA “special”, or “backslash commands”) on PostgreSQL.
15
16python.versions     27 34
17
18homepage            https://pypi.python.org/pypi/pgspecial/
19master_sites        https://pypi.python.org/packages/source/p/pgspecial/
20distname            pgspecial-${version}
21
22checksums           md5     2267f0dfb6fbcd169547cd2e58d64ca2 \
23                    rmd160  4cd5dddcfab9c90ad55f1298474c493aebc87681 \
24                    sha256  36ae9126f50fd146c96609b71a34ffa9122cfb72e658f46114c4cb8642530b17
25
26if {${name} ne ${subport}} {
27    depends_build-append    port:py${python.version}-setuptools
28    livecheck.type          none
29} else {
30    livecheck.type      regex
31    livecheck.url       ${homepage}
32    livecheck.regex     "pgspecial (\\d+\\.\\d+(?:\\.\\d+))"
33}