mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-26 09:46:09 +00:00
- Update to 1.8.6
- Add option PHP (default off) - Support staging Build logs: https://redports.org/buildarchive/20131028233600-37345 Release notes: http://code.google.com/p/googleappengine/wiki/SdkReleaseNotes
This commit is contained in:
parent
343ed571d2
commit
b76a4c075d
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=331956
@ -2,7 +2,7 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= google-appengine
|
||||
PORTVERSION= 1.8.1
|
||||
PORTVERSION= 1.8.6
|
||||
PORTREVISION= 0
|
||||
CATEGORIES= www devel python
|
||||
MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
|
||||
@ -18,61 +18,62 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sqlite3>=${PYTHON_VER}:${PORTSDIR}/databases
|
||||
${PYTHON_PKGNAMEPREFIX}imaging>=1.1.6_2:${PORTSDIR}/graphics/py-imaging \
|
||||
${PYTHON_PKGNAMEPREFIX}pycrypto>=2.6:${PORTSDIR}/security/py-pycrypto
|
||||
|
||||
NO_BUILD= yes
|
||||
|
||||
OPTIONS_DEFINE= EXAMPLES MYSQL PHP
|
||||
OPTIONS_DEFAULT= MYSQL
|
||||
|
||||
PROJECTHOST= googleappengine
|
||||
|
||||
USE_PYTHON= 2.7
|
||||
USE_ZIP= yes
|
||||
USES= gettext
|
||||
|
||||
OPTIONS_DEFINE= EXAMPLES MYSQL
|
||||
OPTIONS_DEFAULT= MYSQL
|
||||
|
||||
NO_STAGE= yes
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
WRKSRC= ${WRKDIR}/${PORTNAME:S,-,_,}
|
||||
|
||||
FIND_FILES= ${WRKSRC} -type f -name "*.py" -print0
|
||||
FIND_FILES_BAK= ${WRKSRC} -type f -and \( -name "*.orig" -or -name "*.bak" \)
|
||||
|
||||
LN_OPTS= -s
|
||||
LN_OPTS= -sf
|
||||
|
||||
XARGS_ARGS= -0
|
||||
REINPLACE_ARGS= -e 's,/usr/bin/env python,&${PYTHON_VER},' -i.bak
|
||||
|
||||
GAEDATADIR= google lib new_project_template tools
|
||||
GAEDATADIR= google lib new_project_template php tools
|
||||
GAESCRIPTS= _php_runtime.py _python_runtime.py api_server.py appcfg.py \
|
||||
bulkload_client.py bulkloader.py dev_appserver.py \
|
||||
download_appstats.py endpointscfg.py gen_protorpc.py \
|
||||
google_sql.py old_dev_appserver.py remote_api_shell.py run_tests.py
|
||||
|
||||
post-patch:
|
||||
@${FIND} ${FIND_FILES} | ${XARGS} ${XARGS_ARGS} ${REINPLACE_CMD}
|
||||
@${FIND} ${FIND_FILES_BAK} -delete
|
||||
|
||||
do-build:
|
||||
.for D in ${GAEDATADIR}
|
||||
${PYTHON_CMD} -m compileall ${WRKSRC}/${D} || true
|
||||
${PYTHON_CMD} -OO -m compileall ${WRKSRC}/${D} || true
|
||||
.endfor
|
||||
|
||||
do-install:
|
||||
${MKDIR} ${DATADIR}
|
||||
.for D in ${GAEDATADIR}
|
||||
cd ${WRKSRC} && ${COPYTREE_SHARE} ${D} ${DATADIR}
|
||||
.endfor
|
||||
|
||||
.if ${PORT_OPTIONS:MEXAMPLES}
|
||||
cd ${WRKSRC} && ${COPYTREE_SHARE} demos ${EXAMPLESDIR}
|
||||
.endif
|
||||
.for S in ${GAESCRIPTS}
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/${S} ${DATADIR}
|
||||
${LN} ${LN_OPTS} ${DATADIR}/${S} ${PREFIX}/bin/${S}
|
||||
.endfor
|
||||
${INSTALL_DATA} ${WRKSRC}/VERSION ${DATADIR}
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${PORT_OPTIONS:MMYSQL}
|
||||
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}MySQLdb>=1.2.3:${PORTSDIR}/databases/py-MySQLdb
|
||||
.endif
|
||||
.if ${PORT_OPTIONS:MPHP}
|
||||
USE_MYSQL= server
|
||||
WANT_MYSQL_VER= 55
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
@${FIND} ${FIND_FILES} | ${XARGS} ${XARGS_ARGS} ${REINPLACE_CMD}
|
||||
@${FIND} ${FIND_FILES_BAK} -delete
|
||||
|
||||
do-install:
|
||||
@${MKDIR} ${STAGEDIR}${DATADIR}
|
||||
.for D in ${GAEDATADIR}
|
||||
@(cd ${WRKSRC} && ${COPYTREE_SHARE} ${D} ${STAGEDIR}${DATADIR})
|
||||
.endfor
|
||||
@${MKDIR} ${EXAMPLESDIR}
|
||||
(cd ${WRKSRC} && ${COPYTREE_SHARE} demos ${STAGEDIR}${EXAMPLESDIR})
|
||||
.for S in ${GAESCRIPTS}
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/${S} ${STAGEDIR}${DATADIR}
|
||||
${LN} ${LN_OPTS} ${DATADIR}/${S} ${STAGEDIR}${PREFIX}/bin/${S}
|
||||
.endfor
|
||||
${INSTALL_DATA} ${WRKSRC}/VERSION ${STAGEDIR}${DATADIR}
|
||||
|
||||
post-install:
|
||||
(cd ${STAGEDIR}${DATADIR} && \
|
||||
${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py -d ${DATADIR} -f ${GAEDATADIR:Nphp} -q)
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,2 +1,2 @@
|
||||
SHA256 (google_appengine_1.8.1.zip) = e15dc5ea0ede23bd6a83b338056a6574984d9257abc5ea7285029683a3916136
|
||||
SIZE (google_appengine_1.8.1.zip) = 50358245
|
||||
SHA256 (google_appengine_1.8.6.zip) = 701ea0e3346e43ac4c45e6a6cd96bb5898f650010ac2245e4fd39846e21b47e0
|
||||
SIZE (google_appengine_1.8.6.zip) = 50585748
|
||||
|
@ -2,13 +2,14 @@ Google App Engine software development kit (SDK).
|
||||
|
||||
Google App Engine enables you to build web applications
|
||||
on the same scalable systems that power Google applications.
|
||||
Google App Engine applications are implemented using the Python
|
||||
programming language. The runtime environment includes the full
|
||||
Python language and most of the Python standard library.
|
||||
Google App Engine applications are implemented using the PHP
|
||||
or the Python programming language. The runtime environment
|
||||
includes the full Python language and most of the Python
|
||||
standard library.
|
||||
|
||||
App Engine applications are easy to build, easy to maintain, and
|
||||
easy to scale as your traffic and data storage needs grow.
|
||||
With App Engine, there are no servers to maintain: you just upload
|
||||
your application, and it's ready to serve your users.
|
||||
App Engine applications are easy to build, easy to maintain,
|
||||
and easy to scale as your traffic and data storage needs grow.
|
||||
With App Engine, there are no servers to maintain: you just
|
||||
upload your application, and it's ready to serve your users.
|
||||
|
||||
WWW: http://code.google.com/appengine/
|
||||
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user