linamh/dev-python/skimpy/skimpy-1.4.ebuild

29 lines
632 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="dev-python/setuptools
test? ( dev-python/nose )"
RDEPEND=""
src_test() {
PYTHONPATH=. "${python}" setup.py test || die "tests failed"
}