diff options
author | Gunnar Wrobel <wrobel@gentoo.org> | 2007-01-19 09:01:30 +0000 |
---|---|---|
committer | Gunnar Wrobel <wrobel@gentoo.org> | 2007-01-19 09:01:30 +0000 |
commit | 6cab9bc74d731e1ef8df55169fe20ca9bf336d1a (patch) | |
tree | 7988f2f289bcb302531cc2c4249546c4968d1212 /dev-python/webpy/webpy-0.2.ebuild | |
parent | Keyworded Firefox 2.0.0.1-r2 ~mips. (diff) | |
download | gentoo-2-6cab9bc74d731e1ef8df55169fe20ca9bf336d1a.tar.gz gentoo-2-6cab9bc74d731e1ef8df55169fe20ca9bf336d1a.tar.bz2 gentoo-2-6cab9bc74d731e1ef8df55169fe20ca9bf336d1a.zip |
Added web.py-0.2 to the tree.
(Portage version: 2.1.1)
Diffstat (limited to 'dev-python/webpy/webpy-0.2.ebuild')
-rw-r--r-- | dev-python/webpy/webpy-0.2.ebuild | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/dev-python/webpy/webpy-0.2.ebuild b/dev-python/webpy/webpy-0.2.ebuild new file mode 100644 index 000000000000..0e3276ecc69d --- /dev/null +++ b/dev-python/webpy/webpy-0.2.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/webpy/webpy-0.2.ebuild,v 1.1 2007/01/19 09:01:30 wrobel 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/${MY_PN}-${PV}.tar.gz" + +LICENSE="public-domain" +SLOT="0" +KEYWORDS="~x86" +IUSE="" + +DEPEND=">=dev-lang/python-2.3" +RDEPEND="${DEPEND}" + +S="${WORKDIR}/${MY_PN}-${PV}" + +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 +} |