diff options
author | Pav Lucistnik <pav@FreeBSD.org> | 2005-11-17 17:19:19 +0000 |
---|---|---|
committer | Pav Lucistnik <pav@FreeBSD.org> | 2005-11-17 17:19:19 +0000 |
commit | bf3441c2667ee3e9f5991cc4956c21f96610841b (patch) | |
tree | 42a0f6d68ee916c96249b865c6c3d0ed2f5c09fb /www | |
parent | b6b44807d2ab0aef92ea23f65465a70735596adb (diff) | |
download | ports-bf3441c2667ee3e9f5991cc4956c21f96610841b.tar.gz ports-bf3441c2667ee3e9f5991cc4956c21f96610841b.zip |
Notes
Diffstat (limited to 'www')
-rw-r--r-- | www/Makefile | 1 | ||||
-rw-r--r-- | www/py-formencode/Makefile | 35 | ||||
-rw-r--r-- | www/py-formencode/distinfo | 3 | ||||
-rw-r--r-- | www/py-formencode/files/patch-setup.py | 16 | ||||
-rw-r--r-- | www/py-formencode/pkg-descr | 6 | ||||
-rw-r--r-- | www/py-formencode/pkg-plist | 79 |
6 files changed, 140 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile index ad45b498cbe8..724b840d4469 100644 --- a/www/Makefile +++ b/www/Makefile @@ -722,6 +722,7 @@ SUBDIR += py-cssutils SUBDIR += py-fcgi SUBDIR += py-forgethtml + SUBDIR += py-formencode SUBDIR += py-htmltestcase SUBDIR += py-imdbpy SUBDIR += py-jonpy diff --git a/www/py-formencode/Makefile b/www/py-formencode/Makefile new file mode 100644 index 000000000000..145a86189c99 --- /dev/null +++ b/www/py-formencode/Makefile @@ -0,0 +1,35 @@ +# New ports collection makefile for: py-formencode +# Date created: 2005-11-16 +# Whom: Choe, Cheng-Dae +# +# $FreeBSD$ +# + +PORTNAME= formencode +PORTVERSION= 0.3 +CATEGORIES= www python +MASTER_SITES= http://cheeseshop.python.org/packages/source/F/FormEncode/ +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +DISTNAME= FormEncode-${PORTVERSION} + +MAINTAINER= whitekid@gmail.com +COMMENT= HTML form validation, generation, and conversion package + +USE_PYTHON= yes +USE_PYDISTUTILS=yes + +DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME} +EXAMPLESSDIR= ${PREFIX}/share/examples/py-${PORTNAME} + +PORTDOCS= * + +post-install: +.if !defined(NOPORTDOCS) + ${MKDIR} ${DOCSDIR} + ${CP} ${WRKSRC}/docs/* ${DOCSDIR} + + ${MKDIR} ${EXAMPLESDIR} + ${CP} -R ${WRKSRC}/examples/* ${EXAMPLESDIR} +.endif + +.include <bsd.port.mk> diff --git a/www/py-formencode/distinfo b/www/py-formencode/distinfo new file mode 100644 index 000000000000..43ddbdfa0a1a --- /dev/null +++ b/www/py-formencode/distinfo @@ -0,0 +1,3 @@ +MD5 (FormEncode-0.3.tar.gz) = 57afa5aad26bf3acb8b00e4babfe8297 +SHA256 (FormEncode-0.3.tar.gz) = 81742a9a9f9e4d19b48320b600674a462997b0d9f9ea4f4f42f5f945fc62e455 +SIZE (FormEncode-0.3.tar.gz) = 94346 diff --git a/www/py-formencode/files/patch-setup.py b/www/py-formencode/files/patch-setup.py new file mode 100644 index 000000000000..015f09e69f62 --- /dev/null +++ b/www/py-formencode/files/patch-setup.py @@ -0,0 +1,16 @@ + +$FreeBSD$ + +--- setup.py.orig ++++ setup.py +@@ -1,6 +1,7 @@ +-from ez_setup import use_setuptools +-use_setuptools() +-from setuptools import setup ++#from ez_setup import use_setuptools ++#use_setuptools() ++#from setuptools import setup ++from distutils.core import setup + + setup(name="FormEncode", + version="0.3", diff --git a/www/py-formencode/pkg-descr b/www/py-formencode/pkg-descr new file mode 100644 index 000000000000..3d5ca2650230 --- /dev/null +++ b/www/py-formencode/pkg-descr @@ -0,0 +1,6 @@ +FormEncode is a validation and form generation package. The validation can be +used separately from the form generation. The validation works on compound data +structures, with all parts being nestable. It is separate from HTTP or any +other input mechanism. + +WWW: http://www.formencode.org/ diff --git a/www/py-formencode/pkg-plist b/www/py-formencode/pkg-plist new file mode 100644 index 000000000000..a9a05dcaead6 --- /dev/null +++ b/www/py-formencode/pkg-plist @@ -0,0 +1,79 @@ +@comment $FreeBSD$ +%%PYTHON_SITELIBDIR%%/formencode/__init__.py +%%PYTHON_SITELIBDIR%%/formencode/api.py +%%PYTHON_SITELIBDIR%%/formencode/compound.py +%%PYTHON_SITELIBDIR%%/formencode/conftest.py +%%PYTHON_SITELIBDIR%%/formencode/context.py +%%PYTHON_SITELIBDIR%%/formencode/declarative.py +%%PYTHON_SITELIBDIR%%/formencode/doctest_xml_compare.py +%%PYTHON_SITELIBDIR%%/formencode/fields.py +%%PYTHON_SITELIBDIR%%/formencode/fieldstorage.py +%%PYTHON_SITELIBDIR%%/formencode/foreach.py +%%PYTHON_SITELIBDIR%%/formencode/formgen.py +%%PYTHON_SITELIBDIR%%/formencode/htmlfill.py +%%PYTHON_SITELIBDIR%%/formencode/htmlfill_schemabuilder.py +%%PYTHON_SITELIBDIR%%/formencode/htmlform.py +%%PYTHON_SITELIBDIR%%/formencode/htmlgen.py +%%PYTHON_SITELIBDIR%%/formencode/interfaces.py +%%PYTHON_SITELIBDIR%%/formencode/schema.py +%%PYTHON_SITELIBDIR%%/formencode/sqlformgen.py +%%PYTHON_SITELIBDIR%%/formencode/validators.py +%%PYTHON_SITELIBDIR%%/formencode/variabledecode.py +%%PYTHON_SITELIBDIR%%/formencode/util/__init__.py +%%PYTHON_SITELIBDIR%%/formencode/util/doctest24.py +%%PYTHON_SITELIBDIR%%/formencode/util/threadinglocal.py +%%PYTHON_SITELIBDIR%%/formencode/util/__init__.pyc +%%PYTHON_SITELIBDIR%%/formencode/util/doctest24.pyc +%%PYTHON_SITELIBDIR%%/formencode/util/threadinglocal.pyc +%%PYTHON_SITELIBDIR%%/formencode/util/__init__.pyo +%%PYTHON_SITELIBDIR%%/formencode/util/doctest24.pyo +%%PYTHON_SITELIBDIR%%/formencode/util/threadinglocal.pyo +%%PYTHON_SITELIBDIR%%/formencode/javascript/ordering.js +%%PYTHON_SITELIBDIR%%/formencode/__init__.pyc +%%PYTHON_SITELIBDIR%%/formencode/api.pyc +%%PYTHON_SITELIBDIR%%/formencode/compound.pyc +%%PYTHON_SITELIBDIR%%/formencode/conftest.pyc +%%PYTHON_SITELIBDIR%%/formencode/context.pyc +%%PYTHON_SITELIBDIR%%/formencode/declarative.pyc +%%PYTHON_SITELIBDIR%%/formencode/doctest_xml_compare.pyc +%%PYTHON_SITELIBDIR%%/formencode/fields.pyc +%%PYTHON_SITELIBDIR%%/formencode/fieldstorage.pyc +%%PYTHON_SITELIBDIR%%/formencode/foreach.pyc +%%PYTHON_SITELIBDIR%%/formencode/formgen.pyc +%%PYTHON_SITELIBDIR%%/formencode/htmlfill.pyc +%%PYTHON_SITELIBDIR%%/formencode/htmlfill_schemabuilder.pyc +%%PYTHON_SITELIBDIR%%/formencode/htmlform.pyc +%%PYTHON_SITELIBDIR%%/formencode/htmlgen.pyc +%%PYTHON_SITELIBDIR%%/formencode/interfaces.pyc +%%PYTHON_SITELIBDIR%%/formencode/schema.pyc +%%PYTHON_SITELIBDIR%%/formencode/sqlformgen.pyc +%%PYTHON_SITELIBDIR%%/formencode/validators.pyc +%%PYTHON_SITELIBDIR%%/formencode/variabledecode.pyc +%%PYTHON_SITELIBDIR%%/formencode/__init__.pyo +%%PYTHON_SITELIBDIR%%/formencode/api.pyo +%%PYTHON_SITELIBDIR%%/formencode/compound.pyo +%%PYTHON_SITELIBDIR%%/formencode/conftest.pyo +%%PYTHON_SITELIBDIR%%/formencode/context.pyo +%%PYTHON_SITELIBDIR%%/formencode/declarative.pyo +%%PYTHON_SITELIBDIR%%/formencode/doctest_xml_compare.pyo +%%PYTHON_SITELIBDIR%%/formencode/fields.pyo +%%PYTHON_SITELIBDIR%%/formencode/fieldstorage.pyo +%%PYTHON_SITELIBDIR%%/formencode/foreach.pyo +%%PYTHON_SITELIBDIR%%/formencode/formgen.pyo +%%PYTHON_SITELIBDIR%%/formencode/htmlfill.pyo +%%PYTHON_SITELIBDIR%%/formencode/htmlfill_schemabuilder.pyo +%%PYTHON_SITELIBDIR%%/formencode/htmlform.pyo +%%PYTHON_SITELIBDIR%%/formencode/htmlgen.pyo +%%PYTHON_SITELIBDIR%%/formencode/interfaces.pyo +%%PYTHON_SITELIBDIR%%/formencode/schema.pyo +%%PYTHON_SITELIBDIR%%/formencode/sqlformgen.pyo +%%PYTHON_SITELIBDIR%%/formencode/validators.pyo +%%PYTHON_SITELIBDIR%%/formencode/variabledecode.pyo +%%PORTDOCS%%%%EXAMPLESDIR%%/WebwareExamples/__init__.py +%%PORTDOCS%%%%EXAMPLESDIR%%/WebwareExamples/index.py +%%PORTDOCS%%%%EXAMPLESDIR%%/webware_example.ini +@unexec rmdir %D/%%PORTDOCS%%%%EXAMPLESDIR%%/WebwareExamples 2>/dev/null || true +@unexec rmdir %D/%%PORTDOCS%%%%EXAMPLESDIR%% 2>/dev/null || true +@unexec rmdir %D/%%PYTHON_SITELIBDIR%%/formencode/util 2>/dev/null || true +@unexec rmdir %D/%%PYTHON_SITELIBDIR%%/formencode/javascript 2>/dev/null || true +@unexec rmdir %D/%%PYTHON_SITELIBDIR%%/formencode 2>/dev/null || true |