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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Mon May 20 08:28:08 2013 UTC (15 months, 1 week ago) by ago
Branch: MAIN
Changes since 1.2: +2 -2 lines
Stable for x86, wrt bug #461168

(Portage version: 2.1.11.63/cvs/Linux x86_64, RepoMan options: --include-arches="x86", signed Manifest commit with key 7194459F)

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

  ViewVC Help
Powered by ViewVC 1.1.20