[125025] trunk/dports/python

stromnov at macports.org stromnov at macports.org
Wed Sep 3 00:38:06 PDT 2014


Revision: 125025
          https://trac.macports.org/changeset/125025
Author:   stromnov at macports.org
Date:     2014-09-03 00:38:06 -0700 (Wed, 03 Sep 2014)
Log Message:
-----------
py-jsonschema: new port

Added Paths:
-----------
    trunk/dports/python/py-jsonschema/
    trunk/dports/python/py-jsonschema/Portfile

Added: trunk/dports/python/py-jsonschema/Portfile
===================================================================
--- trunk/dports/python/py-jsonschema/Portfile	                        (rev 0)
+++ trunk/dports/python/py-jsonschema/Portfile	2014-09-03 07:38:06 UTC (rev 125025)
@@ -0,0 +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
+
+name                py-jsonschema
+version             2.4.0
+revision            0
+categories-append   devel
+platforms           darwin
+license             MIT
+supported_archs     noarch
+
+python.versions     27 34
+
+maintainers         stromnov openmaintainer
+
+description         An implementation of JSON Schema validation for Python.
+long_description    ${description}
+
+homepage            http://github.com/Julian/jsonschema
+master_sites        http://pypi.python.org/packages/source/j/jsonschema/
+
+distname            jsonschema-${version}
+
+checksums           rmd160  2c48450248267e754dab237f48af949a15762205 \
+                    sha256  1298a2f1b2f4c4a7b921cccd159e4e42f6d7b0fb75c86c0cdecfc71f061833fa
+
+if {${name} ne ${subport}} {
+    # CLI depends on pkg_resources.py from setuptools
+    depends_lib-append  port:py${python.version}-setuptools
+
+    livecheck.type      none
+} else {
+    livecheck.type      regex
+    livecheck.url       ${master_sites}
+    livecheck.regex     {jsonschema-(\d+(?:\.\d+)*)\.[tz]}
+}


Property changes on: trunk/dports/python/py-jsonschema/Portfile
___________________________________________________________________
Added: svn:keywords
   + Id
Added: svn:eol-style
   + native
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140903/61c76193/attachment.html>


More information about the macports-changes mailing list