mirror of
https://git.FreeBSD.org/ports.git
synced 2025-02-02 11:09:29 +00:00
- Update to 1.7.0
- Convert to the new options framework - Set USE_PYTHON to 2.7 BuildLog: http://goo.gl/WKSEB
This commit is contained in:
parent
e9a2c0a4b1
commit
3cea2eef38
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=301664
@ -6,14 +6,11 @@
|
||||
#
|
||||
|
||||
PORTNAME= google-appengine
|
||||
PORTVERSION= 1.5.3
|
||||
PORTVERSION= 1.7.0
|
||||
PORTREVISION= 0
|
||||
CATEGORIES= www devel python
|
||||
MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
|
||||
DISTFILES= ${PORTNAME:S|-|_|}_${PORTVERSION}.zip
|
||||
.if !defined(NOPORTDOCS)
|
||||
DISTFILES+= ${PORTNAME}-docs-${GAEDOCSREL}.zip
|
||||
.endif
|
||||
|
||||
MAINTAINER= nivit@FreeBSD.org
|
||||
COMMENT= Development tools for Google App Engine (SDK)
|
||||
@ -21,14 +18,21 @@ COMMENT= Development tools for Google App Engine (SDK)
|
||||
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sqlite3>=${PYTHON_VER}:${PORTSDIR}/databases/py-sqlite3 \
|
||||
${PYTHON_PKGNAMEPREFIX}imaging>=1.1.6_2:${PORTSDIR}/graphics/py-imaging
|
||||
|
||||
MANUAL_PACKAGE_BUILD= uses Python 2.5
|
||||
|
||||
PROJECTHOST= googleappengine
|
||||
|
||||
USE_PYTHON= 2.5
|
||||
USE_PYTHON= 2.7
|
||||
USE_ZIP= yes
|
||||
USE_GETTEXT= yes
|
||||
|
||||
OPTIONS_DEFINE= DOCS EXAMPLES MYSQL
|
||||
OPTIONS_DEFAULT= MYSQL
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
DISTFILES+= ${PORTNAME}-docs-${GAEDOCSREL}.zip
|
||||
.endif
|
||||
|
||||
WRKSRC= ${WRKDIR}/${PORTNAME:S,-,_,}
|
||||
|
||||
FIND_FILES= ${WRKSRC} -type f -name "*.py" -print0
|
||||
@ -39,9 +43,11 @@ LN_OPTS= -s
|
||||
XARGS_ARGS= -0
|
||||
REINPLACE_ARGS= -i.bak -e 's,/usr/bin/env python,&${PYTHON_VER},'
|
||||
|
||||
GAEDATADIR= google lib new_project_template templates tools
|
||||
GAEDOCSREL= 20110817
|
||||
GAESCRIPTS= appcfg bulkload_client bulkloader dev_appserver gen_protorpc remote_api_shell
|
||||
GAEDATADIR= google lib new_project_template tools
|
||||
GAEDOCSREL= 20120228
|
||||
GAESCRIPTS= api_server appcfg bulkload_client bulkloader \
|
||||
dev_appserver download_appstats gen_protorpc \
|
||||
google_sql remote_api_shell
|
||||
|
||||
post-patch:
|
||||
@${FIND} ${FIND_FILES} | ${XARGS} ${XARGS_ARGS} ${REINPLACE_CMD}
|
||||
@ -56,10 +62,11 @@ do-install:
|
||||
.for D in ${GAEDATADIR}
|
||||
cd ${WRKSRC} && ${COPYTREE_SHARE} ${D} ${DATADIR}
|
||||
.endfor
|
||||
.if !defined(NOPORTEXAMPLES)
|
||||
|
||||
.if ${PORT_OPTIONS:MEXAMPLES}
|
||||
cd ${WRKSRC} && ${COPYTREE_SHARE} demos ${EXAMPLESDIR}
|
||||
.endif
|
||||
.if !defined(NOPORTDOCS)
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
${MKDIR} ${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/LICENSE ${WRKSRC}/README ${DOCSDIR}
|
||||
cd ${WRKDIR}/google-appengine-docs-${GAEDOCSREL} && ${COPYTREE_SHARE} . ${DOCSDIR}
|
||||
@ -73,4 +80,8 @@ do-install:
|
||||
.endfor
|
||||
${INSTALL_DATA} ${WRKSRC}/VERSION ${DATADIR}
|
||||
|
||||
.if ${PORT_OPTIONS:MMYSQL}
|
||||
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}MySQLdb>=1.2.3:${PORTSDIR}/databases/py-MySQLdb
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,4 +1,4 @@
|
||||
SHA256 (google_appengine_1.5.3.zip) = 826ee1ac5cb7d6a741f2720f8f4fb5a6085240296be8a97b1a22991dc86e21c2
|
||||
SIZE (google_appengine_1.5.3.zip) = 12302773
|
||||
SHA256 (google-appengine-docs-20110817.zip) = 3e9618ecfeaad2d003ead34f7949f2cf5bd0ffe8fd6c2a35fb1a59cb457b6501
|
||||
SIZE (google-appengine-docs-20110817.zip) = 10106087
|
||||
SHA256 (google_appengine_1.7.0.zip) = 7a1189257416dcc64a521316b1229a23100b3b8830e3ab7f5923be7b0d5f2239
|
||||
SIZE (google_appengine_1.7.0.zip) = 26248116
|
||||
SHA256 (google-appengine-docs-20120228.zip) = b6f8d0c59220a268f48d297640f4d2b0b963585e743479df98363ded0cfaffb0
|
||||
SIZE (google-appengine-docs-20120228.zip) = 12325540
|
||||
|
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user