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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Sun Feb 1 21:48:25 2015 UTC (3 years, 6 months ago) by mrueg
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +1 -1 lines
FILE REMOVED
Remove old.

(Portage version: 2.2.15/cvs/Linux x86_64, signed Manifest commit with key )

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

  ViewVC Help
Powered by ViewVC 1.1.20