/[gentoo-x86]/dev-python/xlrd/xlrd-0.9.3.ebuild
Gentoo

Contents of /dev-python/xlrd/xlrd-0.9.3.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Wed Apr 8 08:05:04 2015 UTC (2 years, 10 months ago) by mgorny
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +3 -3 lines
Drop old Python implementations

(Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key EFB4464E!)

1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-python/xlrd/xlrd-0.9.3.ebuild,v 1.4 2014/12/05 10:16:40 ago Exp $
4
5 EAPI="5"
6 PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy )
7
8 inherit distutils-r1
9
10 DESCRIPTION="Library for developers to extract data from Microsoft Excel (tm) spreadsheet files"
11 HOMEPAGE="http://www.python-excel.org/
12 https://github.com/python-excel/xlrd/"
13 SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
14
15 LICENSE="BSD"
16 SLOT="0"
17 KEYWORDS="amd64 x86 ~ppc-aix ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~x86-linux ~sparc-solaris ~x86-solaris"
18
19 python_prepare_all() {
20 # Remove this if examples get reintroduced
21 sed -i -e "s/test_names_demo/_&/" tests/test_open_workbook.py || die
22
23 distutils-r1_python_prepare_all
24 }
25
26 python_test() {
27 "${PYTHON}" -m unittest discover || die "Test failed with ${EPYTHON}"
28 }

  ViewVC Help
Powered by ViewVC 1.1.20