/[gentoo-x86]/dev-python/xlwt/xlwt-0.7.5.ebuild
Gentoo

Contents of /dev-python/xlwt/xlwt-0.7.5.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.8 - (show annotations) (download)
Wed Apr 8 08:05:16 2015 UTC (4 years, 9 months ago) by mgorny
Branch: MAIN
CVS Tags: HEAD
Changes since 1.7: +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/xlwt/xlwt-0.7.5.ebuild,v 1.7 2014/03/31 20:57:39 mgorny Exp $
4
5 EAPI=5
6 PYTHON_COMPAT=( python2_7 pypy )
7
8 inherit distutils-r1
9
10 DESCRIPTION="Python library to create spreadsheet files compatible with Excel"
11 HOMEPAGE="http://pypi.python.org/pypi/xlwt"
12 SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
13
14 LICENSE="BSD"
15 SLOT="0"
16 KEYWORDS="amd64 arm ppc ~ppc64 x86 ~amd64-linux ~x86-linux"
17 IUSE="examples"
18
19 python_prepare_all() {
20 # Don't install documentation and examples in site-packages directories.
21 sed -e "/package_data/,+6d" -i setup.py || die
22
23 distutils-r1_python_prepare_all
24 }
25
26 python_install_all() {
27 local HTML_DOCS=( HISTORY.html xlwt/doc/xlwt.html )
28 use examples && local EXAMPLES=( xlwt/examples )
29 distutils-r1_python_install_all
30
31 dodoc -r tests
32 docompress -x /usr/share/doc/${PF}/tests
33 }

  ViewVC Help
Powered by ViewVC 1.1.20