Modified: trunk/dports/python/py-llvmlite/Portfile (134576 => 134577)
--- trunk/dports/python/py-llvmlite/Portfile 2015-03-30 18:59:03 UTC (rev 134576)
+++ trunk/dports/python/py-llvmlite/Portfile 2015-03-30 19:54:33 UTC (rev 134577)
@@ -2,12 +2,12 @@
# $Id$
PortSystem 1.0
-PortGroup github 1.0
PortGroup python 1.0
-github.setup numba llvmlite 0.3.0 v
-
name py-llvmlite
+epoch 1
+version 0.2.2
+revision 0
categories-append science
platforms darwin
license BSD
@@ -19,10 +19,17 @@
description A lightweight LLVM python binding for writing JIT compilers
long_description ${description}
-checksums rmd160 ef92df66adeddad4279401468ec2c1e7d2d4b885 \
- sha256 f5061eb672086463d0097977ebdc04a29496a41a462b7df4533718077cf0745d
+homepage https://github.com/numba/llvmlite
+master_sites https://pypi.python.org/packages/source/l/llvmlite/
+distname llvmlite-${version}
+
+checksums rmd160 5152d59b3c66e37889c1b1af959e3846c23ecc53 \
+ sha256 c92d3437b10cd47a7c48e33e1004b1ac04c3befed1a87ba3ce8c2d386e24652f
+
if {${name} ne ${subport}} {
+ worksrcdir numba-llvmlite-c6e72f5
+
patchfiles-append patch-ffi_Makefile.osx.diff
depends_build-append \
@@ -39,4 +46,8 @@
destroot.env-append LLVM_CONFIG=llvm-config-mp-3.5
livecheck.type none
+} else {
+ livecheck.type regex
+ livecheck.url https://pypi.python.org/pypi/llvmlite/json
+ livecheck.regex {llvmlite-(\d+(?:\.\d+)*)\.[tz]}
}