2009-04-16 12:50:02 +02:00
|
|
|
# Copyright 1999-2009 Gentoo Foundation
|
2009-02-18 09:54:00 +01:00
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
2009-04-16 12:50:02 +02:00
|
|
|
# $Header: $
|
2009-02-18 09:54:00 +01:00
|
|
|
|
|
|
|
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"
|
|
|
|
}
|