idella4 14/06/30 09:59:15 Modified: xlrd-0.9.3.ebuild ChangeLog Log: drop py2.6 pypy2.0 add py3.4, update homepage, remove redundant IUSE flags due to missing source content, add test phase, patch by fau, fixes bug #509824 (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 0xB8072B0D)
Revision Changes Path 1.2 dev-python/xlrd/xlrd-0.9.3.ebuild file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/xlrd/xlrd-0.9.3.ebuild?rev=1.2&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/xlrd/xlrd-0.9.3.ebuild?rev=1.2&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/xlrd/xlrd-0.9.3.ebuild?r1=1.1&r2=1.2 Index: xlrd-0.9.3.ebuild =================================================================== RCS file: /var/cvsroot/gentoo-x86/dev-python/xlrd/xlrd-0.9.3.ebuild,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- xlrd-0.9.3.ebuild 7 May 2014 06:43:58 -0000 1.1 +++ xlrd-0.9.3.ebuild 30 Jun 2014 09:59:15 -0000 1.2 @@ -1,40 +1,28 @@ # Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/xlrd/xlrd-0.9.3.ebuild,v 1.1 2014/05/07 06:43:58 patrick Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/xlrd/xlrd-0.9.3.ebuild,v 1.2 2014/06/30 09:59:15 idella4 Exp $ EAPI="5" -PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} pypy pypy2_0 ) +PYTHON_COMPAT=( python{2_7,3_2,3_3,3_4} pypy ) inherit distutils-r1 DESCRIPTION="Library for developers to extract data from Microsoft Excel (tm) spreadsheet files" -HOMEPAGE="http://pypi.python.org/pypi/xlrd" +HOMEPAGE="http://www.python-excel.org/ + https://github.com/python-excel/xlrd/" SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="BSD" SLOT="0" KEYWORDS="~amd64 ~x86 ~ppc-aix ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~x86-linux ~sparc-solaris ~x86-solaris" -IUSE="doc examples" -DEPEND="" -RDEPEND="" +python_prepare_all() { + # Remove this if examples get reintroduced + sed -i -e "s/test_names_demo/_&/" tests/test_open_workbook.py || die -src_prepare() { - distutils-r1_src_prepare - # add shebang to runxlrd.py - sed -i -e '1i#!/usr/bin/encompdoc.html xlrd.htmlv python' scripts/runxlrd.py || die + distutils-r1_python_prepare_all } -python_install_all() { - distutils-r1_python_install_all - - if use doc; then - dohtml ${PN}/doc/{compdoc.html,xlrd.html} - fi - - if use examples; then - docompress -x usr/share/doc/${P}/examples/ - insinto usr/share/doc/${P}/examples - doins ${PN}/examples/* - fi +python_test() { + "${PYTHON}" -m unittest discover || die "Test failed with ${EPYTHON}" } 1.25 dev-python/xlrd/ChangeLog file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/xlrd/ChangeLog?rev=1.25&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/xlrd/ChangeLog?rev=1.25&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/xlrd/ChangeLog?r1=1.24&r2=1.25 Index: ChangeLog =================================================================== RCS file: /var/cvsroot/gentoo-x86/dev-python/xlrd/ChangeLog,v retrieving revision 1.24 retrieving revision 1.25 diff -u -r1.24 -r1.25 --- ChangeLog 7 May 2014 06:43:58 -0000 1.24 +++ ChangeLog 30 Jun 2014 09:59:15 -0000 1.25 @@ -1,6 +1,10 @@ # ChangeLog for dev-python/xlrd # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/xlrd/ChangeLog,v 1.24 2014/05/07 06:43:58 patrick Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/xlrd/ChangeLog,v 1.25 2014/06/30 09:59:15 idella4 Exp $ + + 30 Jun 2014; Ian Delaney <[email protected]> xlrd-0.9.3.ebuild: + drop py2.6 pypy2.0 add py3.4, update homepage, remove redundant IUSE flags due + to missing source content, add test phase, patch by fau, fixes bug #509824 *xlrd-0.9.3 (07 May 2014)
