[142215] trunk/dports/python/py-polygon/Portfile

stromnov at macports.org stromnov at macports.org
Sat Dec 12 04:49:00 PST 2015


Revision: 142215
          https://trac.macports.org/changeset/142215
Author:   stromnov at macports.org
Date:     2015-11-06 14:11:30 -0800 (Fri, 06 Nov 2015)
Log Message:
-----------
py-polygon: update to version 3.0.8

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

Modified: trunk/dports/python/py-polygon/Portfile
===================================================================
--- trunk/dports/python/py-polygon/Portfile	2015-11-06 22:08:04 UTC (rev 142214)
+++ trunk/dports/python/py-polygon/Portfile	2015-11-06 22:11:30 UTC (rev 142215)
@@ -4,16 +4,14 @@
 PortSystem          1.0
 PortGroup           python 1.0
 
-set realname        polygon
-
-name                py-${realname}
-version             3.0.7
+name                py-polygon
+version             3.0.8
 revision            0
 categories-append   devel math
 platforms           darwin
 license             LGPL Noncommercial
 
-python.versions     27 34
+python.versions     27 34 35
 
 maintainers         stromnov openmaintainer
 
@@ -26,25 +24,23 @@
     in C and pure Python.
 
 homepage            http://www.j-raedler.de/projects/polygon
-master_sites        http://bitbucket.org/jraedler/polygon3/downloads
+master_sites        pypi:P/Polygon3
 
 distname            Polygon3-${version}
 
-checksums           rmd160  6516a9af67714c6fdf090e06c66edd1591b7ce3d \
-                    sha256  627852f50fd6002b9a59eef291bb38c075d95e67c47a8d3b32713426ee137744
+checksums           rmd160  b3604e60d7f9b27eee5b62522568be59e3011c3f \
+                    sha256  382aecaf1b550134aa71cc9c0f880a244e0ac5273e05bf898f5a6cde5bff9e2c
 
 if {${name} ne ${subport}} {
     if {${python.version} < 30} {
-        version             2.0.7
+        version             2.0.8
         revision            0
-        master_sites        http://bitbucket.org/jraedler/polygon2/downloads
+        master_sites        pypi:P/Polygon2
         distname            Polygon2-${version}
-        checksums           rmd160  ded6437e2f97785b1bdbad22121aa35988d8b897 \
-                            sha256  a779378f2258a8586f1a5967896c419c4c6859d8a067677259dacd3146453f24
+        checksums           rmd160  59352a3a4c1c1ba556282864b9d967479ebe9d18 \
+                            sha256  4ae3b027483daf1e967a96bceca18481d57cfa30480c579c3bac32f5c3fe9c84
     }
 
-    use_zip             yes
-
     patchfiles-append   patch-setup.py.diff
 
     variant numpy description {Build with NumPy support} {
@@ -61,7 +57,6 @@
 
     livecheck.type      none
 } else {
-    livecheck.type      regex
-    livecheck.url       ${master_sites}
-    livecheck.regex     {Polygon[23]?-([23]+(?:\.\d+)*).[tz]}
+    livecheck.type      pypi
+    livecheck.name      Polygon3
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20151212/53c8f4bf/attachment.html>


More information about the macports-changes mailing list