Revision: 148162 https://trac.macports.org/changeset/148162 Author: jmr@macports.org Date: 2016-04-28 09:44:55 -0700 (Thu, 28 Apr 2016) Log Message: ----------- pypy: update to 5.1.0 and add a bootstrap binary Modified Paths: -------------- trunk/dports/lang/pypy/Portfile Added Paths: ----------- trunk/dports/lang/pypy-bootstrap/ trunk/dports/lang/pypy-bootstrap/Portfile Modified: trunk/dports/lang/pypy/Portfile =================================================================== --- trunk/dports/lang/pypy/Portfile 2016-04-28 14:23:41 UTC (rev 148161) +++ trunk/dports/lang/pypy/Portfile 2016-04-28 16:44:55 UTC (rev 148162) @@ -4,7 +4,7 @@ PortSystem 1.0 name pypy -version 5.0.1 +version 5.1.0 categories lang python devel license MIT PSF maintainers jmr openmaintainer @@ -20,9 +20,9 @@ master_sites https://bitbucket.org/pypy/pypy/downloads/ use_bzip2 yes distname ${name}-${version}-src -checksums md5 798c6e83536a5fa5ed7d6efb4d06db1a \ - rmd160 cf1e761f26bdec0b7da28fe55a9e87dd03b0213a \ - sha256 1573c9284d3ec236c8e6ef3b954753932dff29462c54b5885b761d1ee68b6e05 +checksums md5 d0a76859c83fb0427674273977086cb2 \ + rmd160 f025d570f53d6bb5f82fcdef08cd407eaaf78307 \ + sha256 16bab9501e942c0704abbf9cd6c4e950c6a76dc226cf1e447ea084916aef4714 depends_build port:pkgconfig depends_lib port:libffi \ @@ -49,8 +49,13 @@ #if {[file executable ${prefix}/lib/pypy/pypy]} { # build.cmd ${prefix}/lib/pypy/pypy #} else { - depends_build-append port:python27 - build.cmd ${prefix}/bin/python2.7 + if {${os.platform} eq "darwin" && ${os.arch} eq "i386" && [sysctl hw.cpu64bit_capable] == 1} { + depends_build-append port:pypy-bootstrap + build.cmd ${prefix}/lib/pypy-bootstrap/bin/pypy + } else { + depends_build-append port:python27 + build.cmd ${prefix}/bin/python2.7 + } #} # a lot of memory is used before the C compiler even runs, so limit build.jobs Added: trunk/dports/lang/pypy-bootstrap/Portfile =================================================================== --- trunk/dports/lang/pypy-bootstrap/Portfile (rev 0) +++ trunk/dports/lang/pypy-bootstrap/Portfile 2016-04-28 16:44:55 UTC (rev 148162) @@ -0,0 +1,33 @@ +# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 +# $Id$ + +PortSystem 1.0 + +name pypy-bootstrap +version 5.1.0 +categories lang python +platforms darwin +supported_archs x86_64 +maintainers jmr +license MIT PSF + +description bootstrap binary of pypy + +long_description This is a binary version of pypy provided for the \ + purpose of building the pypy port more quickly. + +homepage http://pypy.org/ +master_sites https://bitbucket.org/pypy/pypy/downloads/ + +distname pypy-${version}-osx64 +use_bzip2 yes +checksums md5 7f546940acb3ceebb5967697a9b05b65 \ + rmd160 fb209f68f77de56037faed5920678887608cdb0a \ + sha256 7e270c66347158dd794c101c4817f742f760ed805aa0d10abe19ba4a78a75118 + +use_configure no +build {} +destroot { + copy ${worksrcpath} ${destroot}${prefix}/lib/${name} + system "chmod -R a+rX ${destroot}${prefix}/lib/${name}" +} Property changes on: trunk/dports/lang/pypy-bootstrap/Portfile ___________________________________________________________________ Added: svn:keywords + Id Added: svn:eol-style + native