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/ PR: ports/113969 Submitted by: Denis Shaposhnikov <dsh at vlink.ru>
This commit is contained in:
parent
69c355119c
commit
0cf48a6707
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=194247
@ -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
|
||||
|
39
www/py-webhelpers/Makefile
Normal file
39
www/py-webhelpers/Makefile
Normal file
@ -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>
|
3
www/py-webhelpers/distinfo
Normal file
3
www/py-webhelpers/distinfo
Normal file
@ -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
|
12
www/py-webhelpers/files/patch-setup.py
Normal file
12
www/py-webhelpers/files/patch-setup.py
Normal file
@ -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",
|
9
www/py-webhelpers/pkg-descr
Normal file
9
www/py-webhelpers/pkg-descr
Normal file
@ -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/
|
87
www/py-webhelpers/pkg-plist
Normal file
87
www/py-webhelpers/pkg-plist
Normal file
@ -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%%
|
Loading…
Reference in New Issue
Block a user