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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Thu Sep 5 18:46:14 2013 UTC (10 months, 3 weeks ago) by mgorny
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +2 -2 lines
Clean up PYTHON_COMPAT from old implementations.

(Portage version: 2.2.1/cvs/Linux x86_64, signed Manifest commit with key EFB4464E!)

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.12.3-r1.ebuild,v 1.1 2013/03/25 14:57:42 prometheanfire Exp $
4
5 EAPI="5"
6 PYTHON_COMPAT=( python2_{6,7} )
7
8 inherit distutils-r1
9
10 MY_PN="Routes"
11 MY_P="${MY_PN}-${PV}"
12
13 DESCRIPTION="A Python re-implementation of the Rails routes system for mapping URL's to Controllers/Actions."
14 HOMEPAGE="http://routes.groovie.org http://pypi.python.org/pypi/Routes"
15 SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
16
17 LICENSE="BSD"
18 SLOT="0"
19 KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
20 IUSE="doc"
21
22 DEPEND="dev-python/setuptools"
23 RDEPEND=""
24
25 S="${WORKDIR}/${MY_P}"
26
27 python_install() {
28 distutils-r1_python_install
29
30 if use doc; then
31 cd docs/_build/html
32 docinto html
33 cp -R [a-z]* _images _static "${ED}usr/share/doc/${PF}/html" || die "Installation of documentation failed"
34 fi
35 }

  ViewVC Help
Powered by ViewVC 1.1.20