diff options
author | Dirkjan Ochtman <djc@gentoo.org> | 2009-10-16 10:02:48 +0000 |
---|---|---|
committer | Dirkjan Ochtman <djc@gentoo.org> | 2009-10-16 10:02:48 +0000 |
commit | b26c0968a1578bad197dfd70d8c1ab0d88fc82a9 (patch) | |
tree | a63a24f60c63ad1f81bcf555e33713fb42113f95 /dev-python/wtforms | |
parent | Fix prev. commit. (diff) | |
download | historical-b26c0968a1578bad197dfd70d8c1ab0d88fc82a9.tar.gz historical-b26c0968a1578bad197dfd70d8c1ab0d88fc82a9.tar.bz2 historical-b26c0968a1578bad197dfd70d8c1ab0d88fc82a9.zip |
Add dev-python/wtforms package, ebuild contributed by Priit Laes.
Package-Manager: portage-2.1.6.13/cvs/Linux x86_64
Diffstat (limited to 'dev-python/wtforms')
-rw-r--r-- | dev-python/wtforms/ChangeLog | 8 | ||||
-rw-r--r-- | dev-python/wtforms/Manifest | 4 | ||||
-rw-r--r-- | dev-python/wtforms/metadata.xml | 9 | ||||
-rw-r--r-- | dev-python/wtforms/wtforms-0.4.ebuild | 48 |
4 files changed, 69 insertions, 0 deletions
diff --git a/dev-python/wtforms/ChangeLog b/dev-python/wtforms/ChangeLog new file mode 100644 index 000000000000..09d362574c7b --- /dev/null +++ b/dev-python/wtforms/ChangeLog @@ -0,0 +1,8 @@ +# ChangeLog for dev-python/wtforms +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/wtforms/ChangeLog,v 1.1 2009/10/16 10:02:48 djc Exp $ + +*wtforms-0.4 (16 Oct 2009) + + 16 Oct 2009; <djc@gentoo.org> +wtforms-0.4.ebuild, +metadata.xml: + Add initial version 0.4, contributed by Priit Laes. diff --git a/dev-python/wtforms/Manifest b/dev-python/wtforms/Manifest new file mode 100644 index 000000000000..17278814c610 --- /dev/null +++ b/dev-python/wtforms/Manifest @@ -0,0 +1,4 @@ +DIST WTForms-0.4.zip 133965 RMD160 fd7093b1ef8c3b0f17d5e3de6298a5624e63f31d SHA1 5193aeefb1a20ee2109600c81398ce77a994e702 SHA256 7133f44fde9a8b5d33f701e61b0ecbc4b7867556e936e8ae280ea34587e480ec +EBUILD wtforms-0.4.ebuild 1125 RMD160 2e233afe750f04d35106dbbbfeb91a5926894fb5 SHA1 d99dceb4d90c8efeb03095aac865cd6a364b37ed SHA256 02ae8bff4ec5aa64a44f78a536b495bab30a96299a62284476f3dfb8ff6c231a +MISC ChangeLog 356 RMD160 5ca12a7f699ff527438d50e13a4d3d3bc000eec8 SHA1 1cd608541661e4175cf31747fc2c3453075bcd36 SHA256 b4b531be8e8a6eef6b4d22e497fa2279d6307b5468f63b1b03f881f2142a9b06 +MISC metadata.xml 259 RMD160 4b781a038008fac445e4154045f964b64ad59e75 SHA1 9809d89f3360f9f7537c2bb480d6bcbe942c6ea0 SHA256 0fb1da675767b69b5bd240d135effe2fc500e8b997a5f4eed212e5b26d027972 diff --git a/dev-python/wtforms/metadata.xml b/dev-python/wtforms/metadata.xml new file mode 100644 index 000000000000..0b4a8d1ce384 --- /dev/null +++ b/dev-python/wtforms/metadata.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>python</herd> + <maintainer> + <email>djc@gentoo.org</email> + <name>Dirkjan Ochtman</name> + </maintainer> +</pkgmetadata> diff --git a/dev-python/wtforms/wtforms-0.4.ebuild b/dev-python/wtforms/wtforms-0.4.ebuild new file mode 100644 index 000000000000..0b679b2a0b1d --- /dev/null +++ b/dev-python/wtforms/wtforms-0.4.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/wtforms/wtforms-0.4.ebuild,v 1.1 2009/10/16 10:02:48 djc Exp $ + +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/" +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 "${S}/docs" + PYTHONPATH=.. emake html || die "Building of documentation failed" + fi +} + +src_install() { + distutils_src_install + if use doc; then + dohtml -r docs/_build/html/* || die "Installation of documentation failed" + fi +} + +src_test() { + distutils_python_version + cd tests + "${python}" runtests.py || die "Tests failed." +} |