diff options
author | pav <pav@FreeBSD.org> | 2006-01-15 10:32:42 +0800 |
---|---|---|
committer | pav <pav@FreeBSD.org> | 2006-01-15 10:32:42 +0800 |
commit | fb2c4fcdc265319f57246e4b981cd4cb9d595b57 (patch) | |
tree | adf6da994ba5250505987af34bbf7839bc0a4254 /www/py-turbogears | |
parent | ed1f8476d21fda00770ae7121adf553544c1b084 (diff) | |
download | freebsd-ports-gnome-fb2c4fcdc265319f57246e4b981cd4cb9d595b57.tar.gz freebsd-ports-gnome-fb2c4fcdc265319f57246e4b981cd4cb9d595b57.tar.zst freebsd-ports-gnome-fb2c4fcdc265319f57246e4b981cd4cb9d595b57.zip |
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).
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.
TurboGears is easy to use for a wide range of web applications.
Author: Kevin Dangoor et alii
WWW: http://www.turbogears.org/
PR: ports/91691
Submitted by: Nicola Vitale <nivit@email.it>
Diffstat (limited to 'www/py-turbogears')
-rw-r--r-- | www/py-turbogears/Makefile | 57 | ||||
-rw-r--r-- | www/py-turbogears/distinfo | 3 | ||||
-rw-r--r-- | www/py-turbogears/files/pkg-deinstall.in | 19 | ||||
-rw-r--r-- | www/py-turbogears/pkg-descr | 13 | ||||
-rw-r--r-- | www/py-turbogears/pkg-plist | 74 |
5 files changed, 166 insertions, 0 deletions
diff --git a/www/py-turbogears/Makefile b/www/py-turbogears/Makefile new file mode 100644 index 000000000000..54c4700a5b73 --- /dev/null +++ b/www/py-turbogears/Makefile @@ -0,0 +1,57 @@ +# New ports collection makefile for: turbogears +# Date created: 2006-01-08 +# Whom: Nicola Vitale <nivit@email.it> +# +# $FreeBSD$ +# + +PORTNAME= TurboGears +PORTVERSION= 0.8.8 +CATEGORIES= www python +MASTER_SITES= http://www.turbogears.org/download/eggs/ +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +DISTNAME= ${PORTNAME}-${PORTVERSION} + +MAINTAINER= nivit@email.it +COMMENT= Python-Based Framework for Rapid Web Development + +BUILD_DEPENDS= easy_install:${PORTSDIR}/devel/py-setuptools +RUN_DEPENDS= easy_install:${PORTSDIR}/devel/py-setuptools \ + kid:${PORTSDIR}/devel/py-kid \ + sqlobject-admin:${PORTSDIR}/databases/py-sqlobject \ + ${PYTHON_SITELIBDIR}/cherrypy/__init__.py:${PORTSDIR}/www/py-cherrypy \ + ${PYTHON_SITELIBDIR}/cElementTree.so:${PORTSDIR}/devel/py-celementtree \ + ${PYTHON_SITELIBDIR}/elementtree/__init__.py:${PORTSDIR}/devel/py-elementtree \ + ${PYTHON_SITELIBDIR}/formencode/__init__.py:${PORTSDIR}/www/py-formencode \ + ${PYTHON_SITELIBDIR}/json.py:${PORTSDIR}/devel/py-json-py \ + ${PYTHON_SITELIBDIR}/TestGears-0.2-py2.4.egg:${PORTSDIR}/devel/py-testgears + +USE_PYTHON= 2.4+ +USE_PYDISTUTILS= yes + +OPTIONS= CHEETAH "Install py-cheetah add-on" off +# bypass infrastructure bug (taken from www/py-django) +OPTIONSFILE= ${PORT_DBDIR}/py-${PORTNAME}/options + +PLIST_SUB= PORTVERSION=${PORTVERSION} EGGEXT=py2.4.egg +SUB_FILES= pkg-deinstall +SUB_LIST= EGGS=${EGGS} PYTHON_SITELIBDIR=${PYTHON_SITELIBDIR} + +EGGS= ${PORTNAME}-${PORTVERSION}-py2.4.egg +EASY_INSTALL= easy_install + +do-install: + for FILE in ${DISTFILES}; do \ + ${EASY_INSTALL} --no-deps --script-dir=${PREFIX}/bin ${DISTDIR}/$${FILE}; \ + done; + +post-install: + ${RM} ${PYTHON_SITELIBDIR}/${PORTNAME}-${PORTVERSION}-py2.4.egg/EGG-INFO/requires.txt + +.include <bsd.port.pre.mk> + +.if defined(WITH_CHEETAH) +RUN_DEPENDS+= cheetah:${PORTSDIR}/devel/py-cheetah +.endif + +.include <bsd.port.post.mk> diff --git a/www/py-turbogears/distinfo b/www/py-turbogears/distinfo new file mode 100644 index 000000000000..7dbbfb8ebc65 --- /dev/null +++ b/www/py-turbogears/distinfo @@ -0,0 +1,3 @@ +MD5 (TurboGears-0.8.8.tar.gz) = 83be5f971d5c208c3e91e60b570cbcff +SHA256 (TurboGears-0.8.8.tar.gz) = 57ec514b15c2c4129f293892a39eeb626cd4b4679b0201e73864ef1feb23767b +SIZE (TurboGears-0.8.8.tar.gz) = 3608049 diff --git a/www/py-turbogears/files/pkg-deinstall.in b/www/py-turbogears/files/pkg-deinstall.in new file mode 100644 index 000000000000..e184b62091c2 --- /dev/null +++ b/www/py-turbogears/files/pkg-deinstall.in @@ -0,0 +1,19 @@ +#!/bin/sh +# +PKGNAME=$1 +# +case $2 in + DEINSTALL) + for f in %%EGGS%% + do easy_install -x -m -D "%%PYTHON_SITELIBDIR%%/${f}" + done + ;; + POST-DEINSTALL) + exit 0 + ;; + *) + echo "Unexpected Argument $2!!!" + exit 1 + ;; +esac +exit 0 diff --git a/www/py-turbogears/pkg-descr b/www/py-turbogears/pkg-descr new file mode 100644 index 000000000000..c7be73974ae2 --- /dev/null +++ b/www/py-turbogears/pkg-descr @@ -0,0 +1,13 @@ +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). + +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. + +TurboGears is easy to use for a wide range of web applications. + +Author: Kevin Dangoor et alii +WWW: http://www.turbogears.org/ diff --git a/www/py-turbogears/pkg-plist b/www/py-turbogears/pkg-plist new file mode 100644 index 000000000000..925ff3d9c09a --- /dev/null +++ b/www/py-turbogears/pkg-plist @@ -0,0 +1,74 @@ +@comment $FreeBSD$ +bin/tg-admin +%%PYTHON_SITELIBDIR%%/TurboGears-%%PORTVERSION%%-%%EGGEXT%%/EGG-INFO/PKG-INFO +%%PYTHON_SITELIBDIR%%/TurboGears-%%PORTVERSION%%-%%EGGEXT%%/EGG-INFO/SOURCES.txt +%%PYTHON_SITELIBDIR%%/TurboGears-%%PORTVERSION%%-%%EGGEXT%%/EGG-INFO/entry_points.txt +%%PYTHON_SITELIBDIR%%/TurboGears-%%PORTVERSION%%-%%EGGEXT%%/EGG-INFO/not-zip-safe +%%PYTHON_SITELIBDIR%%/TurboGears-%%PORTVERSION%%-%%EGGEXT%%/EGG-INFO/top_level.txt +%%PYTHON_SITELIBDIR%%/TurboGears-%%PORTVERSION%%-%%EGGEXT%%/turbogears/__init__.py +%%PYTHON_SITELIBDIR%%/TurboGears-%%PORTVERSION%%-%%EGGEXT%%/turbogears/__init__.pyc +%%PYTHON_SITELIBDIR%%/TurboGears-%%PORTVERSION%%-%%EGGEXT%%/turbogears/command/__init__.py +%%PYTHON_SITELIBDIR%%/TurboGears-%%PORTVERSION%%-%%EGGEXT%%/turbogears/command/__init__.pyc +%%PYTHON_SITELIBDIR%%/TurboGears-%%PORTVERSION%%-%%EGGEXT%%/turbogears/command/quickstart.py +%%PYTHON_SITELIBDIR%%/TurboGears-%%PORTVERSION%%-%%EGGEXT%%/turbogears/command/quickstart.pyc +%%PYTHON_SITELIBDIR%%/TurboGears-%%PORTVERSION%%-%%EGGEXT%%/turbogears/controllers.py +%%PYTHON_SITELIBDIR%%/TurboGears-%%PORTVERSION%%-%%EGGEXT%%/turbogears/controllers.pyc +%%PYTHON_SITELIBDIR%%/TurboGears-%%PORTVERSION%%-%%EGGEXT%%/turbogears/database.py +%%PYTHON_SITELIBDIR%%/TurboGears-%%PORTVERSION%%-%%EGGEXT%%/turbogears/database.pyc +%%PYTHON_SITELIBDIR%%/TurboGears-%%PORTVERSION%%-%%EGGEXT%%/turbogears/finddata.py +%%PYTHON_SITELIBDIR%%/TurboGears-%%PORTVERSION%%-%%EGGEXT%%/turbogears/finddata.pyc +%%PYTHON_SITELIBDIR%%/TurboGears-%%PORTVERSION%%-%%EGGEXT%%/turbogears/js/MochiKit.js +%%PYTHON_SITELIBDIR%%/TurboGears-%%PORTVERSION%%-%%EGGEXT%%/turbogears/js/__init__.py +%%PYTHON_SITELIBDIR%%/TurboGears-%%PORTVERSION%%-%%EGGEXT%%/turbogears/js/__init__.pyc +%%PYTHON_SITELIBDIR%%/TurboGears-%%PORTVERSION%%-%%EGGEXT%%/turbogears/quickstart/ProjectName.egg-info/sqlobject.txt +%%PYTHON_SITELIBDIR%%/TurboGears-%%PORTVERSION%%-%%EGGEXT%%/turbogears/quickstart/__init__.py +%%PYTHON_SITELIBDIR%%/TurboGears-%%PORTVERSION%%-%%EGGEXT%%/turbogears/quickstart/__init__.pyc +%%PYTHON_SITELIBDIR%%/TurboGears-%%PORTVERSION%%-%%EGGEXT%%/turbogears/quickstart/dev.cfg.source +%%PYTHON_SITELIBDIR%%/TurboGears-%%PORTVERSION%%-%%EGGEXT%%/turbogears/quickstart/prod.cfg.source +%%PYTHON_SITELIBDIR%%/TurboGears-%%PORTVERSION%%-%%EGGEXT%%/turbogears/quickstart/project-start.py.source +%%PYTHON_SITELIBDIR%%/TurboGears-%%PORTVERSION%%-%%EGGEXT%%/turbogears/quickstart/projectname/__init__.py +%%PYTHON_SITELIBDIR%%/TurboGears-%%PORTVERSION%%-%%EGGEXT%%/turbogears/quickstart/projectname/__init__.pyc +%%PYTHON_SITELIBDIR%%/TurboGears-%%PORTVERSION%%-%%EGGEXT%%/turbogears/quickstart/projectname/controllers.py.source +%%PYTHON_SITELIBDIR%%/TurboGears-%%PORTVERSION%%-%%EGGEXT%%/turbogears/quickstart/projectname/model.py.source +%%PYTHON_SITELIBDIR%%/TurboGears-%%PORTVERSION%%-%%EGGEXT%%/turbogears/quickstart/projectname/sqlobject-history/empty +%%PYTHON_SITELIBDIR%%/TurboGears-%%PORTVERSION%%-%%EGGEXT%%/turbogears/quickstart/projectname/static/css/empty +%%PYTHON_SITELIBDIR%%/TurboGears-%%PORTVERSION%%-%%EGGEXT%%/turbogears/quickstart/projectname/static/images/empty +%%PYTHON_SITELIBDIR%%/TurboGears-%%PORTVERSION%%-%%EGGEXT%%/turbogears/quickstart/projectname/static/javascript/empty +%%PYTHON_SITELIBDIR%%/TurboGears-%%PORTVERSION%%-%%EGGEXT%%/turbogears/quickstart/projectname/templates/__init__.py +%%PYTHON_SITELIBDIR%%/TurboGears-%%PORTVERSION%%-%%EGGEXT%%/turbogears/quickstart/projectname/templates/__init__.pyc +%%PYTHON_SITELIBDIR%%/TurboGears-%%PORTVERSION%%-%%EGGEXT%%/turbogears/quickstart/projectname/templates/master.kid +%%PYTHON_SITELIBDIR%%/TurboGears-%%PORTVERSION%%-%%EGGEXT%%/turbogears/quickstart/projectname/templates/welcome.kid +%%PYTHON_SITELIBDIR%%/TurboGears-%%PORTVERSION%%-%%EGGEXT%%/turbogears/quickstart/setup.py.source +%%PYTHON_SITELIBDIR%%/TurboGears-%%PORTVERSION%%-%%EGGEXT%%/turbogears/startup.py +%%PYTHON_SITELIBDIR%%/TurboGears-%%PORTVERSION%%-%%EGGEXT%%/turbogears/startup.pyc +%%PYTHON_SITELIBDIR%%/TurboGears-%%PORTVERSION%%-%%EGGEXT%%/turbogears/tests/__init__.py +%%PYTHON_SITELIBDIR%%/TurboGears-%%PORTVERSION%%-%%EGGEXT%%/turbogears/tests/__init__.pyc +%%PYTHON_SITELIBDIR%%/TurboGears-%%PORTVERSION%%-%%EGGEXT%%/turbogears/tests/othertemplate.kid +%%PYTHON_SITELIBDIR%%/TurboGears-%%PORTVERSION%%-%%EGGEXT%%/turbogears/tests/simple.kid +%%PYTHON_SITELIBDIR%%/TurboGears-%%PORTVERSION%%-%%EGGEXT%%/turbogears/tests/test_controllers.py +%%PYTHON_SITELIBDIR%%/TurboGears-%%PORTVERSION%%-%%EGGEXT%%/turbogears/tests/test_controllers.pyc +%%PYTHON_SITELIBDIR%%/TurboGears-%%PORTVERSION%%-%%EGGEXT%%/turbogears/tests/test_validators.py +%%PYTHON_SITELIBDIR%%/TurboGears-%%PORTVERSION%%-%%EGGEXT%%/turbogears/tests/test_validators.pyc +%%PYTHON_SITELIBDIR%%/TurboGears-%%PORTVERSION%%-%%EGGEXT%%/turbogears/tests/test_view.py +%%PYTHON_SITELIBDIR%%/TurboGears-%%PORTVERSION%%-%%EGGEXT%%/turbogears/tests/test_view.pyc +%%PYTHON_SITELIBDIR%%/TurboGears-%%PORTVERSION%%-%%EGGEXT%%/turbogears/tests/util.py +%%PYTHON_SITELIBDIR%%/TurboGears-%%PORTVERSION%%-%%EGGEXT%%/turbogears/tests/util.pyc +%%PYTHON_SITELIBDIR%%/TurboGears-%%PORTVERSION%%-%%EGGEXT%%/turbogears/validators.py +%%PYTHON_SITELIBDIR%%/TurboGears-%%PORTVERSION%%-%%EGGEXT%%/turbogears/validators.pyc +%%PYTHON_SITELIBDIR%%/TurboGears-%%PORTVERSION%%-%%EGGEXT%%/turbogears/view.py +%%PYTHON_SITELIBDIR%%/TurboGears-%%PORTVERSION%%-%%EGGEXT%%/turbogears/view.pyc +@dirrm %%PYTHON_SITELIBDIR%%/TurboGears-%%PORTVERSION%%-%%EGGEXT%%/EGG-INFO +@dirrm %%PYTHON_SITELIBDIR%%/TurboGears-%%PORTVERSION%%-%%EGGEXT%%/turbogears/command +@dirrm %%PYTHON_SITELIBDIR%%/TurboGears-%%PORTVERSION%%-%%EGGEXT%%/turbogears/js +@dirrm %%PYTHON_SITELIBDIR%%/TurboGears-%%PORTVERSION%%-%%EGGEXT%%/turbogears/quickstart/ProjectName.egg-info +@dirrm %%PYTHON_SITELIBDIR%%/TurboGears-%%PORTVERSION%%-%%EGGEXT%%/turbogears/quickstart/projectname/sqlobject-history +@dirrm %%PYTHON_SITELIBDIR%%/TurboGears-%%PORTVERSION%%-%%EGGEXT%%/turbogears/quickstart/projectname/static/css +@dirrm %%PYTHON_SITELIBDIR%%/TurboGears-%%PORTVERSION%%-%%EGGEXT%%/turbogears/quickstart/projectname/static/images +@dirrm %%PYTHON_SITELIBDIR%%/TurboGears-%%PORTVERSION%%-%%EGGEXT%%/turbogears/quickstart/projectname/static/javascript +@dirrm %%PYTHON_SITELIBDIR%%/TurboGears-%%PORTVERSION%%-%%EGGEXT%%/turbogears/quickstart/projectname/static +@dirrm %%PYTHON_SITELIBDIR%%/TurboGears-%%PORTVERSION%%-%%EGGEXT%%/turbogears/quickstart/projectname/templates +@dirrm %%PYTHON_SITELIBDIR%%/TurboGears-%%PORTVERSION%%-%%EGGEXT%%/turbogears/quickstart/projectname +@dirrm %%PYTHON_SITELIBDIR%%/TurboGears-%%PORTVERSION%%-%%EGGEXT%%/turbogears/quickstart +@dirrm %%PYTHON_SITELIBDIR%%/TurboGears-%%PORTVERSION%%-%%EGGEXT%%/turbogears/tests +@dirrm %%PYTHON_SITELIBDIR%%/TurboGears-%%PORTVERSION%%-%%EGGEXT%%/turbogears +@dirrm %%PYTHON_SITELIBDIR%%/TurboGears-%%PORTVERSION%%-%%EGGEXT%% |