[119030] trunk/dports/python

macsforever2000 at macports.org macsforever2000 at macports.org
Tue Apr 15 10:34:57 PDT 2014


Revision: 119030
          https://trac.macports.org/changeset/119030
Author:   macsforever2000 at macports.org
Date:     2014-04-15 10:34:57 -0700 (Tue, 15 Apr 2014)
Log Message:
-----------
py-isodate: New port. Required for py-rdflib. (#39642)

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

Added: trunk/dports/python/py-isodate/Portfile
===================================================================
--- trunk/dports/python/py-isodate/Portfile	                        (rev 0)
+++ trunk/dports/python/py-isodate/Portfile	2014-04-15 17:34:57 UTC (rev 119030)
@@ -0,0 +1,48 @@
+# -*- 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-isodate
+version             0.5.0
+
+license             BSD
+platforms           darwin
+maintainers         nomaintainer
+
+description         An ISO 8601 date/time/duration parser and formatter
+
+long_description    This module implements ISO 8601 date, time and duration \
+                    parsing. The implementation follows ISO8601:2004 standard, \
+                    and implements only date/time representations mentioned in \
+                    the standard. If something is not mentioned there, then it \
+                    is treated as non existent, and not as an allowed option.
+
+homepage            https://pypi.python.org/pypi/isodate
+master_sites        https://pypi.python.org/packages/source/i/isodate
+distname            isodate-${version}
+
+checksums           md5     9a267e9327feb3d021cae26002ba6e0e \
+                    rmd160  4154ab9e03a9a35649569d4dc65bae1d40f58d88 \
+                    sha256  f3e436a9c321882942a6c62e9d8ea49787b4c0ea7f7bb3cbd047bcf76bd0dfbe
+
+python.versions     26 27 32 33
+
+if {${name} ne ${subport}} {
+    depends_build-append    port:py${python.version}-setuptools
+
+    test.run        yes
+    test.cmd        ${python.bin} run_tests.py
+    test.target
+
+    post-destroot {
+        xinstall -m 644 -W ${worksrcpath} CHANGES.txt MANIFEST.in \
+            README.rst TODO.txt ${destroot}${prefix}/share/doc/${subport}
+    }
+    livecheck.type  none
+} else {
+    livecheck.type  regex
+    livecheck.url   ${homepage}
+    livecheck.regex {isodate-([0-9\.]+)\.tar\.gz}
+}


Property changes on: trunk/dports/python/py-isodate/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/20140415/69be3db4/attachment.html>


More information about the macports-changes mailing list