diff options
-rw-r--r-- | dev-python/xlwt/ChangeLog | 9 | ||||
-rw-r--r-- | dev-python/xlwt/xlwt-0.7.4-r1.ebuild | 33 |
2 files changed, 40 insertions, 2 deletions
diff --git a/dev-python/xlwt/ChangeLog b/dev-python/xlwt/ChangeLog index c01dce68b146..af6316812f84 100644 --- a/dev-python/xlwt/ChangeLog +++ b/dev-python/xlwt/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-python/xlwt -# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/xlwt/ChangeLog,v 1.14 2012/12/03 21:24:39 bicatali Exp $ +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/xlwt/ChangeLog,v 1.15 2013/02/02 12:13:52 mgorny Exp $ + +*xlwt-0.7.4-r1 (02 Feb 2013) + + 02 Feb 2013; Michał Górny <mgorny@gentoo.org> +xlwt-0.7.4-r1.ebuild: + Migrate to distutils-r1. 03 Dec 2012; Sébastien Fabbro <bicatali@gentoo.org> xlwt-0.7.4.ebuild: Keyword amd64-linux and x86-linux diff --git a/dev-python/xlwt/xlwt-0.7.4-r1.ebuild b/dev-python/xlwt/xlwt-0.7.4-r1.ebuild new file mode 100644 index 000000000000..f77aa99ae8d4 --- /dev/null +++ b/dev-python/xlwt/xlwt-0.7.4-r1.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/xlwt/xlwt-0.7.4-r1.ebuild,v 1.1 2013/02/02 12:13:52 mgorny Exp $ + +EAPI=5 +PYTHON_COMPAT=( python{2_5,2_6,2_7} pypy{1_9,2_0} ) + +inherit distutils-r1 + +DESCRIPTION="Python library to create spreadsheet files compatible with Excel" +HOMEPAGE="http://pypi.python.org/pypi/xlwt" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux" +IUSE="examples" + +python_prepare_all() { + # Don't install documentation and examples in site-packages directories. + sed -e "/package_data/,+6d" -i setup.py || die + + distutils-r1_python_prepare_all +} + +python_install_all() { + local HTML_DOCS=( HISTORY.html xlwt/doc/xlwt.html ) + distutils-r1_python_install_all + + docompress -x /usr/share/doc/${PF}/{tests,examples} + dodoc -r tests + use examples && dodoc -r xlwt/examples +} |