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

Last change on this file was 148976, checked in by raimue@…, 16 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.9 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-demjson
8version           1.6
9license           LGPL-3+
10platforms         darwin
11maintainers       nomaintainer
12
13python.versions         27
14
15description       encoder, decoder, and validator for JSON compliant with RFC 4627
16long_description  encoder, decoder, and lint/validator for JSON (JavaScript \
17                  Object Notation) compliant with RFC 4627. This module \
18                  provides classes and functions for encoding or decoding data \
19                  represented in the language-neutral JSON format. This \
20                  implementation tries to be as compliant to the JSON \
21                  specification (RFC 4627) as possible, while still providing \
22                  many optional extensions to allow less restrictive \
23                  JavaScript syntax. It includes complete Unicode support, \
24                  including UTF-32, BOM, and surrogate pair processing. It can \
25                  also support JavaScript's NaN and Infinity numeric types as \
26                  well as its 'undefined' type. It also includes a lint-like \
27                  JSON syntax validator which tests JSON text for strict \
28                  compliance to the standard.
29
30homepage          http://deron.meranda.us/python/demjson/
31master_sites      pypi:d/demjson/
32distname          demjson-${version}
33
34checksums         rmd160  42dc86629d1be2ace32d562680786c678c09c1bd \
35                  sha256  1d989c310e33569ecc178b8182e53bde8f748bf5ea10cfbc0e331f8c313f6e29
36
37if {${name} ne ${subport}} {
38    depends_build-append port:py${python.version}-setuptools
39}
40
41livecheck.type    regex
42livecheck.url     http://pypi.python.org/pypi/demjson/
43livecheck.regex   "demjson-(\\d+(?:\\.\\d+)*)${extract.suffix}"
Note: See TracBrowser for help on using the repository browser.