summaryrefslogtreecommitdiff
blob: 0dcb7050d47982cbbdbecd04e5123fb1d6cd5b6c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/python-dateutil/python-dateutil-1.2.ebuild,v 1.6 2008/06/18 14:27:36 coldwind Exp $

NEED_PYTHON=2.3

inherit distutils

DESCRIPTION="datetime math and logic library for python"
HOMEPAGE="http://labix.org/python-dateutil"
SRC_URI="http://labix.org/download/python-dateutil/${P}.tar.bz2"

LICENSE="PSF-2.3"
SLOT="0"
KEYWORDS="amd64 ~ia64 ppc ~x86"
IUSE=""

DEPEND="!<=dev-python/matplotlib-0.82"
RDEPEND="${DEPEND}"

DOCS="NEWS example.py sandbox/rrulewrapper.py sandbox/scheduler.py"

PYTHON_MODNAME="${PN/python-/}"

src_test() {
	PYTHONPATH="." "${python}" test.py || die "tests failed"
}