--- /dev/null
+# ChangeLog for dev-python/formencode
+# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/formencode/ChangeLog,v 1.1 2005/10/17 20:30:57 pythonhead Exp $
+
+*formencode-0.2.2 (17 Oct 2005)
+
+ 17 Oct 2005; Rob Cakebread <pythonhead@gentoo.org>
+ +files/formencode-0.2.2-setup-gentoo.patch, +metadata.xml,
+ +formencode-0.2.2.ebuild:
+ Initial commit.
+
--- /dev/null
+MD5 c3ec01b8cf3c49134ee76e091ccd4603 formencode-0.2.2.ebuild 879
+MD5 9ac4199ebe7cd3e7e311274994767f82 metadata.xml 160
+MD5 bdfaf1614db429f26bb0cfc03eca060e ChangeLog 413
+MD5 b2bc4df3b59ec5949c4f9563ef49e289 files/formencode-0.2.2-setup-gentoo.patch 405
+MD5 682d58dd2af7c91480246df7bdcb1fda files/digest-formencode-0.2.2 67
--- /dev/null
+MD5 56bb04a6ce9a3dcb187b3db6091ec5d9 FormEncode-0.2.2.tar.gz 84126
--- /dev/null
+--- setup.py.org 2005-10-17 13:00:43.570677240 -0700
++++ setup.py 2005-10-17 13:02:11.089372376 -0700
+@@ -1,6 +1,9 @@
+-from ez_setup import use_setuptools
+-use_setuptools()
+-from setuptools import setup
++try:
++ from ez_setup import use_setuptools
++ use_setuptools()
++ from setuptools import setup
++except:
++ from distutils.core import setup
+
+ setup(name="FormEncode",
+ version="0.2.2",
--- /dev/null
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/formencode/formencode-0.2.2.ebuild,v 1.1 2005/10/17 20:30:57 pythonhead Exp $
+
+inherit distutils eutils
+
+MY_PN="FormEncode"
+DESCRIPTION="formencode is a validation and form generation package"
+HOMEPAGE="http://formencode.org/"
+SRC_URI="http://cheeseshop.python.org/packages/source/F/${MY_PN}/${MY_PN}-${PV}.tar.gz"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc"
+
+DEPEND=">=dev-lang/python-2.3"
+
+S=${WORKDIR}/${MY_PN}-${PV}
+
+src_unpack() {
+ unpack ${A} || die "Failed to unpack ${A}"
+ cd ${S} || die "Failed to cd to ${S}"
+ #We don't want to use setuptools until eggs.eclass is solid
+ rm -rf ez_setup
+ epatch ${FILESDIR}/${P}-setup-gentoo.patch
+}
+
+src_install() {
+ distutils_src_install
+ use doc && dodoc docs/*
+}
+
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>python</herd>
+</pkgmetadata>