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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Sun Dec 26 15:43:23 2010 UTC (3 years, 11 months ago) by arfrever
Branch: MAIN
Changes since 1.2: +2 -2 lines
Use PyPI mirrors.

(Portage version: 2.2.0_alpha10_p8/cvs/Linux x86_64)

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

  ViewVC Help
Powered by ViewVC 1.1.20