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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Tue Oct 22 14:24:30 2013 UTC (5 months, 3 weeks ago) by grobian
Branch: MAIN
Changes since 1.2: +2 -2 lines
Marked ~x64-macos, bug #487670

(Portage version: 2.2.7-prefix/cvs/SunOS i386, signed Manifest commit with key 0x5F75F607C5C74E89)

1 # Copyright 1999-2013 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-r1.ebuild,v 1.2 2013/05/10 03:56:47 patrick Exp $
4
5 EAPI=5
6
7 PYTHON_COMPAT=( python{2_6,2_7} pypy2_0 )
8
9 inherit distutils-r1
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 http://pypi.python.org/pypi/Routes"
16 SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
17
18 LICENSE="BSD"
19 SLOT="0"
20 KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
21 IUSE="doc test"
22
23 # Note: although setup.py states that tests require webtest,
24 # it isn't used anywhere.
25 RDEPEND="dev-python/webob[${PYTHON_USEDEP}]
26 dev-python/repoze-lru[${PYTHON_USEDEP}]"
27 DEPEND="${RDEPEND}
28 dev-python/setuptools[${PYTHON_USEDEP}]
29 test? ( dev-python/coverage[${PYTHON_USEDEP}]
30 dev-python/nose[${PYTHON_USEDEP}] )"
31
32 S="${WORKDIR}/${MY_P}"
33
34 python_test() {
35 nosetests || die "Tests fail with ${EPYTHON}"
36 }
37
38 python_install_all() {
39 use doc && local HTML_DOCS=( docs/_build/html/. )
40
41 distutils-r1_python_install_all
42 }

  ViewVC Help
Powered by ViewVC 1.1.20