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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Fri Sep 4 17:37:15 2009 UTC (5 years, 3 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-2008 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.8.ebuild,v 1.2 2008/05/02 16:54:55 mr_bones_ 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