[64907] trunk/dports/lang/pypy
jmr at macports.org
jmr at macports.org
Wed Mar 17 01:54:31 PDT 2010
Revision: 64907
http://trac.macports.org/changeset/64907
Author: jmr at macports.org
Date: 2010-03-17 01:54:27 -0700 (Wed, 17 Mar 2010)
Log Message:
-----------
pypy: update to 1.2, update homepage
Modified Paths:
--------------
trunk/dports/lang/pypy/Portfile
Removed Paths:
-------------
trunk/dports/lang/pypy/files/
Modified: trunk/dports/lang/pypy/Portfile
===================================================================
--- trunk/dports/lang/pypy/Portfile 2010-03-17 08:21:13 UTC (rev 64906)
+++ trunk/dports/lang/pypy/Portfile 2010-03-17 08:54:27 UTC (rev 64907)
@@ -4,7 +4,7 @@
PortSystem 1.0
name pypy
-version 1.1.0
+version 1.2
set branch [join [lrange [split ${version} .] 0 1] .]
categories lang python devel
license MIT/PSF
@@ -16,37 +16,32 @@
especially dynamic languages.
platforms darwin
-#license MIT
-homepage http://codespeak.net/pypy/
-master_sites http://codespeak.net/download/pypy/
+homepage http://pypy.org/
+master_sites http://pypy.org/download/
use_bzip2 yes
+distfiles ${name}-${version}-src${extract.suffix}
-checksums md5 562779596ca08e5405dd3c48df194744 \
- sha1 cf62fc6d5dacca20f540f84431e5adee872b98d4 \
- rmd160 c4715a620334251fdd98c6015805057813773c30
+checksums md5 d423bd7dfbfbcfebb8435e55bcb36516 \
+ sha1 17d32765ce28a6fd3877fda003e5aceaf5f43511 \
+ rmd160 162ba5c84728be032000c3c39bf3c26f069f9795
-depends_lib port:bzip2 \
- port:libffi \
- port:ncurses \
- port:python26 \
- port:zlib
+depends_lib port:libffi \
+ port:python26
-patchfiles setpgrp.diff
-patch.args -p2
-
use_configure no
build.dir ${worksrcpath}/pypy/translator/goal
-build.cmd ${prefix}/bin/python2.6
-build.args --batch --cc=${configure.cc} --opt=3
+build.cmd arch -${build_arch} ${prefix}/bin/python2.6
+build.args --batch --cc=${configure.cc} --opt=3 \
+ --cflags=\"${configure.cc_archflags} ${configure.cppflags} ${configure.ldflags}\"
build.target translate.py
build.post_args targetpypystandalone.py
-if {[info exists configure.cc_archflags]} {
- build.args-append --cflags=\"${configure.cc_archflags} ${configure.cppflags} ${configure.ldflags}\"
-} else {
- build.args-append --cflags=\"${configure.cppflags} ${configure.ldflags}\"
+# JIT is only available on i386 at present
+if {$build_arch == "i386"} {
+ build.args-delete --opt=3
+ build.args-append --opt=jit
}
destroot {
@@ -60,13 +55,10 @@
variant opt1 description {use optimization level 1 for faster build} {
depends_lib-append port:boehmgc
- build.args-delete --opt=3
+ build.args-delete --opt=3 --opt=jit
build.args-append --opt=1
}
-#variant jit description {enable just-in-time compiler} {
-# build.args-append --jit
-#}
livecheck.type regex
-livecheck.url http://codespeak.net/pypy/dist/pypy/doc/download.html
-livecheck.regex pypy-(\[0-9.\]+)${extract.suffix}
+livecheck.url http://pypy.org/download.html
+livecheck.regex pypy-(\[0-9.\]+)-src${extract.suffix}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100317/018d7bcf/attachment-0001.html>
More information about the macports-changes
mailing list