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

Last change on this file was 148976, checked in by raimue@…, 14 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-cjson
8version             1.1.0
9platforms           darwin
10license             LGPL
11maintainers         nomaintainer
12
13description         Fast JSON encoder/decoder for Python
14long_description    This module implements a very fast JSON \
15                    encoder/decoder for Python. The module is written \
16                    in C and it is up to 250 times faster when \
17                    compared to the other python JSON implementations \
18                    which are written directly in python. This speed \
19                    gain varies with the complexity of the data and \
20                    the operation and is the the range of 10-200 times \
21                    for encoding operations and in the range of \
22                    100-250 times for decoding operations.
23homepage            http://pypi.python.org/pypi/python-cjson/
24
25master_sites        pypi:p/python-cjson/
26distname            python-cjson-${version}
27checksums           rmd160  335677e39817b89af34aa51b66f4c0eb8269a050 \
28                    sha256  a01fabb7593728c3d851e1cd9a3efbd18f72650a31a5aa8a74018640da3de8b3
29
30python.versions     26 27
31
32if {${name} ne ${subport}} {
33    livecheck.type  none
34} else {
35    livecheck.type  regex
36    livecheck.url   ${homepage}
37    livecheck.regex {python-cjson (\d+(?:\.\d+)*)}
38}
Note: See TracBrowser for help on using the repository browser.