jlec        15/05/15 09:58:58

  Modified:             ChangeLog
  Added:                pytables-3.2.0.ebuild pytables-3.1.1-r2.ebuild
  Log:
  Version Bump and fix compilation/linking against dev-libs/c-blosc, bug 
#547200 & bug #549514
  
  (Portage version: 2.2.19/cvs/Linux x86_64, signed Manifest commit with key 
E9402A79B03529A2!)

Revision  Changes    Path
1.60                 dev-python/pytables/ChangeLog

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

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-python/pytables/ChangeLog,v
retrieving revision 1.59
retrieving revision 1.60
diff -u -r1.59 -r1.60
--- ChangeLog   7 Apr 2015 14:18:09 -0000       1.59
+++ ChangeLog   15 May 2015 09:58:58 -0000      1.60
@@ -1,6 +1,15 @@
 # ChangeLog for dev-python/pytables
 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pytables/ChangeLog,v 1.59 
2015/04/07 14:18:09 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pytables/ChangeLog,v 1.60 
2015/05/15 09:58:58 jlec Exp $
+
+*pytables-3.2.0 (15 May 2015)
+*pytables-3.1.1-r2 (15 May 2015)
+
+  15 May 2015; Justin Lecher <[email protected]>
+  +files/pytables-3.1.1-blosc.patch, +files/pytables-3.2.0-blosc.patch,
+  +pytables-3.1.1-r2.ebuild, +pytables-3.2.0.ebuild:
+  Version Bump and fix compilation/linking against dev-libs/c-blosc, bug 
#547200
+  & bug #549514
 
   17 Feb 2015; Justin Lecher <[email protected]> metadata.xml:
   Drop unused local USE descr.



1.1                  dev-python/pytables/pytables-3.2.0.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pytables/pytables-3.2.0.ebuild?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pytables/pytables-3.2.0.ebuild?rev=1.1&content-type=text/plain

Index: pytables-3.2.0.ebuild
===================================================================
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/pytables/pytables-3.2.0.ebuild,v 
1.1 2015/05/15 09:58:58 jlec Exp $

EAPI=5

PYTHON_COMPAT=( python2_7 python3_{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"

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

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

DOCS=( ANNOUNCE.txt RELEASE_NOTES.txt THANKS )

PATCHES=(
        "${FILESDIR}"/${P}-blosc.patch
        )

python_prepare_all() {
        export HDF5_DIR="${EPREFIX}"/usr
        sed \
                -e "s:/usr:${EPREFIX}/usr:g" \
                -e 's:"c-blosc/hdf5/blosc_filter.c"::g' \
                -i setup.py || die
        rm -r c-blosc/{blosc,hdf5,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
}



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

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

Index: pytables-3.1.1-r2.ebuild
===================================================================
# Copyright 1999-2015 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-r2.ebuild,v 1.1 
2015/05/15 09:58:58 jlec Exp $

EAPI=5

PYTHON_COMPAT=( python2_7 python3_{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"

RDEPEND="
        app-arch/bzip2:0=
        dev-libs/c-blosc:0=[hdf5]
        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
        "${FILESDIR}"/${P}-blosc.patch
        )

python_prepare_all() {
        export HDF5_DIR="${EPREFIX}"/usr
        sed \
                -e "s:/usr:${EPREFIX}/usr:g" \
                -e 's:"c-blosc/hdf5/blosc_filter.c"::g' \
                -i setup.py || die
        rm -r c-blosc/{blosc,hdf5,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