# Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/dev-python/webpy/webpy-0.32.ebuild,v 1.2 2009/12/20 15:50:54 grobian Exp $ inherit distutils MY_PN="web.py" DESCRIPTION="A small and simple web framework for python" HOMEPAGE="http://www.webpy.org" SRC_URI="http://www.webpy.org/static/${MY_PN}-${PV}.tar.gz" LICENSE="public-domain" SLOT="0" KEYWORDS="~amd64 ~hppa ~x86 ~amd64-linux ~x86-linux" IUSE="" DEPEND=">=dev-lang/python-2.3" RDEPEND="${DEPEND}" S="${WORKDIR}/webpy" PYTHON_MODNAME="web" src_test() { TESTS="db template net http utils" cd "${S}" for TEST in ${TESTS} do ${python} web/${TEST}.py || die "Doctest in web/${TEST}.py failed!" done }