jlec        14/10/31 12:52:06

  Modified:             ChangeLog pytables-3.1.1.ebuild
  Added:                pytables-3.1.1-r1.ebuild
  Log:
  dev-python/pytables: Backport fix for numpy-1.9, #527366
  
  (Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key 
B9D4F231BD1558AB!)

Revision  Changes    Path
1.54                 dev-python/pytables/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pytables/ChangeLog?rev=1.54&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pytables/ChangeLog?rev=1.54&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pytables/ChangeLog?r1=1.53&r2=1.54

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-python/pytables/ChangeLog,v
retrieving revision 1.53
retrieving revision 1.54
diff -u -r1.53 -r1.54
--- ChangeLog   17 Sep 2014 07:21:57 -0000      1.53
+++ ChangeLog   31 Oct 2014 12:52:06 -0000      1.54
@@ -1,6 +1,12 @@
 # ChangeLog for dev-python/pytables
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pytables/ChangeLog,v 1.53 
2014/09/17 07:21:57 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pytables/ChangeLog,v 1.54 
2014/10/31 12:52:06 jlec Exp $
+
+*pytables-3.1.1-r1 (31 Oct 2014)
+
+  31 Oct 2014; Justin Lecher <[email protected]> pytables-3.1.1.ebuild,
+  +pytables-3.1.1-r1.ebuild, +files/pytables-3.1.1-numpy19-backport.patch:
+  Backport fix for numpy-1.9, #527366
 
   17 Sep 2014; Justin Lecher <[email protected]> pytables-3.1.1.ebuild,
   +files/pytables-3.1.1-cython-backport.patch, metadata.xml:



1.4                  dev-python/pytables/pytables-3.1.1.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pytables/pytables-3.1.1.ebuild?rev=1.4&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pytables/pytables-3.1.1.ebuild?rev=1.4&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pytables/pytables-3.1.1.ebuild?r1=1.3&r2=1.4

Index: pytables-3.1.1.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-python/pytables/pytables-3.1.1.ebuild,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- pytables-3.1.1.ebuild       17 Sep 2014 07:21:57 -0000      1.3
+++ pytables-3.1.1.ebuild       31 Oct 2014 12:52:06 -0000      1.4
@@ -1,6 +1,6 @@
 # Copyright 1999-2014 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pytables/pytables-3.1.1.ebuild,v 
1.3 2014/09/17 07:21:57 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pytables/pytables-3.1.1.ebuild,v 
1.4 2014/10/31 12:52:06 jlec Exp $
 
 EAPI=5
 
@@ -26,7 +26,7 @@
        app-arch/bzip2:0=
        dev-libs/c-blosc:0=
        dev-libs/lzo:2=
-       dev-python/numpy[${PYTHON_USEDEP}]
+       <dev-python/numpy-1.9[${PYTHON_USEDEP}]
        dev-python/numexpr[${PYTHON_USEDEP}]
        sci-libs/hdf5:0="
 DEPEND="${RDEPEND}



1.1                  dev-python/pytables/pytables-3.1.1-r1.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pytables/pytables-3.1.1-r1.ebuild?rev=1.1&view=markup
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

Index: pytables-3.1.1-r1.ebuild
===================================================================
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $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 $

EAPI=5

PYTHON_COMPAT=( python{2_7,3_2,3_3,3_4} )

MY_PN=tables
MY_P=${MY_PN}-${PV}

inherit distutils-r1

DESCRIPTION="Hierarchical datasets for Python"
HOMEPAGE="http://www.pytables.org/";
SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"

SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
LICENSE="BSD"
IUSE="doc examples"

REQUIRED_USE="${PYTHON_REQUIRED_USE}"

RDEPEND="
        app-arch/bzip2:0=
        dev-libs/c-blosc:0=
        dev-libs/lzo:2=
        dev-python/numpy[${PYTHON_USEDEP}]
        dev-python/numexpr[${PYTHON_USEDEP}]
        sci-libs/hdf5:0="
DEPEND="${RDEPEND}
        >=dev-python/cython-0.14[${PYTHON_USEDEP}]"

S="${WORKDIR}/${MY_P}"

DOCS=( ANNOUNCE.txt RELEASE_NOTES.txt THANKS )

PATCHES=(
        "${FILESDIR}"/${P}-cython-backport.patch
        "${FILESDIR}"/${P}-numpy19-backport.patch
        )

python_prepare_all() {
        export HDF5_DIR="${EPREFIX}"/usr
        sed -i -e "s:/usr:${EPREFIX}/usr:g" setup.py || die
        rm -r c-blosc/{blosc,internal-complibs} || die
        distutils-r1_python_prepare_all
}

python_compile() {
        python_is_python3 || local -x CFLAGS="${CFLAGS} -fno-strict-aliasing"
        distutils-r1_python_compile
}

python_test() {
        cd "${BUILD_DIR}"/lib* || die
        ${EPYTHON} tables/tests/test_all.py || die
}

python_install_all() {
        if use doc; then
                HTML_DOCS=( doc/html/. )
                DOCS+=( doc/scripts )
        fi
        distutils-r1_python_install_all

        if use examples; then
                insinto /usr/share/doc/${PF}
                doins -r examples
                doins -r contrib
        fi
}




Reply via email to