jlec        14/12/07 16:57:02

  Modified:             pandas-0.15.0.ebuild ChangeLog
  Added:                pandas-9999.ebuild pandas-0.15.1.ebuild
  Removed:              pandas-0.14.1.ebuild pandas-0.14.0.ebuild
                        pandas-0.13.0.ebuild pandas-0.13.1.ebuild
                        pandas-0.12.0.ebuild
  Log:
  dev-python/pandas: Drop old; Version BUmp; backport testsuite patch, #521880
  
  (Portage version: 2.2.15/cvs/Linux x86_64, signed Manifest commit with key 
B9D4F231BD1558AB!)

Revision  Changes    Path
1.2                  dev-python/pandas/pandas-0.15.0.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pandas/pandas-0.15.0.ebuild?rev=1.2&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pandas/pandas-0.15.0.ebuild?rev=1.2&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pandas/pandas-0.15.0.ebuild?r1=1.1&r2=1.2

Index: pandas-0.15.0.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-python/pandas/pandas-0.15.0.ebuild,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- pandas-0.15.0.ebuild        26 Oct 2014 19:41:19 -0000      1.1
+++ pandas-0.15.0.ebuild        7 Dec 2014 16:57:02 -0000       1.2
@@ -1,12 +1,12 @@
 # Copyright 1999-2014 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pandas/pandas-0.15.0.ebuild,v 
1.1 2014/10/26 19:41:19 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pandas/pandas-0.15.0.ebuild,v 
1.2 2014/12/07 16:57:02 jlec Exp $
 
 EAPI=5
 
-PYTHON_COMPAT=( python{2_7,3_3,3_4} )
+PYTHON_COMPAT=( python2_7 python3_{3,4} )
 
-inherit distutils-r1 virtualx flag-o-matic
+inherit distutils-r1 flag-o-matic virtualx
 
 DESCRIPTION="Powerful data structures for data analysis and statistics"
 HOMEPAGE="http://pandas.sourceforge.net/";
@@ -17,9 +17,20 @@
 KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
 IUSE="doc examples excel html test R"
 
+_EXTRA_DEPEND="
+       >=dev-python/google-api-python-client-1.2.0[${PYTHON_USEDEP}]
+       <dev-python/openpyxl-2[${PYTHON_USEDEP}]
+       dev-python/pymysql[${PYTHON_USEDEP}]
+       >=dev-python/python-gflags[${PYTHON_USEDEP}]
+       dev-python/psycopg:2[${PYTHON_USEDEP}]
+       dev-python/statsmodels[${PYTHON_USEDEP}]
+       dev-python/sqlalchemy[${PYTHON_USEDEP}]
+       dev-python/xlsxwriter[${PYTHON_USEDEP}]
+       "
 CDEPEND="
        >dev-python/numpy-1.7[${PYTHON_USEDEP}]
-       >=dev-python/python-dateutil-2.0[${PYTHON_USEDEP}]"
+       >=dev-python/python-dateutil-2.0[${PYTHON_USEDEP}]
+       !~dev-python/openpyxl-1.9.0[${PYTHON_USEDEP}]"
 DEPEND="${CDEPEND}
        doc? (
                dev-python/beautifulsoup:4[${PYTHON_USEDEP}]
@@ -38,7 +49,12 @@
                dev-python/xlwt[$(python_gen_usedep 'python2_7')]
                x11-misc/xclip
                )
-       test? ( dev-python/nose[${PYTHON_USEDEP}] )"
+       test? (
+               ${EXTRA_DEPEND}
+               dev-python/nose[${PYTHON_USEDEP}]
+               x11-misc/xclip
+               x11-misc/xsel
+               )"
 # dev-python/statsmodels invokes a circular dep
 #  hence rm from doc? ( ), again
 RDEPEND="${CDEPEND}
@@ -61,6 +77,10 @@
        )
        R? ( dev-python/rpy[${PYTHON_USEDEP}] )"
 
+PATCHES=(
+       "${FILESDIR}"/${P}-backport-GH8587.patch
+)
+
 python_prepare_all() {
        if use doc; then
                # Prevent un-needed download during build
@@ -101,9 +121,9 @@
 
 python_test() {
        pushd  "${BUILD_DIR}"/lib > /dev/null
+       VIRTUALX_COMMAND="nosetests"
        PYTHONPATH=. MPLCONFIGDIR=. HOME=. \
-               nosetests --verbosity=3 -A 'not network and not disabled' 
pandas \
-               || die "Tests failed under ${EPYTHON}"
+               virtualmake --verbosity=3 -A 'not network and not disabled' 
pandas
        popd > /dev/null
 }
 
@@ -118,3 +138,11 @@
        use examples && local EXAMPLES=( examples/. )
        distutils-r1_python_install_all
 }
+
+pkg_postinst() {
+       local x
+       elog "Additional funtionality following packages can be installed:"
+       for x in ${EXTRA_DEPEND}; do
+               optfeature "" ${x}
+       done
+}



1.32                 dev-python/pandas/ChangeLog

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

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-python/pandas/ChangeLog,v
retrieving revision 1.31
retrieving revision 1.32
diff -u -r1.31 -r1.32
--- ChangeLog   26 Oct 2014 19:41:19 -0000      1.31
+++ ChangeLog   7 Dec 2014 16:57:02 -0000       1.32
@@ -1,6 +1,16 @@
 # ChangeLog for dev-python/pandas
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pandas/ChangeLog,v 1.31 
2014/10/26 19:41:19 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pandas/ChangeLog,v 1.32 
2014/12/07 16:57:02 jlec Exp $
+
+*pandas-9999 (07 Dec 2014)
+*pandas-0.15.1 (07 Dec 2014)
+
+  07 Dec 2014; Justin Lecher <[email protected]> -pandas-0.12.0.ebuild,
+  -pandas-0.13.0.ebuild, -pandas-0.13.1.ebuild, -pandas-0.14.0.ebuild,
+  -pandas-0.14.1.ebuild, pandas-0.15.0.ebuild, +pandas-0.15.1.ebuild,
+  +pandas-9999.ebuild, +files/pandas-0.15.0-backport-GH8587.patch,
+  +files/pandas-0.15.1-skip-tz-test.patch:
+  Drop old; Version BUmp; backport testsuite patch, #521880
 
 *pandas-0.15.0 (26 Oct 2014)
 



1.1                  dev-python/pandas/pandas-9999.ebuild

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

Index: pandas-9999.ebuild
===================================================================
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/pandas/pandas-9999.ebuild,v 1.1 
2014/12/07 16:57:02 jlec Exp $

EAPI=5

PYTHON_COMPAT=( python2_7 python3_{3,4} )

inherit distutils-r1 flag-o-matic git-r3 virtualx

DESCRIPTION="Powerful data structures for data analysis and statistics"
HOMEPAGE="http://pandas.sourceforge.net/";
SRC_URI=""
EGIT_REPO_URI="https://github.com/pydata/pandas.git";

SLOT="0"
LICENSE="BSD"
KEYWORDS=""
IUSE="doc examples excel html test R"

_EXTRA_DEPEND="
        >=dev-python/google-api-python-client-1.2.0[${PYTHON_USEDEP}]
        <dev-python/openpyxl-2[${PYTHON_USEDEP}]
        dev-python/pymysql[${PYTHON_USEDEP}]
        >=dev-python/python-gflags[${PYTHON_USEDEP}]
        dev-python/psycopg:2[${PYTHON_USEDEP}]
        dev-python/statsmodels[${PYTHON_USEDEP}]
        dev-python/sqlalchemy[${PYTHON_USEDEP}]
        dev-python/xlsxwriter[${PYTHON_USEDEP}]
        "
CDEPEND="
        >dev-python/numpy-1.7[${PYTHON_USEDEP}]
        >=dev-python/python-dateutil-2.0[${PYTHON_USEDEP}]
        !~dev-python/openpyxl-1.9.0[${PYTHON_USEDEP}]"
DEPEND="${CDEPEND}
        doc? (
                dev-python/beautifulsoup:4[${PYTHON_USEDEP}]
                dev-python/ipython[${PYTHON_USEDEP}]
                dev-python/html5lib[${PYTHON_USEDEP}]
                dev-python/lxml[${PYTHON_USEDEP}]
                dev-python/matplotlib[${PYTHON_USEDEP}]
                >=dev-python/openpyxl-1.6.1[${PYTHON_USEDEP}]
                <dev-python/openpyxl-2.0[${PYTHON_USEDEP}]
                >=dev-python/pytables-3.0.0[${PYTHON_USEDEP}]
                dev-python/pytz[${PYTHON_USEDEP}]
                dev-python/rpy[${PYTHON_USEDEP}]
                sci-libs/scipy[${PYTHON_USEDEP}]
                >=dev-python/sphinx-1.2.1[${PYTHON_USEDEP}]
                dev-python/xlrd[$(python_gen_usedep 'python2_7')]
                dev-python/xlwt[$(python_gen_usedep 'python2_7')]
                x11-misc/xclip
                )
        test? (
                ${EXTRA_DEPEND}
                dev-python/nose[${PYTHON_USEDEP}]
                x11-misc/xclip
                x11-misc/xsel
                )"
# dev-python/statsmodels invokes a circular dep
#  hence rm from doc? ( ), again
RDEPEND="${CDEPEND}
        >=dev-python/numexpr-2.1[${PYTHON_USEDEP}]
        dev-python/bottleneck[${PYTHON_USEDEP}]
        dev-python/matplotlib[${PYTHON_USEDEP}]
        dev-python/pytables[${PYTHON_USEDEP}]
        dev-python/pytz[${PYTHON_USEDEP}]
        sci-libs/scipy[${PYTHON_USEDEP}]
        excel? (
                >=dev-python/openpyxl-1.6.1[${PYTHON_USEDEP}]
                dev-python/xlrd[$(python_gen_usedep 'python2_7')]
                dev-python/xlwt[$(python_gen_usedep 'python2_7')]
        )
        html? (
                dev-python/beautifulsoup:4[${PYTHON_USEDEP}]
                || (
                        dev-python/lxml[${PYTHON_USEDEP}]
                        dev-python/html5lib[${PYTHON_USEDEP}] )
        )
        R? ( dev-python/rpy[${PYTHON_USEDEP}] )"

python_prepare_all() {
        if use doc; then
                # Prevent un-needed download during build
                sed -e "/^              'sphinx.ext.intersphinx',/d" -i 
doc/source/conf.py || die
        fi

        distutils-r1_python_prepare_all
}

python_compile_all() {
        # To build docs the need be located in $BUILD_DIR,
        # else PYTHONPATH points to unusable modules.
        if use doc; then
                cd "${BUILD_DIR}"/lib || die
                cp -ar "${S}"/doc . && cd doc || die
                LANG=C PYTHONPATH=. "${EPYTHON}" make.py html || die
        fi
}

_python_compile() {
        # https://github.com/pydata/pandas/issues/8033
        if ! python_is_python3; then
                local CFLAGS=${CFLAGS}
                local CXXFLAGS=${CXXFLAGS}
                export CFLAGS
                export CXXFLAGS
                append-cflags -fno-strict-aliasing
                append-cxxflags -fno-strict-aliasing
        fi

        distutils-r1_python_compile
}

src_test() {
        local DISTUTILS_NO_PARALLEL_BUILD=1
        distutils-r1_src_test
}

python_test() {
        pushd  "${BUILD_DIR}"/lib > /dev/null
        VIRTUALX_COMMAND="nosetests"
        PYTHONPATH=. MPLCONFIGDIR=. HOME=. \
                virtualmake --verbosity=3 -A 'not network and not disabled' 
pandas
        popd > /dev/null
}

python_install_all() {
        if use doc; then
                dodoc -r "${BUILD_DIR}"/lib/doc/build/html
                einfo "An initial build of docs is absent of references to 
statsmodels"
                einfo "due to circular dependency. To have them included, 
emerge"
                einfo "statsmodels next and re-emerge pandas with USE doc"
        fi

        use examples && local EXAMPLES=( examples/. )
        distutils-r1_python_install_all
}

pkg_postinst() {
        local x
        elog "Additional funtionality following packages can be installed:"
        for x in ${EXTRA_DEPEND}; do
                optfeature "" ${x}
        done
}



1.1                  dev-python/pandas/pandas-0.15.1.ebuild

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

Index: pandas-0.15.1.ebuild
===================================================================
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/pandas/pandas-0.15.1.ebuild,v 1.1 
2014/12/07 16:57:02 jlec Exp $

EAPI=5

PYTHON_COMPAT=( python2_7 python3_{3,4} )

inherit distutils-r1 flag-o-matic virtualx

DESCRIPTION="Powerful data structures for data analysis and statistics"
HOMEPAGE="http://pandas.sourceforge.net/";
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"

SLOT="0"
LICENSE="BSD"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="doc examples excel html test R"

_EXTRA_DEPEND="
        >=dev-python/google-api-python-client-1.2.0[${PYTHON_USEDEP}]
        <dev-python/openpyxl-2[${PYTHON_USEDEP}]
        dev-python/pymysql[${PYTHON_USEDEP}]
        >=dev-python/python-gflags[${PYTHON_USEDEP}]
        dev-python/psycopg:2[${PYTHON_USEDEP}]
        dev-python/statsmodels[${PYTHON_USEDEP}]
        dev-python/sqlalchemy[${PYTHON_USEDEP}]
        dev-python/xlsxwriter[${PYTHON_USEDEP}]
        "
CDEPEND="
        >dev-python/numpy-1.7[${PYTHON_USEDEP}]
        >=dev-python/python-dateutil-2.0[${PYTHON_USEDEP}]
        !~dev-python/openpyxl-1.9.0[${PYTHON_USEDEP}]"
DEPEND="${CDEPEND}
        doc? (
                dev-python/beautifulsoup:4[${PYTHON_USEDEP}]
                dev-python/ipython[${PYTHON_USEDEP}]
                dev-python/html5lib[${PYTHON_USEDEP}]
                dev-python/lxml[${PYTHON_USEDEP}]
                dev-python/matplotlib[${PYTHON_USEDEP}]
                >=dev-python/openpyxl-1.6.1[${PYTHON_USEDEP}]
                <dev-python/openpyxl-2.0[${PYTHON_USEDEP}]
                >=dev-python/pytables-3.0.0[${PYTHON_USEDEP}]
                dev-python/pytz[${PYTHON_USEDEP}]
                dev-python/rpy[${PYTHON_USEDEP}]
                sci-libs/scipy[${PYTHON_USEDEP}]
                >=dev-python/sphinx-1.2.1[${PYTHON_USEDEP}]
                dev-python/xlrd[$(python_gen_usedep 'python2_7')]
                dev-python/xlwt[$(python_gen_usedep 'python2_7')]
                x11-misc/xclip
                )
        test? (
                ${EXTRA_DEPEND}
                dev-python/nose[${PYTHON_USEDEP}]
                x11-misc/xclip
                x11-misc/xsel
                )"
# dev-python/statsmodels invokes a circular dep
#  hence rm from doc? ( ), again
RDEPEND="${CDEPEND}
        >=dev-python/numexpr-2.1[${PYTHON_USEDEP}]
        dev-python/bottleneck[${PYTHON_USEDEP}]
        dev-python/matplotlib[${PYTHON_USEDEP}]
        dev-python/pytables[${PYTHON_USEDEP}]
        dev-python/pytz[${PYTHON_USEDEP}]
        sci-libs/scipy[${PYTHON_USEDEP}]
        excel? (
                >=dev-python/openpyxl-1.6.1[${PYTHON_USEDEP}]
                dev-python/xlrd[$(python_gen_usedep 'python2_7')]
                dev-python/xlwt[$(python_gen_usedep 'python2_7')]
        )
        html? (
                dev-python/beautifulsoup:4[${PYTHON_USEDEP}]
                || (
                        dev-python/lxml[${PYTHON_USEDEP}]
                        dev-python/html5lib[${PYTHON_USEDEP}] )
        )
        R? ( dev-python/rpy[${PYTHON_USEDEP}] )"

PATCHES=(
        "${FILESDIR}"/${P}-skip-tz-test.patch
)

python_prepare_all() {
        if use doc; then
                # Prevent un-needed download during build
                sed -e "/^              'sphinx.ext.intersphinx',/d" -i 
doc/source/conf.py || die
        fi

        distutils-r1_python_prepare_all
}

python_compile_all() {
        # To build docs the need be located in $BUILD_DIR,
        # else PYTHONPATH points to unusable modules.
        if use doc; then
                cd "${BUILD_DIR}"/lib || die
                cp -ar "${S}"/doc . && cd doc || die
                LANG=C PYTHONPATH=. "${EPYTHON}" make.py html || die
        fi
}

_python_compile() {
        # https://github.com/pydata/pandas/issues/8033
        if ! python_is_python3; then
                local CFLAGS=${CFLAGS}
                local CXXFLAGS=${CXXFLAGS}
                export CFLAGS
                export CXXFLAGS
                append-cflags -fno-strict-aliasing
                append-cxxflags -fno-strict-aliasing
        fi

        distutils-r1_python_compile
}

src_test() {
        local DISTUTILS_NO_PARALLEL_BUILD=1
        distutils-r1_src_test
}

python_test() {
        pushd  "${BUILD_DIR}"/lib > /dev/null
        VIRTUALX_COMMAND="nosetests"
        PYTHONPATH=. MPLCONFIGDIR=. HOME=. \
                virtualmake --verbosity=3 -A 'not network and not disabled' 
pandas
        popd > /dev/null
}

python_install_all() {
        if use doc; then
                dodoc -r "${BUILD_DIR}"/lib/doc/build/html
                einfo "An initial build of docs is absent of references to 
statsmodels"
                einfo "due to circular dependency. To have them included, 
emerge"
                einfo "statsmodels next and re-emerge pandas with USE doc"
        fi

        use examples && local EXAMPLES=( examples/. )
        distutils-r1_python_install_all
}

pkg_postinst() {
        local x
        elog "Additional funtionality following packages can be installed:"
        for x in ${EXTRA_DEPEND}; do
                optfeature "" ${x}
        done
}




Reply via email to