linamh/dev-python/skimpy/skimpy-1.4.ebuild
2009-04-16 10:50:02 +00:00

27 lines
631 B
Bash

# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
NEED_PYTHON=2.4
inherit distutils versionator
MY_PN="skimpyGimpy"
MY_PV=$(replace_version_separator 1 '_' )
DESCRIPTION="Skimpy is an example of a Captcha"
HOMEPAGE="http://skimpygimpy.sourceforge.net/"
SRC_URI="mirror://sourceforge/skimpygimpy/${PN}_${MY_PV}.tar.gz"
LICENSE="BSD"
KEYWORDS="~amd64 ~x86"
SLOT="0"
IUSE="test"
S="${WORKDIR}/${MY_PN}_${MY_PV}"
DEPEND="${RDEPEND}
dev-python/setuptools
test? ( dev-python/nose )"
src_test() {
PYTHONPATH=. "${python}" setup.py test || die "tests failed"
}