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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Mon Mar 25 20:52:07 2013 UTC (15 months, 2 weeks ago) by ago
Branch: MAIN
Changes since 1.3: +2 -2 lines
Stable for x86, wrt bug #456618

(Portage version: 2.1.11.55/cvs/Linux x86_64, 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.2.ebuild,v 1.3 2013/03/25 20:31:56 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 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