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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Sat Dec 18 19:53:08 2010 UTC (3 years, 7 months ago) by arfrever
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +1 -1 lines
FILE REMOVED
Delete older ebuild.

(Portage version: 2.2.0_alpha9_p3/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.11.ebuild,v 1.3 2010/01/02 23:33:12 arfrever Exp $
4
5 EAPI="2"
6 SUPPORT_PYTHON_ABIS="1"
7
8 inherit distutils
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"
15 SRC_URI="http://pypi.python.org/packages/source/${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 test"
21
22 DEPEND="dev-python/setuptools
23 test? ( dev-python/coverage dev-python/nose )"
24 RDEPEND=""
25 RESTRICT_PYTHON_ABIS="3.*"
26
27 S="${WORKDIR}/${MY_P}"
28
29 src_test() {
30 testing() {
31 PYTHONPATH="build-${PYTHON_ABI}" nosetests-${PYTHON_ABI}
32 }
33 python_execute_function testing
34 }
35
36 src_install() {
37 distutils_src_install
38
39 if use doc; then
40 dohtml -r docs/_build/html/* || die "dohtml failed"
41 fi
42 }

  ViewVC Help
Powered by ViewVC 1.1.20