1 |
idella4 14/06/30 09:59:15 |
2 |
|
3 |
Modified: xlrd-0.9.3.ebuild ChangeLog |
4 |
Log: |
5 |
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 |
6 |
|
7 |
(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 0xB8072B0D) |
8 |
|
9 |
Revision Changes Path |
10 |
1.2 dev-python/xlrd/xlrd-0.9.3.ebuild |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/xlrd/xlrd-0.9.3.ebuild?rev=1.2&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/xlrd/xlrd-0.9.3.ebuild?rev=1.2&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/xlrd/xlrd-0.9.3.ebuild?r1=1.1&r2=1.2 |
15 |
|
16 |
Index: xlrd-0.9.3.ebuild |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/dev-python/xlrd/xlrd-0.9.3.ebuild,v |
19 |
retrieving revision 1.1 |
20 |
retrieving revision 1.2 |
21 |
diff -u -r1.1 -r1.2 |
22 |
--- xlrd-0.9.3.ebuild 7 May 2014 06:43:58 -0000 1.1 |
23 |
+++ xlrd-0.9.3.ebuild 30 Jun 2014 09:59:15 -0000 1.2 |
24 |
@@ -1,40 +1,28 @@ |
25 |
# Copyright 1999-2014 Gentoo Foundation |
26 |
# Distributed under the terms of the GNU General Public License v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/dev-python/xlrd/xlrd-0.9.3.ebuild,v 1.1 2014/05/07 06:43:58 patrick Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/dev-python/xlrd/xlrd-0.9.3.ebuild,v 1.2 2014/06/30 09:59:15 idella4 Exp $ |
29 |
|
30 |
EAPI="5" |
31 |
-PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} pypy pypy2_0 ) |
32 |
+PYTHON_COMPAT=( python{2_7,3_2,3_3,3_4} pypy ) |
33 |
|
34 |
inherit distutils-r1 |
35 |
|
36 |
DESCRIPTION="Library for developers to extract data from Microsoft Excel (tm) spreadsheet files" |
37 |
-HOMEPAGE="http://pypi.python.org/pypi/xlrd" |
38 |
+HOMEPAGE="http://www.python-excel.org/ |
39 |
+ https://github.com/python-excel/xlrd/" |
40 |
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
41 |
|
42 |
LICENSE="BSD" |
43 |
SLOT="0" |
44 |
KEYWORDS="~amd64 ~x86 ~ppc-aix ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~x86-linux ~sparc-solaris ~x86-solaris" |
45 |
-IUSE="doc examples" |
46 |
|
47 |
-DEPEND="" |
48 |
-RDEPEND="" |
49 |
+python_prepare_all() { |
50 |
+ # Remove this if examples get reintroduced |
51 |
+ sed -i -e "s/test_names_demo/_&/" tests/test_open_workbook.py || die |
52 |
|
53 |
-src_prepare() { |
54 |
- distutils-r1_src_prepare |
55 |
- # add shebang to runxlrd.py |
56 |
- sed -i -e '1i#!/usr/bin/encompdoc.html xlrd.htmlv python' scripts/runxlrd.py || die |
57 |
+ distutils-r1_python_prepare_all |
58 |
} |
59 |
|
60 |
-python_install_all() { |
61 |
- distutils-r1_python_install_all |
62 |
- |
63 |
- if use doc; then |
64 |
- dohtml ${PN}/doc/{compdoc.html,xlrd.html} |
65 |
- fi |
66 |
- |
67 |
- if use examples; then |
68 |
- docompress -x usr/share/doc/${P}/examples/ |
69 |
- insinto usr/share/doc/${P}/examples |
70 |
- doins ${PN}/examples/* |
71 |
- fi |
72 |
+python_test() { |
73 |
+ "${PYTHON}" -m unittest discover || die "Test failed with ${EPYTHON}" |
74 |
} |
75 |
|
76 |
|
77 |
|
78 |
1.25 dev-python/xlrd/ChangeLog |
79 |
|
80 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/xlrd/ChangeLog?rev=1.25&view=markup |
81 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/xlrd/ChangeLog?rev=1.25&content-type=text/plain |
82 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/xlrd/ChangeLog?r1=1.24&r2=1.25 |
83 |
|
84 |
Index: ChangeLog |
85 |
=================================================================== |
86 |
RCS file: /var/cvsroot/gentoo-x86/dev-python/xlrd/ChangeLog,v |
87 |
retrieving revision 1.24 |
88 |
retrieving revision 1.25 |
89 |
diff -u -r1.24 -r1.25 |
90 |
--- ChangeLog 7 May 2014 06:43:58 -0000 1.24 |
91 |
+++ ChangeLog 30 Jun 2014 09:59:15 -0000 1.25 |
92 |
@@ -1,6 +1,10 @@ |
93 |
# ChangeLog for dev-python/xlrd |
94 |
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
95 |
-# $Header: /var/cvsroot/gentoo-x86/dev-python/xlrd/ChangeLog,v 1.24 2014/05/07 06:43:58 patrick Exp $ |
96 |
+# $Header: /var/cvsroot/gentoo-x86/dev-python/xlrd/ChangeLog,v 1.25 2014/06/30 09:59:15 idella4 Exp $ |
97 |
+ |
98 |
+ 30 Jun 2014; Ian Delaney <idella4@g.o> xlrd-0.9.3.ebuild: |
99 |
+ drop py2.6 pypy2.0 add py3.4, update homepage, remove redundant IUSE flags due |
100 |
+ to missing source content, add test phase, patch by fau, fixes bug #509824 |
101 |
|
102 |
*xlrd-0.9.3 (07 May 2014) |