[130317] trunk/dports/python/py-cjson/Portfile
larryv at macports.org
larryv at macports.org
Mon Dec 29 18:26:56 PST 2014
Revision: 130317
https://trac.macports.org/changeset/130317
Author: larryv at macports.org
Date: 2014-12-29 18:26:56 -0800 (Mon, 29 Dec 2014)
Log Message:
-----------
py-cjson: Add modeline, rearrange, reformat
Modified Paths:
--------------
trunk/dports/python/py-cjson/Portfile
Modified: trunk/dports/python/py-cjson/Portfile
===================================================================
--- trunk/dports/python/py-cjson/Portfile 2014-12-30 02:26:54 UTC (rev 130316)
+++ trunk/dports/python/py-cjson/Portfile 2014-12-30 02:26:56 UTC (rev 130317)
@@ -1,39 +1,39 @@
+# -*- 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
# $Id$
-PortSystem 1.0
-PortGroup python 1.0
+PortSystem 1.0
+PortGroup python 1.0
-name py-cjson
-version 1.1.0
-maintainers nomaintainer
-platforms darwin
-license LGPL
+name py-cjson
+version 1.1.0
+platforms darwin
+license LGPL
+maintainers nomaintainer
-description Fast JSON encoder/decoder for Python
-long_description \
- This module implements a very fast JSON encoder/decoder for Python. \
- \
- The module is written in C and it is up to 250 times faster when \
- compared to the other python JSON implementations which are written \
- directly in python. This speed gain varies with the complexity of \
- the data and the operation and is the the range of 10-200 times for \
- encoding operations and in the range of 100-250 times for decoding \
- operations.
+description Fast JSON encoder/decoder for Python
+long_description This module implements a very fast JSON \
+ encoder/decoder for Python. The module is written \
+ in C and it is up to 250 times faster when \
+ compared to the other python JSON implementations \
+ which are written directly in python. This speed \
+ gain varies with the complexity of the data and \
+ the operation and is the the range of 10-200 times \
+ for encoding operations and in the range of \
+ 100-250 times for decoding operations.
+homepage http://pypi.python.org/pypi/python-cjson/
-homepage http://pypi.python.org/pypi/python-cjson/
-master_sites http://pypi.python.org/packages/source/p/python-cjson/
-distname python-cjson-${version}
+master_sites http://pypi.python.org/packages/source/p/python-cjson/
+distname python-cjson-${version}
+checksums rmd160 335677e39817b89af34aa51b66f4c0eb8269a050 \
+ sha256 a01fabb7593728c3d851e1cd9a3efbd18f72650a31a5aa8a74018640da3de8b3
python.default_version 27
-python.versions 24 25 26 27
+python.versions 24 25 26 27
-checksums rmd160 335677e39817b89af34aa51b66f4c0eb8269a050 \
- sha256 a01fabb7593728c3d851e1cd9a3efbd18f72650a31a5aa8a74018640da3de8b3
-
-if {${name} eq ${subport}} {
- livecheck.type regex
- livecheck.url ${homepage}
- livecheck.regex {python-cjson (\d+(?:\.\d+)*)}
+if {${name} ne ${subport}} {
+ livecheck.type none
} else {
- livecheck.type none
+ livecheck.type regex
+ livecheck.url ${homepage}
+ livecheck.regex {python-cjson (\d+(?:\.\d+)*)}
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20141229/b10edead/attachment.html>
More information about the macports-changes
mailing list