[129721] trunk/dports/python/py-numba/Portfile

stromnov at macports.org stromnov at macports.org
Fri Dec 19 02:03:18 PST 2014


Revision: 129721
          https://trac.macports.org/changeset/129721
Author:   stromnov at macports.org
Date:     2014-12-19 02:03:18 -0800 (Fri, 19 Dec 2014)
Log Message:
-----------
py-numba: switch to pypi

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

Modified: trunk/dports/python/py-numba/Portfile
===================================================================
--- trunk/dports/python/py-numba/Portfile	2014-12-19 09:39:47 UTC (rev 129720)
+++ trunk/dports/python/py-numba/Portfile	2014-12-19 10:03:18 UTC (rev 129721)
@@ -2,12 +2,11 @@
 # $Id$
 
 PortSystem          1.0
-PortGroup           github 1.0
 PortGroup           python 1.0
 
-github.setup        numba numba 0.16.0
-
 name                py-numba
+version             0.16.0
+revision            1
 categories-append   devel
 platforms           darwin
 license             BSD
@@ -23,10 +22,13 @@
                     infrastructure to compile Python syntax to machine code.
 
 homepage            http://numba.github.com/
+master_sites        https://pypi.python.org/packages/source/n/numba/
 
-checksums           rmd160  6d46e3a16a541873b7ae007fec4dcfa6a7123c91 \
-                    sha256  1f4b468478ecfb3764991b8c2f396e620cc0b11f9a208fdff21d66cb3fb4c8f7
+distname            numba-${version}
 
+checksums           rmd160  86bbfd92a587a0c10ec6cece41f3b7257aa06933 \
+                    sha256  74da50715fea5a9e7c0584dfc49fce2e151dd0a1f12ad2b640bf7bea55f00fda
+
 if {${name} ne ${subport}} {
     depends_build-append \
                         port:py${python.version}-setuptools \
@@ -37,4 +39,8 @@
                         port:py${python.version}-cffi
 
     livecheck.type      none
+} else {
+    livecheck.type      regex
+    livecheck.url       ${master_sites}
+    livecheck.regex     {numba-(\d+(?:\.\d+)*)\.[tz]}
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20141219/054db08b/attachment.html>


More information about the macports-changes mailing list