diff options
author | Martin Wilke <miwi@FreeBSD.org> | 2007-06-25 18:16:10 +0000 |
---|---|---|
committer | Martin Wilke <miwi@FreeBSD.org> | 2007-06-25 18:16:10 +0000 |
commit | 0cf48a6707cb33ee760cdf2efa1610948f63fccb (patch) | |
tree | 3ea3d7f5a7923281d660b930188b156f3b3a97f3 /www | |
parent | 69c355119cef9b013fb5ea3b09ab3689d140f098 (diff) | |
download | ports-0cf48a6707cb33ee760cdf2efa1610948f63fccb.tar.gz ports-0cf48a6707cb33ee760cdf2efa1610948f63fccb.zip |
Notes
Diffstat (limited to 'www')
-rw-r--r-- | www/Makefile | 1 | ||||
-rw-r--r-- | www/py-webhelpers/Makefile | 39 | ||||
-rw-r--r-- | www/py-webhelpers/distinfo | 3 | ||||
-rw-r--r-- | www/py-webhelpers/files/patch-setup.py | 12 | ||||
-rw-r--r-- | www/py-webhelpers/pkg-descr | 9 | ||||
-rw-r--r-- | www/py-webhelpers/pkg-plist | 87 |
6 files changed, 151 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile index a7482c84b46f..4c1216085787 100644 --- a/www/Makefile +++ b/www/Makefile @@ -1041,6 +1041,7 @@ SUBDIR += py-twistedWeb SUBDIR += py-twistedWeb2 SUBDIR += py-urljr + SUBDIR += py-webhelpers SUBDIR += py-webunit SUBDIR += py-webware SUBDIR += py-webware-component diff --git a/www/py-webhelpers/Makefile b/www/py-webhelpers/Makefile new file mode 100644 index 000000000000..b6e1985fb78a --- /dev/null +++ b/www/py-webhelpers/Makefile @@ -0,0 +1,39 @@ +# New ports collection makefile for: py-webhelpers +# Date created: Thu Jun 21 12:44:46 MSD 2007 +# Whom: Denis Shaposhnikov <dsh@vlink.ru> +# +# $FreeBSD$ +# + +PORTNAME= webhelpers +PORTVERSION= 0.3 +CATEGORIES= www python +MASTER_SITES= http://pylonshq.com/download/0.9.5/ +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +DISTNAME= WebHelpers-${PORTVERSION} + +MAINTAINER= dsh@vlink.ru +COMMENT= A Python helper functions for writing templates in web applications easier + +BUILD_DEPENDS= ${EASY_INSTALL_CMD}:${PORTSDIR}/devel/py-setuptools +RUN_DEPENDS= ${EASY_INSTALL_CMD}:${PORTSDIR}/devel/py-setuptools \ + ${PYTHON_PKGNAMEPREFIX}routes>=1.1:${PORTSDIR}/www/py-routes \ + ${PYTHON_PKGNAMEPREFIX}simplejson>=1.4:${PORTSDIR}/devel/py-simplejson + +USE_PYTHON= 2.4+ +USE_PYDISTUTILS= yes + +PYWEBHELPERS_EGG= WebHelpers-${PORTVERSION}-py${PYTHON_VER}.egg + +PLIST_SUB= EASY_INSTALL_CMD=${EASY_INSTALL_CMD} \ + PYWEBHELPERS_EGG=${PYWEBHELPERS_EGG} + +EASY_INSTALL_CMD?= easy_install-${PYTHON_VER} + +post-install: + ${FIND} ${PYTHON_SITELIBDIR}/${PYWEBHELPERS_EGG} \ + -type d -exec ${CHMOD} 755 {} + + ${FIND} ${PYTHON_SITELIBDIR}/${PYWEBHELPERS_EGG} \ + -type f -exec ${CHMOD} ${SHAREMODE} {} + + +.include <bsd.port.mk> diff --git a/www/py-webhelpers/distinfo b/www/py-webhelpers/distinfo new file mode 100644 index 000000000000..7526668caa71 --- /dev/null +++ b/www/py-webhelpers/distinfo @@ -0,0 +1,3 @@ +MD5 (WebHelpers-0.3.tar.gz) = fb7864d1ffd381eb937935df6e95d5e4 +SHA256 (WebHelpers-0.3.tar.gz) = e582ef3468c21898b6d238d9bbe2b83f0a9f27a07827f4a8ec0cb3d2a6988b70 +SIZE (WebHelpers-0.3.tar.gz) = 152537 diff --git a/www/py-webhelpers/files/patch-setup.py b/www/py-webhelpers/files/patch-setup.py new file mode 100644 index 000000000000..c7a4f8d60ba9 --- /dev/null +++ b/www/py-webhelpers/files/patch-setup.py @@ -0,0 +1,12 @@ +--- setup.py.orig Sun Mar 18 23:42:50 2007 ++++ setup.py Sun Jun 24 18:34:05 2007 +@@ -24,9 +24,6 @@ + packages=find_packages(exclude=['ez_setup']), + zip_safe=False, + include_package_data=True, +- install_requires=[ +- "Routes>=1.1", "simplejson>=1.4", +- ], + classifiers=["Development Status :: 4 - Beta", + "Intended Audience :: Developers", + "License :: OSI Approved :: BSD License", diff --git a/www/py-webhelpers/pkg-descr b/www/py-webhelpers/pkg-descr new file mode 100644 index 000000000000..de171974e662 --- /dev/null +++ b/www/py-webhelpers/pkg-descr @@ -0,0 +1,9 @@ +WebHelpers is package aimed at providing helper functions for use +within web applications. + +These functions are intended to ease web development with template +languages by removing common view logic and encapsulating it in +re-usable modules as well as occasionally providing objects for use +within controllers to assist with common web development paradigms. + +WWW: http://pylonshq.com/WebHelpers/ diff --git a/www/py-webhelpers/pkg-plist b/www/py-webhelpers/pkg-plist new file mode 100644 index 000000000000..1055f9b860d5 --- /dev/null +++ b/www/py-webhelpers/pkg-plist @@ -0,0 +1,87 @@ +@unexec %%EASY_INSTALL_CMD%% -N -m -q %D/%%PYTHON_SITELIBDIR%%/%%PYWEBHELPERS_EGG%% +%%PYTHON_SITELIBDIR%%/%%PYWEBHELPERS_EGG%%/EGG-INFO/PKG-INFO +%%PYTHON_SITELIBDIR%%/%%PYWEBHELPERS_EGG%%/EGG-INFO/SOURCES.txt +%%PYTHON_SITELIBDIR%%/%%PYWEBHELPERS_EGG%%/EGG-INFO/dependency_links.txt +%%PYTHON_SITELIBDIR%%/%%PYWEBHELPERS_EGG%%/EGG-INFO/not-zip-safe +%%PYTHON_SITELIBDIR%%/%%PYWEBHELPERS_EGG%%/EGG-INFO/top_level.txt +%%PYTHON_SITELIBDIR%%/%%PYWEBHELPERS_EGG%%/webhelpers/__init__.py +%%PYTHON_SITELIBDIR%%/%%PYWEBHELPERS_EGG%%/webhelpers/__init__.pyc +%%PYTHON_SITELIBDIR%%/%%PYWEBHELPERS_EGG%%/webhelpers/__init__.pyo +%%PYTHON_SITELIBDIR%%/%%PYWEBHELPERS_EGG%%/webhelpers/feedgenerator.py +%%PYTHON_SITELIBDIR%%/%%PYWEBHELPERS_EGG%%/webhelpers/feedgenerator.pyc +%%PYTHON_SITELIBDIR%%/%%PYWEBHELPERS_EGG%%/webhelpers/feedgenerator.pyo +%%PYTHON_SITELIBDIR%%/%%PYWEBHELPERS_EGG%%/webhelpers/hinclude.py +%%PYTHON_SITELIBDIR%%/%%PYWEBHELPERS_EGG%%/webhelpers/hinclude.pyc +%%PYTHON_SITELIBDIR%%/%%PYWEBHELPERS_EGG%%/webhelpers/hinclude.pyo +%%PYTHON_SITELIBDIR%%/%%PYWEBHELPERS_EGG%%/webhelpers/htmlgen.py +%%PYTHON_SITELIBDIR%%/%%PYWEBHELPERS_EGG%%/webhelpers/htmlgen.pyc +%%PYTHON_SITELIBDIR%%/%%PYWEBHELPERS_EGG%%/webhelpers/htmlgen.pyo +%%PYTHON_SITELIBDIR%%/%%PYWEBHELPERS_EGG%%/webhelpers/markdown.py +%%PYTHON_SITELIBDIR%%/%%PYWEBHELPERS_EGG%%/webhelpers/markdown.pyc +%%PYTHON_SITELIBDIR%%/%%PYWEBHELPERS_EGG%%/webhelpers/markdown.pyo +%%PYTHON_SITELIBDIR%%/%%PYWEBHELPERS_EGG%%/webhelpers/pagination/__init__.py +%%PYTHON_SITELIBDIR%%/%%PYWEBHELPERS_EGG%%/webhelpers/pagination/__init__.pyc +%%PYTHON_SITELIBDIR%%/%%PYWEBHELPERS_EGG%%/webhelpers/pagination/__init__.pyo +%%PYTHON_SITELIBDIR%%/%%PYWEBHELPERS_EGG%%/webhelpers/pagination/links.py +%%PYTHON_SITELIBDIR%%/%%PYWEBHELPERS_EGG%%/webhelpers/pagination/links.pyc +%%PYTHON_SITELIBDIR%%/%%PYWEBHELPERS_EGG%%/webhelpers/pagination/links.pyo +%%PYTHON_SITELIBDIR%%/%%PYWEBHELPERS_EGG%%/webhelpers/pagination/orm.py +%%PYTHON_SITELIBDIR%%/%%PYWEBHELPERS_EGG%%/webhelpers/pagination/orm.pyc +%%PYTHON_SITELIBDIR%%/%%PYWEBHELPERS_EGG%%/webhelpers/pagination/orm.pyo +%%PYTHON_SITELIBDIR%%/%%PYWEBHELPERS_EGG%%/webhelpers/rails/__init__.py +%%PYTHON_SITELIBDIR%%/%%PYWEBHELPERS_EGG%%/webhelpers/rails/__init__.pyc +%%PYTHON_SITELIBDIR%%/%%PYWEBHELPERS_EGG%%/webhelpers/rails/__init__.pyo +%%PYTHON_SITELIBDIR%%/%%PYWEBHELPERS_EGG%%/webhelpers/rails/asset_tag.py +%%PYTHON_SITELIBDIR%%/%%PYWEBHELPERS_EGG%%/webhelpers/rails/asset_tag.pyc +%%PYTHON_SITELIBDIR%%/%%PYWEBHELPERS_EGG%%/webhelpers/rails/asset_tag.pyo +%%PYTHON_SITELIBDIR%%/%%PYWEBHELPERS_EGG%%/webhelpers/rails/date.py +%%PYTHON_SITELIBDIR%%/%%PYWEBHELPERS_EGG%%/webhelpers/rails/date.pyc +%%PYTHON_SITELIBDIR%%/%%PYWEBHELPERS_EGG%%/webhelpers/rails/date.pyo +%%PYTHON_SITELIBDIR%%/%%PYWEBHELPERS_EGG%%/webhelpers/rails/form_options.py +%%PYTHON_SITELIBDIR%%/%%PYWEBHELPERS_EGG%%/webhelpers/rails/form_options.pyc +%%PYTHON_SITELIBDIR%%/%%PYWEBHELPERS_EGG%%/webhelpers/rails/form_options.pyo +%%PYTHON_SITELIBDIR%%/%%PYWEBHELPERS_EGG%%/webhelpers/rails/form_tag.py +%%PYTHON_SITELIBDIR%%/%%PYWEBHELPERS_EGG%%/webhelpers/rails/form_tag.pyc +%%PYTHON_SITELIBDIR%%/%%PYWEBHELPERS_EGG%%/webhelpers/rails/form_tag.pyo +%%PYTHON_SITELIBDIR%%/%%PYWEBHELPERS_EGG%%/webhelpers/rails/javascript.py +%%PYTHON_SITELIBDIR%%/%%PYWEBHELPERS_EGG%%/webhelpers/rails/javascript.pyc +%%PYTHON_SITELIBDIR%%/%%PYWEBHELPERS_EGG%%/webhelpers/rails/javascript.pyo +%%PYTHON_SITELIBDIR%%/%%PYWEBHELPERS_EGG%%/webhelpers/rails/javascripts/builder.js +%%PYTHON_SITELIBDIR%%/%%PYWEBHELPERS_EGG%%/webhelpers/rails/javascripts/controls.js +%%PYTHON_SITELIBDIR%%/%%PYWEBHELPERS_EGG%%/webhelpers/rails/javascripts/dragdrop.js +%%PYTHON_SITELIBDIR%%/%%PYWEBHELPERS_EGG%%/webhelpers/rails/javascripts/effects.js +%%PYTHON_SITELIBDIR%%/%%PYWEBHELPERS_EGG%%/webhelpers/rails/javascripts/prototype.js +%%PYTHON_SITELIBDIR%%/%%PYWEBHELPERS_EGG%%/webhelpers/rails/javascripts/scriptaculous.js +%%PYTHON_SITELIBDIR%%/%%PYWEBHELPERS_EGG%%/webhelpers/rails/javascripts/slider.js +%%PYTHON_SITELIBDIR%%/%%PYWEBHELPERS_EGG%%/webhelpers/rails/javascripts/unittest.js +%%PYTHON_SITELIBDIR%%/%%PYWEBHELPERS_EGG%%/webhelpers/rails/number.py +%%PYTHON_SITELIBDIR%%/%%PYWEBHELPERS_EGG%%/webhelpers/rails/number.pyc +%%PYTHON_SITELIBDIR%%/%%PYWEBHELPERS_EGG%%/webhelpers/rails/number.pyo +%%PYTHON_SITELIBDIR%%/%%PYWEBHELPERS_EGG%%/webhelpers/rails/prototype.py +%%PYTHON_SITELIBDIR%%/%%PYWEBHELPERS_EGG%%/webhelpers/rails/prototype.pyc +%%PYTHON_SITELIBDIR%%/%%PYWEBHELPERS_EGG%%/webhelpers/rails/prototype.pyo +%%PYTHON_SITELIBDIR%%/%%PYWEBHELPERS_EGG%%/webhelpers/rails/scriptaculous.py +%%PYTHON_SITELIBDIR%%/%%PYWEBHELPERS_EGG%%/webhelpers/rails/scriptaculous.pyc +%%PYTHON_SITELIBDIR%%/%%PYWEBHELPERS_EGG%%/webhelpers/rails/scriptaculous.pyo +%%PYTHON_SITELIBDIR%%/%%PYWEBHELPERS_EGG%%/webhelpers/rails/tags.py +%%PYTHON_SITELIBDIR%%/%%PYWEBHELPERS_EGG%%/webhelpers/rails/tags.pyc +%%PYTHON_SITELIBDIR%%/%%PYWEBHELPERS_EGG%%/webhelpers/rails/tags.pyo +%%PYTHON_SITELIBDIR%%/%%PYWEBHELPERS_EGG%%/webhelpers/rails/text.py +%%PYTHON_SITELIBDIR%%/%%PYWEBHELPERS_EGG%%/webhelpers/rails/text.pyc +%%PYTHON_SITELIBDIR%%/%%PYWEBHELPERS_EGG%%/webhelpers/rails/text.pyo +%%PYTHON_SITELIBDIR%%/%%PYWEBHELPERS_EGG%%/webhelpers/rails/urls.py +%%PYTHON_SITELIBDIR%%/%%PYWEBHELPERS_EGG%%/webhelpers/rails/urls.pyc +%%PYTHON_SITELIBDIR%%/%%PYWEBHELPERS_EGG%%/webhelpers/rails/urls.pyo +%%PYTHON_SITELIBDIR%%/%%PYWEBHELPERS_EGG%%/webhelpers/textile.py +%%PYTHON_SITELIBDIR%%/%%PYWEBHELPERS_EGG%%/webhelpers/textile.pyc +%%PYTHON_SITELIBDIR%%/%%PYWEBHELPERS_EGG%%/webhelpers/textile.pyo +%%PYTHON_SITELIBDIR%%/%%PYWEBHELPERS_EGG%%/webhelpers/util.py +%%PYTHON_SITELIBDIR%%/%%PYWEBHELPERS_EGG%%/webhelpers/util.pyc +%%PYTHON_SITELIBDIR%%/%%PYWEBHELPERS_EGG%%/webhelpers/util.pyo +@dirrm %%PYTHON_SITELIBDIR%%/%%PYWEBHELPERS_EGG%%/webhelpers/pagination +@dirrm %%PYTHON_SITELIBDIR%%/%%PYWEBHELPERS_EGG%%/webhelpers/rails/javascripts +@dirrm %%PYTHON_SITELIBDIR%%/%%PYWEBHELPERS_EGG%%/webhelpers/rails +@dirrm %%PYTHON_SITELIBDIR%%/%%PYWEBHELPERS_EGG%%/webhelpers +@dirrm %%PYTHON_SITELIBDIR%%/%%PYWEBHELPERS_EGG%%/EGG-INFO +@dirrm %%PYTHON_SITELIBDIR%%/%%PYWEBHELPERS_EGG%% +@exec %%EASY_INSTALL_CMD%% -N -q %D/%%PYTHON_SITELIBDIR%%/%%PYWEBHELPERS_EGG%% |