[151546] trunk/dports/python/py-cubes/Portfile

stromnov at macports.org stromnov at macports.org
Wed Aug 17 05:11:17 PDT 2016


Revision: 151546
          https://trac.macports.org/changeset/151546
Author:   stromnov at macports.org
Date:     2016-08-17 05:11:17 -0700 (Wed, 17 Aug 2016)
Log Message:
-----------
py-cubes: update to version 1.1

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

Modified: trunk/dports/python/py-cubes/Portfile
===================================================================
--- trunk/dports/python/py-cubes/Portfile	2016-08-17 10:44:05 UTC (rev 151545)
+++ trunk/dports/python/py-cubes/Portfile	2016-08-17 12:11:17 UTC (rev 151546)
@@ -5,13 +5,13 @@
 PortGroup           python 1.0
 
 name                py-cubes
-version             1.0.1
+version             1.1
 revision            0
 categories-append   devel
 platforms           darwin
 license             BSD
 
-python.versions     27 34
+python.versions     27 34 35
 
 maintainers         stromnov openmaintainer
 
@@ -23,19 +23,26 @@
 
 distname            cubes-${version}
 
-checksums           rmd160  56afb93f9384df3629f7c6d4a59c67b8833b9789 \
-                    sha256  702381127f0baf8c7c67ac777087671b47c04fea56d4b468ac58efa5fd641002
+checksums           rmd160  a01cf288ba56341abae7aba1e61810a686e6ec0b \
+                    sha256  adb34a7d81f8bc30f03933f0f0906e9179cf9415cc2dcebcb9e8aa653442e085
 
 if {${name} ne ${subport}} {
     depends_lib-append  port:py${python.version}-setuptools \
-
-    depends_lib-append  port:py${python.version}-dateutil \
-                        port:py${python.version}-tz \
+                        port:py${python.version}-dateutil \
                         port:py${python.version}-jsonschema
 
+    if {${python.version} < 34} {
+        version             1.0.1
+        revision            0
+        distname            cubes-${version}
+        checksums           rmd160  56afb93f9384df3629f7c6d4a59c67b8833b9789 \
+                            sha256  702381127f0baf8c7c67ac777087671b47c04fea56d4b468ac58efa5fd641002
+        depends_lib-append  port:py${python.version}-tz
+    } else {
+        depends_lib-append  port:py${python.version}-expressions
+    }
+
     livecheck.type      none
 } else {
-    livecheck.type      regex
-    livecheck.url       https://pypi.python.org/pypi/cubes/json
-    livecheck.regex     {cubes-(\d+(?:\.\d+)*)\.[tz]}
+    livecheck.type      pypi
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160817/a7f4bdd3/attachment-0001.html>


More information about the macports-changes mailing list