parent
9307f144d1
commit
7abcb9228c
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=313774
3 changed files with 31027 additions and 19694 deletions
|
@ -2,7 +2,7 @@
|
|||
# $FreeBSD$
|
||||
|
||||
PORTNAME= google-appengine
|
||||
PORTVERSION= 1.7.2
|
||||
PORTVERSION= 1.7.5
|
||||
PORTREVISION= 0
|
||||
CATEGORIES= www devel python
|
||||
MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
|
||||
|
@ -37,20 +37,23 @@ FIND_FILES_BAK= ${WRKSRC} -type f -and \( -name "*.orig" -or -name "*.bak" \)
|
|||
LN_OPTS= -s
|
||||
|
||||
XARGS_ARGS= -0
|
||||
REINPLACE_ARGS= -i.bak -e 's,/usr/bin/env python,&${PYTHON_VER},'
|
||||
REINPLACE_ARGS= -e 's,/usr/bin/env python,&${PYTHON_VER},' -i.bak
|
||||
|
||||
GAEDATADIR= google lib new_project_template tools
|
||||
GAESCRIPTS= api_server appcfg bulkload_client bulkloader \
|
||||
dev_appserver download_appstats gen_protorpc \
|
||||
google_sql remote_api_shell
|
||||
GAESCRIPTS= _python_runtime.py api_server.py appcfg.py bulkload_client.py \
|
||||
bulkloader.py dev_appserver.py devappserver2.py \
|
||||
download_appstats.py endpointscfg.py gen_protorpc.py \
|
||||
google_sql.py remote_api_shell.py
|
||||
|
||||
post-patch:
|
||||
@${FIND} ${FIND_FILES} | ${XARGS} ${XARGS_ARGS} ${REINPLACE_CMD}
|
||||
@${FIND} ${FIND_FILES_BAK} -delete
|
||||
|
||||
do-build:
|
||||
${PYTHON_CMD} -m compileall ${WRKSRC} || true
|
||||
${PYTHON_CMD} -OO -m compileall ${WRKSRC} || true
|
||||
.for D in ${GAEDATADIR}
|
||||
${PYTHON_CMD} -m compileall ${WRKSRC}/${D} || true
|
||||
${PYTHON_CMD} -OO -m compileall ${WRKSRC}/${D} || true
|
||||
.endfor
|
||||
|
||||
do-install:
|
||||
${MKDIR} ${DATADIR}
|
||||
|
@ -62,10 +65,8 @@ do-install:
|
|||
cd ${WRKSRC} && ${COPYTREE_SHARE} demos ${EXAMPLESDIR}
|
||||
.endif
|
||||
.for S in ${GAESCRIPTS}
|
||||
. for EXT in py pyc pyo
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/${S}.${EXT} ${DATADIR}
|
||||
${LN} ${LN_OPTS} ${DATADIR}/${S}.${EXT} ${PREFIX}/bin/${S}.${EXT}
|
||||
. endfor
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/${S} ${DATADIR}
|
||||
${LN} ${LN_OPTS} ${DATADIR}/${S} ${PREFIX}/bin/${S}
|
||||
.endfor
|
||||
${INSTALL_DATA} ${WRKSRC}/VERSION ${DATADIR}
|
||||
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
SHA256 (google_appengine_1.7.2.zip) = df2ef713726bd62967499c1165cd13b539044b4bd027ffdce96ce14a62cd6649
|
||||
SIZE (google_appengine_1.7.2.zip) = 26697633
|
||||
SHA256 (google_appengine_1.7.5.zip) = 6367adc1004ecae6023c73ff21d48ad1ccd70b5c7f2ed280f8cf8696d5f8f9e6
|
||||
SIZE (google_appengine_1.7.5.zip) = 37569996
|
||||
|
|
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue