/[gentoo-x86]/dev-python/webpy/webpy-0.36.ebuild
Gentoo

Contents of /dev-python/webpy/webpy-0.36.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Fri Feb 24 15:21:11 2012 UTC (2 years, 7 months ago) by phajdan.jr
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +2 -2 lines
x86 stable wrt bug #400341

(Portage version: 2.1.10.44/cvs/Linux i686)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-python/webpy/webpy-0.36.ebuild,v 1.4 2012/02/20 15:14:25 patrick Exp $
4
5 EAPI="3"
6 PYTHON_DEPEND="2"
7 SUPPORT_PYTHON_ABIS="1"
8 RESTRICT_PYTHON_ABIS="3.* 2.7-pypy-*"
9
10 inherit distutils
11
12 MY_PN="web.py"
13
14 DESCRIPTION="A small and simple web framework for Python"
15 HOMEPAGE="http://www.webpy.org http://pypi.python.org/pypi/web.py"
16 SRC_URI="http://www.webpy.org/static/${MY_PN}-${PV}.tar.gz"
17
18 LICENSE="public-domain"
19 SLOT="0"
20 KEYWORDS="amd64 hppa x86 ~amd64-linux ~x86-linux"
21 IUSE=""
22
23 DEPEND=""
24 RDEPEND=""
25
26 S="${WORKDIR}/web.py-${PV}"
27
28 PYTHON_MODNAME="web"
29
30 src_test() {
31 testing() {
32 local return_status="0" test tests="db http net template utils"
33 for test in ${tests}; do
34 echo "Running doctests in ${test}.py..."
35 "$(PYTHON)" web/${test}.py || return_status="$?"
36 done
37
38 return "${return_status}"
39 }
40 python_execute_function testing
41 }

  ViewVC Help
Powered by ViewVC 1.1.20