# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit distutils python DESCRIPTION="World Timezone Definitions for Python" SRC_URI="mirror://sourceforge/${PN}/${PN}-${PV}.tar.bz2" HOMEPAGE="http://pytz.sourceforge.net/" IUSE="" SLOT="0" KEYWORDS="x86" LICENSE="MIT" DEPEND=">=dev-lang/python-2.3" DOCS="CHANGES.txt LICENSE.txt" src_test() { PYTHONPATH="${PWD}${PYTHONPATH:+:${PYTHONPATH}}" \ ${python} pytz/tests/test_tzinfo.py || die "test failed" }