Modified: trunk/dports/python/py-demjson/Portfile (91408 => 91411)
--- trunk/dports/python/py25-demjson/Portfile 2012-03-31 21:55:48 UTC (rev 91408)
+++ trunk/dports/python/py-demjson/Portfile 2012-04-01 04:04:41 UTC (rev 91411)
@@ -1,14 +1,18 @@
+# -*- 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 python25 1.0
+PortGroup python 1.0
-name py25-demjson
+name py-demjson
version 1.4
categories python
platforms darwin
maintainers nomaintainer
+python.versions 24 25 26 27
+python.default_version 27
+
description encoder, decoder, and validator for JSON compliant with RFC 4627
long_description encoder, decoder, and lint/validator for JSON (JavaScript \
Object Notation) compliant with RFC 4627. This module \
@@ -28,12 +32,14 @@
master_sites http://pypi.python.org/packages/source/d/demjson/
distname demjson-${version}
-depends_lib-append port:py25-distribute
-
checksums md5 6f6c88bfe2443390230109c709243fcd \
sha1 046946f7c98006e890b6a6896421107e6b537077 \
rmd160 b2935d932cb6c344de3684353f0b7090e673439c
+if {$subport != $name} {
+ depends_lib-append port:py${python.version}-distribute
+}
+
livecheck.type regex
livecheck.url http://pypi.python.org/pypi/demjson/
livecheck.regex {demjson (\d+(?:\.\d+)*)}