/[gentoo-x86]/dev-python/routes/routes-1.13.ebuild
Gentoo

Contents of /dev-python/routes/routes-1.13.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Mon May 21 16:46:17 2012 UTC (3 years, 2 months ago) by mr_bones_
Branch: MAIN
Changes since 1.1: +2 -2 lines
whitespace

(Portage version: 2.1.10.49/cvs/Linux x86_64)

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/routes/routes-1.13.ebuild,v 1.1 2012/05/21 08:03:54 patrick Exp $
4
5 EAPI="3"
6 PYTHON_DEPEND="2"
7 SUPPORT_PYTHON_ABIS="1"
8 DISTUTILS_SRC_TEST="nosetests"
9 RESTRICT_PYTHON_ABIS="3.*"
10
11 inherit distutils
12
13 MY_PN="Routes"
14 MY_P="${MY_PN}-${PV}"
15
16 DESCRIPTION="A Python re-implementation of the Rails routes system for mapping URL's to Controllers/Actions."
17 HOMEPAGE="http://routes.groovie.org http://pypi.python.org/pypi/Routes"
18 SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
19
20 LICENSE="BSD"
21 SLOT="0"
22 KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
23 IUSE="doc test"
24
25 DEPEND="dev-python/setuptools
26 dev-python/webob
27 dev-python/repoze-lru
28 test? ( dev-python/coverage
29 dev-python/webtest )"
30 RDEPEND=""
31
32 S="${WORKDIR}/${MY_P}"
33
34 src_install() {
35 distutils_src_install
36
37 if use doc; then
38 cd docs/_build/html
39 docinto html
40 cp -R [a-z]* _images _static "${ED}usr/share/doc/${PF}/html" || die "Installation of documentation failed"
41 fi
42 }

  ViewVC Help
Powered by ViewVC 1.1.20