<pre style='margin:0'>
Ryan Schmidt (ryandesign) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/610bca1aed7888b06fe1f7ba9e2714320e68fcca">https://github.com/macports/macports-ports/commit/610bca1aed7888b06fe1f7ba9e2714320e68fcca</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new 610bca1 phpsh: Update to 1.3-20140514
</span>610bca1 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 610bca1aed7888b06fe1f7ba9e2714320e68fcca
</span>Author: Ryan Schmidt <ryandesign@macports.org>
AuthorDate: Mon Nov 27 07:26:42 2017 -0600
<span style='display:block; white-space:pre;color:#404040;'> phpsh: Update to 1.3-20140514
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Also reinplace quietly, and fix completely broken variants.
</span>---
php/phpsh/Portfile | 41 +++++++++++++++++++++---------------
php/phpsh/files/src-__init__.py.diff | 12 +++++++++--
2 files changed, 34 insertions(+), 19 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/php/phpsh/Portfile b/php/phpsh/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index ae7a87e..44429ef 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/php/phpsh/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/php/phpsh/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -4,8 +4,8 @@ PortSystem 1.0
</span> PortGroup github 1.0
PortGroup python 1.0
<span style='display:block; white-space:pre;background:#ffe0e0;'>-github.setup facebook phpsh 1.3
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+github.setup facebookarchive phpsh 8427a3cd8a2cb8f8f0d85faf0bd9d49b10961a04
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version 1.3-20140514
</span> categories php devel
maintainers nomaintainer
supported_archs noarch
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -20,39 +20,46 @@ long_description \
</span> phpsh is a read-eval-print-loop for PHP that features readline history, tab \
completion, and quick access to documentation. It was developed at Facebook \
and ironically, is written mostly in Python.
<span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums rmd160 5188164d79f107d3494a240b33b5e05b1344b40a \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 2792485c541ad8420f912e01a6be85c07b9c352c087e3b4d54a5a61e53f51d0e
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 cc125343ad114f371a7a86bea53f49ec02fafb35 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 23ed7e2bdbd5b2b0d1a3ee0667af4402d19dcc6561e1f2b31f8b2a6faf946994 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 5915531
</span>
patchfiles src-__init__.py.diff
pre-patch {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- reinplace -locale C s|/etc/phpsh|${prefix}/etc/phpsh|g \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace -q -locale C s|/etc/phpsh|${prefix}/etc/phpsh|g \
</span> ${worksrcpath}/setup.py ${worksrcpath}/rc.example.php \
{*}[glob ${worksrcpath}/src/*] {*}[glob ${worksrcpath}/src/doc/*]
}
post-destroot {
set mandir ${destroot}${prefix}/share/man/man1
<span style='display:block; white-space:pre;background:#ffe0e0;'>- xinstall -d ${mandir}
</span> move ${destroot}${python.prefix}/man/man1/phpsh.1 ${mandir}
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-set php_versions [ list 53 54 55 ]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+set php_suffixes {53 54 55 56 70 71 72}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+set php_ports [regsub -all -- {(^|\s)} ${php_suffixes} {\0php}]
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-foreach php_version $php_versions {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- variant php${php_version} description "Build ${name} with php${php_version}" {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- depends_lib-append port:php${php_version}-posix \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:php${php_version}-pcntl
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- post-patch {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- reinplace s|@@PHP_EXECUTABLE@@|${prefix}/bin/php${php_version}| src/__init__.py
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+set variant_check {}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+foreach php ${php_ports} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set i [lsearch -exact ${php_ports} ${php}]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set c [lreplace ${php_ports} ${i} ${i}]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ eval [subst {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ variant ${php} conflicts ${c} description "Use ${php}" {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_lib-append port:${php}-posix \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:${php}-pcntl
</span>
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ post-patch {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace s|@@PHP_EXECUTABLE@@|${prefix}/bin/${php}| src/__init__.py
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {${php} ne [lindex ${php_ports} end]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ lappend variant_check "!\[variant_isset ${php}\]"
</span> }
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-default_variants +php55
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+eval "if {[join ${variant_check} {&&}]} {default_variants +[lindex ${php_ports} end]}"
</span>
# archived project no longer supported or updated by Facebook
livecheck.type none
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/php/phpsh/files/src-__init__.py.diff b/php/phpsh/files/src-__init__.py.diff
</span><span style='display:block; white-space:pre;color:#808080;'>index ef0cf5c..1c043cf 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/php/phpsh/files/src-__init__.py.diff
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/php/phpsh/files/src-__init__.py.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,5 +1,13 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- src/__init__.py 2010-10-21 21:14:29.000000000 +0200
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ src/__init__.py 2013-07-04 15:33:20.000000000 +0200
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- src/__init__.py.orig 2017-11-27 07:22:09.000000000 -0600
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ src/__init__.py 2017-11-27 07:22:28.000000000 -0600
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -1,6 +1,6 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ __version__ = "1.3"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ __author__ = "phpsh@googlegroups.com"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-__date__ = "Nov 20, 2008"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++__date__ = "May 14, 2014"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ from subprocess import Popen, PIPE, call
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ from threading import Thread
</span> @@ -201,7 +201,7 @@
self.partial = ""
</pre><pre style='margin:0'>
</pre>