aboutsummaryrefslogtreecommitdiff
blob: 8a0f3277280ce8e131ee432aeb1a20f5a6ecadf3 (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
28
29
30
31
32
33
34
35
36
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI=4
PYTHON_DEPEND="2"
SUPPORT_PYTHON_ABIS=1
RESTRICT_PYTHON_ABIS="3.*"
PYTHON_TESTS_RESTRICTED_ABIS="*-pypy-*"
DISTUTILS_SRC_TEST=py.test
inherit distutils

DESCRIPTION="provides a collection of utilities for working with Excel files"
HOMEPAGE="http://pypi.python.org/pypi/xlutils"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"

KEYWORDS="~amd64"
IUSE=""

LICENSE="MIT"
SLOT="0"

DOCS=( xlutils/readme.txt )

RDEPEND=">=dev-python/xlwt-0.7.3
	>=dev-python/xlrd-0.7.3
	dev-python/errorhandler"
DEPEND="${RDEPEND}
	test? ( dev-python/errorhandler
	dev-python/mock
	>=dev-python/testfixtures-1.6.1 )"

src_test() {
	# Point to tests
	distutils_src_test xlutils/tests
}