From 9ad759c13ae7a651797bd523d8211002e8be7fc4 Mon Sep 17 00:00:00 2001 From: Sebastien Fabbro Date: Fri, 27 Mar 2009 10:56:01 +0000 Subject: Version bump Package-Manager: portage-2.2_rc26/cvs/Linux x86_64 --- dev-python/xlwt/ChangeLog | 9 +++++++-- dev-python/xlwt/xlwt-0.7.1.ebuild | 36 ++++++++++++++++++++++++++++++++++++ 2 files changed, 43 insertions(+), 2 deletions(-) create mode 100644 dev-python/xlwt/xlwt-0.7.1.ebuild (limited to 'dev-python/xlwt') diff --git a/dev-python/xlwt/ChangeLog b/dev-python/xlwt/ChangeLog index 2b8049a9ceb3..86fe9cb74460 100644 --- a/dev-python/xlwt/ChangeLog +++ b/dev-python/xlwt/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-python/xlwt -# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/xlwt/ChangeLog,v 1.2 2008/12/19 15:46:13 bicatali Exp $ +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/xlwt/ChangeLog,v 1.3 2009/03/27 10:36:12 bicatali Exp $ + +*xlwt-0.7.1 (27 Mar 2009) + + 27 Mar 2009; Sébastien Fabbro +xlwt-0.7.1.ebuild: + Version bump 19 Dec 2008; Sébastien Fabbro xlwt-0.7.0.ebuild: added ~ppc, thanks to Pierre Martin for testing diff --git a/dev-python/xlwt/xlwt-0.7.1.ebuild b/dev-python/xlwt/xlwt-0.7.1.ebuild new file mode 100644 index 000000000000..38c5747ef913 --- /dev/null +++ b/dev-python/xlwt/xlwt-0.7.1.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/xlwt/xlwt-0.7.1.ebuild,v 1.1 2009/03/27 10:36:12 bicatali Exp $ + +EAPI=2 +inherit distutils + +DESCRIPTION="Python library to create spreadsheet files compatible with Excel" +HOMEPAGE="http://pypi.python.org/pypi/xlwt/" +SRC_URI="http://cheeseshop.python.org/packages/source/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="examples" + +src_prepare() { + # prevint installing from doc and examples in python libdir + sed -i \ + -e '/package_data/,+6d' \ + setup.py || die +} + +src_test() { + cd "${S}"/tests + PYTHONPATH=../build/lib "${python}" RKbug.py 1 || die "test failed" +} + +src_install() { + distutils_src_install + insinto /usr/share/doc/${PF} + doins -r HISTORY.html xlwt/doc/xlwt.html tests + if use examples; then + doins -r xlwt/examples || die + fi +} -- cgit v1.2.3-65-gdbad