mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-22 00:35:15 +00:00
- Fix bug when subprocess exits with return code 0
- Fix WWW line in pkg-descr - Add LICENSE information - Fix portlint issues PR: 191736 Submitted by: Gasol Wu <gasol.wu at gmail.com>
This commit is contained in:
parent
47ce7d1423
commit
3174769db6
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=362802
@ -3,7 +3,7 @@
|
||||
|
||||
PORTNAME= phpsh
|
||||
PORTVERSION= 20110513
|
||||
PORTREVISION= 1
|
||||
PORTREVISION= 2
|
||||
CATEGORIES= devel
|
||||
MASTER_SITES= http://distfiles.pirateparty.in/%SUBDIR%/ \
|
||||
${MASTER_SITE_LOCAL}
|
||||
@ -12,6 +12,9 @@ MASTER_SITE_SUBDIR= ashish
|
||||
MAINTAINER= ashish@FreeBSD.org
|
||||
COMMENT= Interactive shell for PHP
|
||||
|
||||
LICENSE= BSD3CLAUSE
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||
|
||||
USE_BZIP2= yes
|
||||
USE_PYTHON= yes
|
||||
USE_PYDISTUTILS= yes
|
||||
@ -24,7 +27,6 @@ PLIST_SUB= PORTNAME=${PORTNAME}
|
||||
|
||||
PYDISTUTILS_PKGVERSION= 1.3
|
||||
|
||||
|
||||
OPTIONS_DEFINE= PCNTL
|
||||
PCNTL_DESC= Fork on every command (pcntl PHP extension)
|
||||
|
||||
|
11
devel/phpsh/files/patch-src____init__.py
Normal file
11
devel/phpsh/files/patch-src____init__.py
Normal file
@ -0,0 +1,11 @@
|
||||
--- ./src/__init__.py.orig 2014-07-08 19:24:25.000000000 +0800
|
||||
+++ ./src/__init__.py 2014-07-08 19:24:45.000000000 +0800
|
||||
@@ -758,7 +758,7 @@
|
||||
ret_code = self.p.poll()
|
||||
if debug:
|
||||
print "ret_code: " + str(ret_code)
|
||||
- if ret_code != None:
|
||||
+ if ret_code not in (None, 0):
|
||||
if debug:
|
||||
print "NOOOOO"
|
||||
print "subprocess died with return code: " + repr(ret_code)
|
@ -4,4 +4,4 @@ was developed at Facebook and ironically, is written mostly
|
||||
in python. It is open source and released under a modified
|
||||
BSD license.
|
||||
|
||||
WWW: http://phpsh.org/
|
||||
WWW: http://phpsh.org/
|
||||
|
Loading…
Reference in New Issue
Block a user