--- /dev/null
+--- python-formencode-0.4.orig/setup.py
++++ python-formencode-0.4/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
+
+ version = '0.4'
+
--- /dev/null
+DESCRIPTION = "HTML form validation, generation, and conversion package"
+SECTION = "devel/python"
+PRIORITY = "optional"
+LICENSE = "LGPL"
+DEPENDS = "sqlite3"
+SRCNAME = "FormEncode"
+
+inherit distutils
+
+SRC_URI = "http://cheeseshop.python.org/packages/source/F/FormEncode/FormEncode-${PV}.tar.gz \
+file://setup.py.diff;patch=1"
+
+S = "${WORKDIR}/${SRCNAME}-${PV}"