diff options
author | 2009-06-26 22:07:47 +0000 | |
---|---|---|
committer | 2009-06-26 22:07:47 +0000 | |
commit | 0568f2240aca56935c7e8b947c7aa9b843f0a1bb (patch) | |
tree | e9b50300c696b4f198dd1d164ee445179cccf435 /dev-python/xlwt/xlwt-0.7.2.ebuild | |
parent | Version bump (diff) | |
download | gentoo-2-0568f2240aca56935c7e8b947c7aa9b843f0a1bb.tar.gz gentoo-2-0568f2240aca56935c7e8b947c7aa9b843f0a1bb.tar.bz2 gentoo-2-0568f2240aca56935c7e8b947c7aa9b843f0a1bb.zip |
Version bump
(Portage version: 2.2_rc33/cvs/Linux x86_64)
Diffstat (limited to 'dev-python/xlwt/xlwt-0.7.2.ebuild')
-rw-r--r-- | dev-python/xlwt/xlwt-0.7.2.ebuild | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/dev-python/xlwt/xlwt-0.7.2.ebuild b/dev-python/xlwt/xlwt-0.7.2.ebuild new file mode 100644 index 000000000000..d89f08971753 --- /dev/null +++ b/dev-python/xlwt/xlwt-0.7.2.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.2.ebuild,v 1.1 2009/06/26 22:07:47 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 +} |