mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-17 08:01:36 +00:00
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. PR: ports/89160 Submitted by: Choe Cheng-Dae <whitekid@gmail.com>
This commit is contained in:
parent
b6b44807d2
commit
bf3441c266
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=148633
@ -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
|
||||
|
35
www/py-formencode/Makefile
Normal file
35
www/py-formencode/Makefile
Normal file
@ -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>
|
3
www/py-formencode/distinfo
Normal file
3
www/py-formencode/distinfo
Normal file
@ -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
|
16
www/py-formencode/files/patch-setup.py
Normal file
16
www/py-formencode/files/patch-setup.py
Normal file
@ -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",
|
6
www/py-formencode/pkg-descr
Normal file
6
www/py-formencode/pkg-descr
Normal file
@ -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/
|
79
www/py-formencode/pkg-plist
Normal file
79
www/py-formencode/pkg-plist
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user