[117690] trunk/dports/python/py-parsedatetime/Portfile

g5pw at macports.org g5pw at macports.org
Sat Mar 8 02:43:56 PST 2014


Revision: 117690
          https://trac.macports.org/changeset/117690
Author:   g5pw at macports.org
Date:     2014-03-08 02:43:56 -0800 (Sat, 08 Mar 2014)
Log Message:
-----------
python/py-parsedatetime:
  update to 1.2
  add subports for python 33 and 34
  move upstream to github

Modified Paths:
--------------
    trunk/dports/python/py-parsedatetime/Portfile

Modified: trunk/dports/python/py-parsedatetime/Portfile
===================================================================
--- trunk/dports/python/py-parsedatetime/Portfile	2014-03-08 10:35:57 UTC (rev 117689)
+++ trunk/dports/python/py-parsedatetime/Portfile	2014-03-08 10:43:56 UTC (rev 117690)
@@ -2,11 +2,11 @@
 
 PortSystem          1.0
 PortGroup           python 1.0
+PortGroup           github 1.0
 
-name                py-parsedatetime
-set realname        parsedatetime
-version             1.1.2
-python.versions     26 27 31 32
+github.setup        bear parsedatetime 1.2 v
+name                py-${name}
+python.versions     26 27 31 32 33 34
 platforms           darwin
 supported_archs     noarch
 license             Apache-2
@@ -15,17 +15,9 @@
 description         Parse human-readable date/time text
 long_description    ${description}
 
-homepage            https://github.com/bear/parsedatetime/
-master_sites        http://pypi.python.org/packages/source/p/${realname}
-distname            ${realname}-${version}
+checksums           rmd160  1b33b4d16914979de88da52f69bb543d7abed1b4 \
+                    sha256  9592ed312d4ce745987ed63bf2eb55b452657914c2d5bd3f04eb0b26fceb3f51
 
-checksums           rmd160 e903c6400c191c44675705a4123c37d566106cd7 \
-                    sha256 ed6a828f16b7d2ecb0e93f60bc371ab1f7d3233f115e5d94ef680fb151e2df93
-
-if {${name} eq ${subport}} {
-    livecheck.type      regex
-    livecheck.url       http://pypi.python.org/pypi/parsedatetime/
-    livecheck.regex     {parsedatetime-(\d+(?:\.\d+)*)}
-} else {
+if {${name} ne ${subport}} {
     livecheck.type      none
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140308/e491e7a7/attachment.html>


More information about the macports-changes mailing list