1 # Copyright 1999-2009 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
8 DESCRIPTION="Parse human-readable date/time expressions"
9 HOMEPAGE="http://code-bear.com/code/parsedatetime/"
10 SRC_URI="http://code-bear.com/code/${PN}/${P}.tar.gz"
14 KEYWORDS="~amd64 ~x86"
17 DEPEND="doc? ( dev-python/epydoc )"
18 RDEPEND="dev-python/pyicu"
20 DOCS="THANKS.txt README.txt AUTHORS.txt CHANGES.txt"
23 # A broken and unnecessary test script made it into the release. delete it.
24 if [[ -f "${S}/${PN}/t2.py" ]]; then
25 rm -f "${S}/${PN}/t2.py" || die "Removing t2.py failed!"
31 ${python} setup.py doc || die "Making the docs failed"
37 PYTHON_PATH="build/lib/" ${python} run_tests.py || die "Running tests failed!"
42 dohtml -r docs/* || die "Installing the docs failed!"