1 | # -*- coding: utf-8; mode: tcl; tab-width: 4; truncate-lines: t; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4 |
---|
2 | # $Id$ |
---|
3 | |
---|
4 | PortSystem 1.0 |
---|
5 | PortGroup python 1.0 |
---|
6 | |
---|
7 | name py-anyjson |
---|
8 | version 0.3.1 |
---|
9 | revision 0 |
---|
10 | categories python www |
---|
11 | license BSD |
---|
12 | platforms darwin |
---|
13 | |
---|
14 | maintainers blair openmaintainer |
---|
15 | |
---|
16 | description Wrap the best available JSON implementation in a common API |
---|
17 | |
---|
18 | long_description Anyjson wraps the best available JSON implementation \ |
---|
19 | in a common interface. Anyjson loads whichever is the \ |
---|
20 | fastest JSON module installed and provides a uniform API \ |
---|
21 | regardless of which JSON implementation is used. |
---|
22 | |
---|
23 | homepage http://bitbucket.org/runeh/anyjson/ |
---|
24 | master_sites http://pypi.python.org/packages/source/a/anyjson |
---|
25 | |
---|
26 | distname anyjson-${version} |
---|
27 | |
---|
28 | checksums md5 2b53b5d53fc40af4da7268d3c3e35a50 \ |
---|
29 | sha1 f459fbdbd5b7ee81b236ef5eed023970db38572a \ |
---|
30 | rmd160 ed958d1c30c28975f9bfe5d6c4da05f9bde9e58d |
---|
31 | |
---|
32 | python.versions 25 26 27 |
---|
33 | python.default_version 27 |
---|
34 | |
---|
35 | if {$subport != $name} { |
---|
36 | depends_build-append port:py${python.version}-distribute |
---|
37 | |
---|
38 | # Depend upon cjson so that the best JSON module can be used. |
---|
39 | depends_lib-append port:py${python.version}-cjson |
---|
40 | } |
---|
41 | |
---|
42 | livecheck.type regex |
---|
43 | livecheck.url ${master_sites} |
---|
44 | livecheck.regex "anyjson-(\\d+(?:\\.\\d+)*)${extract.suffix}" |
---|