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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Sat Jun 5 20:08:09 2010 UTC (4 years, 1 month ago) by arfrever
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
Delete older ebuild.

1 # Copyright 1999-2009 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.10.3.ebuild,v 1.1 2009/04/26 09:49:27 patrick 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"
20
21 DEPEND="doc? ( dev-python/buildutils dev-python/pudge )
22 dev-python/setuptools"
23 RDEPEND=""
24
25 S="${WORKDIR}/${MY_P}"
26
27 src_compile() {
28 distutils_src_compile
29 if use doc ; then
30 PYTHONPATH=. "${python}" setup.py pudge || die "generating docs failed"
31 fi
32 }
33
34 src_install() {
35 distutils_src_install
36 use doc && dohtml -r docs/html/*
37 }

  ViewVC Help
Powered by ViewVC 1.1.20