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

28 lines
769 B
Bash
Raw Normal View History

# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/turbokid/turbokid-1.0.4.ebuild,v 1.1 2008/01/04 18:06:51 hawking Exp $
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}"
#RDEPEND=">=dev-python/kid-0.9.6"
DEPEND="${RDEPEND}
dev-python/setuptools
test? ( dev-python/nose )"
src_test() {
PYTHONPATH=. "${python}" setup.py test || die "tests failed"
}