Gentoo Archives: gentoo-commits

From: "Justin Lecher (jlec)" <jlec@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-python/pytables: ChangeLog pytables-3.1.1-r1.ebuild pytables-3.1.1.ebuild
Date: Fri, 31 Oct 2014 12:52:17
Message-Id: 20141031125206.113DD9240@oystercatcher.gentoo.org
1 jlec 14/10/31 12:52:06
2
3 Modified: ChangeLog pytables-3.1.1.ebuild
4 Added: pytables-3.1.1-r1.ebuild
5 Log:
6 dev-python/pytables: Backport fix for numpy-1.9, #527366
7
8 (Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key B9D4F231BD1558AB!)
9
10 Revision Changes Path
11 1.54 dev-python/pytables/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pytables/ChangeLog?rev=1.54&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pytables/ChangeLog?rev=1.54&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pytables/ChangeLog?r1=1.53&r2=1.54
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-python/pytables/ChangeLog,v
20 retrieving revision 1.53
21 retrieving revision 1.54
22 diff -u -r1.53 -r1.54
23 --- ChangeLog 17 Sep 2014 07:21:57 -0000 1.53
24 +++ ChangeLog 31 Oct 2014 12:52:06 -0000 1.54
25 @@ -1,6 +1,12 @@
26 # ChangeLog for dev-python/pytables
27 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-python/pytables/ChangeLog,v 1.53 2014/09/17 07:21:57 jlec Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-python/pytables/ChangeLog,v 1.54 2014/10/31 12:52:06 jlec Exp $
30 +
31 +*pytables-3.1.1-r1 (31 Oct 2014)
32 +
33 + 31 Oct 2014; Justin Lecher <jlec@g.o> pytables-3.1.1.ebuild,
34 + +pytables-3.1.1-r1.ebuild, +files/pytables-3.1.1-numpy19-backport.patch:
35 + Backport fix for numpy-1.9, #527366
36
37 17 Sep 2014; Justin Lecher <jlec@g.o> pytables-3.1.1.ebuild,
38 +files/pytables-3.1.1-cython-backport.patch, metadata.xml:
39
40
41
42 1.4 dev-python/pytables/pytables-3.1.1.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pytables/pytables-3.1.1.ebuild?rev=1.4&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pytables/pytables-3.1.1.ebuild?rev=1.4&content-type=text/plain
46 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pytables/pytables-3.1.1.ebuild?r1=1.3&r2=1.4
47
48 Index: pytables-3.1.1.ebuild
49 ===================================================================
50 RCS file: /var/cvsroot/gentoo-x86/dev-python/pytables/pytables-3.1.1.ebuild,v
51 retrieving revision 1.3
52 retrieving revision 1.4
53 diff -u -r1.3 -r1.4
54 --- pytables-3.1.1.ebuild 17 Sep 2014 07:21:57 -0000 1.3
55 +++ pytables-3.1.1.ebuild 31 Oct 2014 12:52:06 -0000 1.4
56 @@ -1,6 +1,6 @@
57 # Copyright 1999-2014 Gentoo Foundation
58 # Distributed under the terms of the GNU General Public License v2
59 -# $Header: /var/cvsroot/gentoo-x86/dev-python/pytables/pytables-3.1.1.ebuild,v 1.3 2014/09/17 07:21:57 jlec Exp $
60 +# $Header: /var/cvsroot/gentoo-x86/dev-python/pytables/pytables-3.1.1.ebuild,v 1.4 2014/10/31 12:52:06 jlec Exp $
61
62 EAPI=5
63
64 @@ -26,7 +26,7 @@
65 app-arch/bzip2:0=
66 dev-libs/c-blosc:0=
67 dev-libs/lzo:2=
68 - dev-python/numpy[${PYTHON_USEDEP}]
69 + <dev-python/numpy-1.9[${PYTHON_USEDEP}]
70 dev-python/numexpr[${PYTHON_USEDEP}]
71 sci-libs/hdf5:0="
72 DEPEND="${RDEPEND}
73
74
75
76 1.1 dev-python/pytables/pytables-3.1.1-r1.ebuild
77
78 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pytables/pytables-3.1.1-r1.ebuild?rev=1.1&view=markup
79 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pytables/pytables-3.1.1-r1.ebuild?rev=1.1&content-type=text/plain
80
81 Index: pytables-3.1.1-r1.ebuild
82 ===================================================================
83 # Copyright 1999-2014 Gentoo Foundation
84 # Distributed under the terms of the GNU General Public License v2
85 # $Header: /var/cvsroot/gentoo-x86/dev-python/pytables/pytables-3.1.1-r1.ebuild,v 1.1 2014/10/31 12:52:06 jlec Exp $
86
87 EAPI=5
88
89 PYTHON_COMPAT=( python{2_7,3_2,3_3,3_4} )
90
91 MY_PN=tables
92 MY_P=${MY_PN}-${PV}
93
94 inherit distutils-r1
95
96 DESCRIPTION="Hierarchical datasets for Python"
97 HOMEPAGE="http://www.pytables.org/"
98 SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
99
100 SLOT="0"
101 KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
102 LICENSE="BSD"
103 IUSE="doc examples"
104
105 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
106
107 RDEPEND="
108 app-arch/bzip2:0=
109 dev-libs/c-blosc:0=
110 dev-libs/lzo:2=
111 dev-python/numpy[${PYTHON_USEDEP}]
112 dev-python/numexpr[${PYTHON_USEDEP}]
113 sci-libs/hdf5:0="
114 DEPEND="${RDEPEND}
115 >=dev-python/cython-0.14[${PYTHON_USEDEP}]"
116
117 S="${WORKDIR}/${MY_P}"
118
119 DOCS=( ANNOUNCE.txt RELEASE_NOTES.txt THANKS )
120
121 PATCHES=(
122 "${FILESDIR}"/${P}-cython-backport.patch
123 "${FILESDIR}"/${P}-numpy19-backport.patch
124 )
125
126 python_prepare_all() {
127 export HDF5_DIR="${EPREFIX}"/usr
128 sed -i -e "s:/usr:${EPREFIX}/usr:g" setup.py || die
129 rm -r c-blosc/{blosc,internal-complibs} || die
130 distutils-r1_python_prepare_all
131 }
132
133 python_compile() {
134 python_is_python3 || local -x CFLAGS="${CFLAGS} -fno-strict-aliasing"
135 distutils-r1_python_compile
136 }
137
138 python_test() {
139 cd "${BUILD_DIR}"/lib* || die
140 ${EPYTHON} tables/tests/test_all.py || die
141 }
142
143 python_install_all() {
144 if use doc; then
145 HTML_DOCS=( doc/html/. )
146 DOCS+=( doc/scripts )
147 fi
148 distutils-r1_python_install_all
149
150 if use examples; then
151 insinto /usr/share/doc/${PF}
152 doins -r examples
153 doins -r contrib
154 fi
155 }