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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Fri Sep 4 17:37:15 2009 UTC (4 years, 11 months ago) by patrick
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +1 -1 lines
FILE REMOVED
Remove old
(Portage version: 2.2_rc40/cvs/Linux x86_64)

1 # Copyright 1999-2007 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.6.3.ebuild,v 1.2 2007/07/04 20:21:18 lucass Exp $
4
5 NEED_PYTHON=2.4
6
7 inherit distutils
8
9 KEYWORDS="~amd64 ~x86"
10
11 MY_PN=Routes
12 MY_P=${MY_PN}-${PV}
13
14 DESCRIPTION="A Python re-implementation of the Rails routes system for mapping URL's to Controllers/Actions."
15 HOMEPAGE="http://routes.groovie.org"
16 SRC_URI="http://cheeseshop.python.org/packages/source/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
17 LICENSE="BSD"
18 SLOT="0"
19 IUSE="doc test"
20
21 DEPEND="doc? ( dev-python/buildutils dev-python/pudge )
22 test? ( dev-python/nose )
23 dev-python/setuptools"
24 RDEPEND=""
25
26 S="${WORKDIR}/${MY_P}"
27
28 src_compile() {
29 distutils_src_compile
30 if use doc ; then
31 einfo "Generating docs as requested..."
32 PYTHONPATH=. "${python}" setup.py pudge || die "generating docs failed"
33 fi
34 }
35
36 src_install() {
37 distutils_src_install
38 use doc && dohtml -r docs/html/*
39 }
40
41 src_test() {
42 PYTHONPATH=. "${python}" setup.py test || die "test failed"
43 }

  ViewVC Help
Powered by ViewVC 1.1.20