aboutsummaryrefslogtreecommitdiff
blob: 510cc71a195e6048a6d9c9b8ed4950cff36de50e (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
37
38
39
40
41
# 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 xlutils/docs/*.txt )

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

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

src_install() {
	distutils_src_install
#	docompress -x usr/share/doc/${P}/  Option
	dodoc ${DOCS[@]}
}