source: trunk/dports/python/py-jsonschema/Portfile @ 137803

Last change on this file since 137803 was 137803, checked in by cal@…, 4 years ago

py-jsonschema: Add missing functools32 dependency, openmaintainer

See https://lists.macosforge.org/pipermail/macports-users/2015-June/038779.html
and following for the bug report.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.3 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 137803 2015-06-20 11:46:11Z cal@macports.org $
3
4PortSystem          1.0
5PortGroup           python 1.0
6
7name                py-jsonschema
8version             2.5.1
9revision            1
10categories-append   devel
11platforms           darwin
12license             MIT
13supported_archs     noarch
14
15python.versions     27 34
16
17maintainers         stromnov openmaintainer
18
19description         An implementation of JSON Schema validation for Python.
20long_description    ${description}
21
22homepage            http://github.com/Julian/jsonschema
23master_sites        https://pypi.python.org/packages/source/j/jsonschema/
24
25distname            jsonschema-${version}
26
27checksums           rmd160  c3e5b05ad1829ed1425928babb3d96211d0f027a \
28                    sha256  36673ac378feed3daa5956276a829699056523d7961027911f064b52255ead41
29
30if {${name} ne ${subport}} {
31    # CLI depends on pkg_resources.py from setuptools
32    depends_lib-append  port:py${python.version}-setuptools
33    if {${python.version} < 32} {
34        depends_lib-append port:py${python.version}-functools32
35    }
36
37    livecheck.type      none
38} else {
39    livecheck.type      regex
40    livecheck.url       https://pypi.python.org/pypi/jsonschema/json
41    livecheck.regex     {jsonschema-(\d+(?:\.\d+)*)\.[tz]}
42}
Note: See TracBrowser for help on using the repository browser.