diff options
author | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2010-04-28 20:24:24 +0000 |
---|---|---|
committer | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2010-04-28 20:24:24 +0000 |
commit | 1c1df50386dce8d229a8f4f228fa3fca6dab3445 (patch) | |
tree | ed0f38b78d8fea85b8b6957a0e6c4020ea5a3e25 /dev-python/wtforms | |
parent | whitespace (diff) | |
download | gentoo-2-1c1df50386dce8d229a8f4f228fa3fca6dab3445.tar.gz gentoo-2-1c1df50386dce8d229a8f4f228fa3fca6dab3445.tar.bz2 gentoo-2-1c1df50386dce8d229a8f4f228fa3fca6dab3445.zip |
Version bump.
(Portage version: HEAD/cvs/Linux x86_64)
Diffstat (limited to 'dev-python/wtforms')
-rw-r--r-- | dev-python/wtforms/ChangeLog | 8 | ||||
-rw-r--r-- | dev-python/wtforms/wtforms-0.6.ebuild | 55 |
2 files changed, 62 insertions, 1 deletions
diff --git a/dev-python/wtforms/ChangeLog b/dev-python/wtforms/ChangeLog index 2c8ca4dd6090..418329defd0f 100644 --- a/dev-python/wtforms/ChangeLog +++ b/dev-python/wtforms/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-python/wtforms # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/wtforms/ChangeLog,v 1.3 2010/02/21 12:48:28 patrick Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/wtforms/ChangeLog,v 1.4 2010/04/28 20:24:24 arfrever Exp $ + +*wtforms-0.6 (28 Apr 2010) + + 28 Apr 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + +wtforms-0.6.ebuild: + Version bump. *wtforms-0.5 (21 Feb 2010) diff --git a/dev-python/wtforms/wtforms-0.6.ebuild b/dev-python/wtforms/wtforms-0.6.ebuild new file mode 100644 index 000000000000..868237e5f49b --- /dev/null +++ b/dev-python/wtforms/wtforms-0.6.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/wtforms/wtforms-0.6.ebuild,v 1.1 2010/04/28 20:24:24 arfrever Exp $ + +EAPI="3" +PYTHON_DEPEND="2" +SUPPORT_PYTHON_ABIS="1" + +inherit distutils + +MY_PN="WTForms" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="Flexible forms validation and rendering library for python web development" +HOMEPAGE="http://wtforms.simplecodes.com/ http://pypi.python.org/pypi/WTForms" +SRC_URI="http://pypi.python.org/packages/source/W/${MY_PN}/${MY_P}.zip" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc" + +S="${WORKDIR}/${MY_P}" + +DEPEND="doc? ( >=dev-python/sphinx-0.6 )" +RDEPEND="" +RESTRICT_PYTHON_ABIS="3.*" + +DOCS="AUTHORS.txt CHANGES.txt INSTALL.txt LICENSE.txt README.txt" + +src_compile() { + distutils_src_compile + + if use doc; then + cd docs + einfo "Generation of documentation" + PYTHONPATH=".." emake html || die "Building of documentation failed" + fi +} + +src_test() { + cd tests + testing() { + "$(PYTHON)" runtests.py + } + python_execute_function testing +} + +src_install() { + distutils_src_install + + if use doc; then + dohtml -r docs/_build/html/* || die "Installation of documentation failed" + fi +} |