diff options
Diffstat (limited to 'dev-python/formencode')
-rw-r--r-- | dev-python/formencode/ChangeLog | 8 | ||||
-rw-r--r-- | dev-python/formencode/files/digest-formencode-0.6 | 3 | ||||
-rw-r--r-- | dev-python/formencode/files/formencode-0.6-setup-gentoo.patch | 15 | ||||
-rw-r--r-- | dev-python/formencode/formencode-0.6.ebuild | 43 |
4 files changed, 68 insertions, 1 deletions
diff --git a/dev-python/formencode/ChangeLog b/dev-python/formencode/ChangeLog index 0affa068375c..b9364185c62b 100644 --- a/dev-python/formencode/ChangeLog +++ b/dev-python/formencode/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-python/formencode # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/formencode/ChangeLog,v 1.6 2006/05/08 00:41:51 weeve Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/formencode/ChangeLog,v 1.7 2006/11/27 23:34:22 kloeri Exp $ + +*formencode-0.6 (27 Nov 2006) + + 27 Nov 2006; Bryan Østergaard <kloeri@gentoo.org> + +files/formencode-0.6-setup-gentoo.patch, +formencode-0.6.ebuild: + Version bump, bug 155398. 08 May 2006; Jason Wever <weeve@gentoo.org> formencode-0.4.ebuild: Added ~sparc keyword. diff --git a/dev-python/formencode/files/digest-formencode-0.6 b/dev-python/formencode/files/digest-formencode-0.6 new file mode 100644 index 000000000000..f0732e5838e1 --- /dev/null +++ b/dev-python/formencode/files/digest-formencode-0.6 @@ -0,0 +1,3 @@ +MD5 8504d515a8e25f1bba6842224b7494ae FormEncode-0.6.tar.gz 108841 +RMD160 e282d9a0e9ca873c1bb06736fb5d3d9e769dd6a4 FormEncode-0.6.tar.gz 108841 +SHA256 6d27e15466fb5e8a2760ea47f6c6b8d8ba4190d4016fac6973adb20641f1b0ce FormEncode-0.6.tar.gz 108841 diff --git a/dev-python/formencode/files/formencode-0.6-setup-gentoo.patch b/dev-python/formencode/files/formencode-0.6-setup-gentoo.patch new file mode 100644 index 000000000000..20e5d087854f --- /dev/null +++ b/dev-python/formencode/files/formencode-0.6-setup-gentoo.patch @@ -0,0 +1,15 @@ +--- 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", diff --git a/dev-python/formencode/formencode-0.6.ebuild b/dev-python/formencode/formencode-0.6.ebuild new file mode 100644 index 000000000000..cefe4d261a35 --- /dev/null +++ b/dev-python/formencode/formencode-0.6.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/formencode/formencode-0.6.ebuild,v 1.1 2006/11/27 23:34:22 kloeri Exp $ + +# TODO: Add pudge support via "doc" flag +# currently broken with 0.6 release + +inherit distutils + +MY_PN="FormEncode" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="HTML form validation, generation, and conversion package" +HOMEPAGE="http://formencode.org" +SRC_URI="http://cheeseshop.python.org/packages/source/${MY_P:0:1}/${MY_PN}/${MY_P}.tar.gz" + +LICENSE="PSF-2.4" +SLOT="0" +KEYWORDS="~amd64 ~ia64 ~ppc ~sparc ~x86" +IUSE="" + +RDEPEND=">=dev-lang/python-2.3" +#DEPEND=">=dev-python/setuptools-0.6_rc3" + +PYTHON_MODNAME=$MY_PN +S="${WORKDIR}/${MY_P}" + +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 + + insinto /usr/share/doc/${PF} + doins -r examples +} + +# src_test: requires py.test from py lib |