/[gentoo-x86]/dev-python/wtforms/wtforms-1.0.1.ebuild
Gentoo

Contents of /dev-python/wtforms/wtforms-1.0.1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Mon May 21 09:33:28 2012 UTC (4 years, 2 months ago) by phajdan.jr
Branch: MAIN
Changes since 1.2: +2 -2 lines
x86 stable wrt bug #415853

(Portage version: 2.1.10.49/cvs/Linux i686)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-python/wtforms/wtforms-1.0.1.ebuild,v 1.2 2012/05/14 16:00:21 ago Exp $
4
5 EAPI="3"
6 PYTHON_DEPEND="2"
7 SUPPORT_PYTHON_ABIS="1"
8 RESTRICT_PYTHON_ABIS="3.*"
9 DISTUTILS_SRC_TEST="setup.py"
10
11 inherit distutils
12
13 MY_PN="WTForms"
14 MY_P="${MY_PN}-${PV}"
15
16 DESCRIPTION="Flexible forms validation and rendering library for python web development"
17 HOMEPAGE="http://wtforms.simplecodes.com/ http://pypi.python.org/pypi/WTForms"
18 SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.zip"
19
20 LICENSE="BSD"
21 SLOT="0"
22 KEYWORDS="amd64 x86"
23 IUSE="doc"
24
25 S="${WORKDIR}/${MY_P}"
26
27 DEPEND="app-arch/unzip
28 doc? ( >=dev-python/sphinx-0.6 )"
29 RDEPEND=""
30
31 DOCS="AUTHORS.txt CHANGES.txt README.txt"
32
33 src_compile() {
34 distutils_src_compile
35
36 if use doc; then
37 einfo "Generation of documentation"
38 cd docs
39 PYTHONPATH=".." emake html || die "Building of documentation failed"
40 fi
41 }
42
43 src_install() {
44 distutils_src_install
45
46 if use doc; then
47 dohtml -r docs/_build/html/* || die "Installation of documentation failed"
48 fi
49 }

  ViewVC Help
Powered by ViewVC 1.1.20