[136996] trunk/dports/lang/pypy/Portfile
jmr at macports.org
jmr at macports.org
Tue Jun 2 00:58:30 PDT 2015
Revision: 136996
https://trac.macports.org/changeset/136996
Author: jmr at macports.org
Date: 2015-06-02 00:58:30 -0700 (Tue, 02 Jun 2015)
Log Message:
-----------
pypy: update to 2.6.0
Modified Paths:
--------------
trunk/dports/lang/pypy/Portfile
Modified: trunk/dports/lang/pypy/Portfile
===================================================================
--- trunk/dports/lang/pypy/Portfile 2015-06-02 06:41:52 UTC (rev 136995)
+++ trunk/dports/lang/pypy/Portfile 2015-06-02 07:58:30 UTC (rev 136996)
@@ -4,7 +4,7 @@
PortSystem 1.0
name pypy
-version 2.5.1
+version 2.6.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 de4da75efe3e3b1325861c8883504fdc \
- sha1 e642ad3968e40399cf1989e7b6c70860a5675a65 \
- rmd160 3186b288bb81f93063963e5fd1729548336fcc21
+checksums md5 b09ab96f50ab3021d020e321f210e4c0 \
+ sha1 d6580ed01c0b963ef3735e810bc750b8d44f11f2 \
+ rmd160 9019bd2afad56fe066827e2b49d9d461c6e2b40e
depends_build port:pkgconfig
depends_lib port:libffi \
@@ -94,6 +94,13 @@
build.args-append --opt=3
}
+post-build {
+ # some modules have to be compiled in an extra step
+ foreach script {_audioop_build.py _curses_build.py _pwdgrp_build.py _sqlite3_build.py _syslog_build.py} {
+ system -W ${worksrcpath}/lib_pypy "${build.dir}/pypy-c $script"
+ }
+}
+
destroot {
xinstall -d ${destroot}${prefix}/lib/${name}/lib-python
copy ${worksrcpath}/lib-python/2.7 ${destroot}${prefix}/lib/${name}/lib-python
@@ -104,8 +111,6 @@
xinstall -m 755 ${build.dir}/pypy-c ${destroot}${prefix}/lib/${name}/pypy
xinstall ${build.dir}/libpypy-c.dylib ${destroot}${prefix}/lib/${name}
ln -s ${prefix}/lib/${name}/pypy ${destroot}${prefix}/bin
- # some modules have to be compiled at this point
- system "${destroot}${prefix}/lib/${name}/pypy -c 'import _sqlite3; import _curses; import syslog'"
xinstall -d ${destroot}${prefix}/share/doc/${name}
xinstall -W ${worksrcpath} -m 644 README.rst LICENSE ${destroot}${prefix}/share/doc/${name}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150602/dd13314c/attachment.html>
More information about the macports-changes
mailing list