1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-19 19:59:43 +00:00

- Update to 2.0.1

PR:		137603
Submitted by:	Wen Heping <wenheping@gmail.com> (maintainer)
This commit is contained in:
Martin Wilke 2009-08-18 22:38:56 +00:00
parent 6d79c3b37f
commit 3612214177
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=239899
5 changed files with 257 additions and 1425 deletions

View File

@ -1325,6 +1325,7 @@
SUBDIR += py-tgwebservices
SUBDIR += py-turbodjango
SUBDIR += py-turbogears
SUBDIR += py-turbogears2
SUBDIR += py-turbosetup
SUBDIR += py-twistedWeb
SUBDIR += py-twistedWeb2

View File

@ -1,72 +1,29 @@
# New ports collection makefile for: turbogears
# Date created: 2006-01-08
# Whom: Nicola Vitale <nivit@email.it>
# New ports collection makefile for: turbogears2
# Date created: 9 Aug, 2009
# Whom: Wen Heping <wenheping@gmail.com>
#
# $FreeBSD$
#
PORTNAME= TurboGears
PORTVERSION= 1.0.8
PORTREVISION= 1
PORTNAME= TurboGears2
PORTVERSION= 2.0.1
CATEGORIES= www python
MASTER_SITES= http://files.turbogears.org/eggs/ \
http://nivi.interfree.it/distfiles/${PORTNAME}/
MASTER_SITES= http://www.turbogears.org/2.0/downloads/${PORTVERSION}/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= python@FreeBSD.org
MAINTAINER= wenheping@gmail.com
COMMENT= Python-Based Framework for Rapid Web Development
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cherrypy-old>=2.3:${PORTSDIR}/www/py-cherrypy-old \
${PYTHON_PKGNAMEPREFIX}configobj>=4.5.3:${PORTSDIR}/devel/py-configobj \
${PYTHON_PKGNAMEPREFIX}formencode>=0.6_1:${PORTSDIR}/www/py-formencode \
${PYTHON_PKGNAMEPREFIX}PasteScript>=1.7.3:${PORTSDIR}/www/py-pastescript \
${PYTHON_PKGNAMEPREFIX}RuleDispatch>=0.5.a0.r2303:${PORTSDIR}/devel/py-ruledispatch \
${PYTHON_PKGNAMEPREFIX}simplejson>=1.4:${PORTSDIR}/devel/py-simplejson \
${PYTHON_PKGNAMEPREFIX}TurboCheetah>=1.0:${PORTSDIR}/devel/py-turbocheetah \
${PYTHON_PKGNAMEPREFIX}TurboKid>=1.0.4:${PORTSDIR}/devel/py-turbokid \
${PYTHON_PKGNAMEPREFIX}TurboJson>=1.1.4:${PORTSDIR}/devel/py-turbojson11
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}ToscaWidgets>=0.9.4:${PORTSDIR}/devel/py-ToscaWidgets \
${PYTHON_PKGNAMEPREFIX}Genshi>=0.5.1:${PORTSDIR}/textproc/py-genshi \
${PYTHON_PKGNAMEPREFIX}WebFlash>=0.1a8:${PORTSDIR}/www/py-WebFlash \
${PYTHON_PKGNAMEPREFIX}WebError>=0.10.1:${PORTSDIR}/www/py-WebError \
${PYTHON_PKGNAMEPREFIX}repoze.tm2>=0:${PORTSDIR}/devel/py-repoze.tm2 \
${PYTHON_PKGNAMEPREFIX}TurboJson>=1.2.1:${PORTSDIR}/devel/py-turbojson \
${PYTHON_PKGNAMEPREFIX}repoze.who>=1.0.0:${PORTSDIR}/devel/py-repoze.who \
${PYTHON_PKGNAMEPREFIX}repoze.what-pylons>=1.0:${PORTSDIR}/devel/py-repoze.what-pylons
USE_GETTEXT= yes
USE_PYTHON= 2.4+
USE_PYTHON= yes
USE_PYDISTUTILS= easy_install
OPTIONSFILE= ${PORT_DBDIR}/py-${PORTNAME}/options
OPTIONS+= ELIXIR "Use Elixir as plugin" off \
GENSHI "Use Genshi as plugin TG[future]" off \
NOSE "Use nose TG[testtools]" off \
PYSQLITE "Use SQLite as DB backend" off \
SQLOBJECT "Use SQLObject as DB backend" on \
SQLALCHEMY "Use SQLAlchemy as DB backend TG[future]" off
.include <bsd.port.pre.mk>
.if ${PYTHON_REL} < 250
PYEASYINSTALL_UNINSTALLARGS= -q -m -N -S ${PYTHON_SITELIBDIR} -d ${PYEASYINSTALL_SITELIBDIR} -s ${PYEASYINSTALL_BINDIR} ${PYDISTUTILS_PKGNAME}==${PYDISTUTILS_PKGVERSION}
.endif
.if defined (WITH_ELIXIR)
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}Elixir>=0.6.1:${PORTSDIR}/databases/py-Elixir
.endif
.if defined (WITH_GENSHI)
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}Genshi>=0.3.6:${PORTSDIR}/textproc/py-genshi
.endif
.if defined (WITH_NOSE)
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}nose>=0.9.1:${PORTSDIR}/devel/py-nose
.endif
# Python 2.5 already includes SQLite
.if defined (WITH_PYSQLITE) && (${PYTHON_REL} < 250)
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}pysqlite>=2.0.7_1:${PORTSDIR}/databases/py-pysqlite22
.endif
.if defined (WITH_SQLOBJECT)
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}sqlobject>=0.10.1:${PORTSDIR}/databases/py-sqlobject
.endif
.if defined (WITH_SQLALCHEMY)
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}sqlalchemy>=0.3.4:${PORTSDIR}/databases/py-sqlalchemy
.endif
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View File

@ -1,3 +1,3 @@
MD5 (TurboGears-1.0.8.tar.gz) = 845b29a588ae8d4e7591c7226daa6f98
SHA256 (TurboGears-1.0.8.tar.gz) = 9f096a2315052f835f92cbd26fa95dd28ede38be052fdf7bb89a569d4e77ade9
SIZE (TurboGears-1.0.8.tar.gz) = 1181046
MD5 (TurboGears2-2.0.1.tar.gz) = 5e5e72ff53ec73fd8396031253d55103
SHA256 (TurboGears2-2.0.1.tar.gz) = 19311f8e4f772de2fbcbfc68110979c3f7eef1c0e042123908f15168810372fc
SIZE (TurboGears2-2.0.1.tar.gz) = 63825

View File

@ -1,13 +1,19 @@
TurboGears brings together four major pieces to create an easy to install, easy
to use web megaframework. It covers everything from front end (MochiKit
JavaScript for the browser, Kid for templates in Python) to the controllers
(CherryPy) to the back end (SQLObject).
TurboGears 2 is a reinvention of the TurboGears project to take
advantage of new components, and to provide a fully customizable
WSGI (Web Server Gateway Interface) stack. From the beginning
TurboGears was designed to be a Full Stack framework built from
best-of-breed components. New components have been released which
improved on the ones in the original TGstack, and the Python web
world has been increasingly designed around WSGI.
The TurboGears project is focused on providing documentation and integration
with these tools without losing touch with the communities that already exist
around those tools.
This has enabled a whole new world of reuse, and TG2 is designed
to take advantage of this fact in order to make a framework which
provides easy to use, productive defaults, while still providing
flexibility where it is useful.
TurboGears is easy to use for a wide range of web applications.
TG2 represents a change from some of the components in TurboGears 1,
but we have now invested in a set of components that we think will
continue to be at the center of python web development for years to
come.
Author: Kevin Dangoor et alii
WWW: http://www.turbogears.org/

File diff suppressed because it is too large Load Diff