commit:     f43cbb8edede6496156480e4566c1ad75cca943a
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Mar 17 12:04:26 2021 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Mar 17 12:08:00 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f43cbb8e

dev-python/pandas: Revert all the recent changes

Revert the removal of xlrd and xlwt deps, as well FMA-related changes,
bringing the ebuilds back to -r1.

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 .../{pandas-1.1.5-r2.ebuild => pandas-1.1.5-r1.ebuild}      |  7 +++++--
 .../{pandas-1.2.1-r4.ebuild => pandas-1.2.1-r1.ebuild}      | 13 +++++++++----
 .../{pandas-1.2.2-r2.ebuild => pandas-1.2.2-r1.ebuild}      |  7 +++++--
 .../{pandas-1.2.3-r4.ebuild => pandas-1.2.3-r1.ebuild}      | 13 +++++++++----
 4 files changed, 28 insertions(+), 12 deletions(-)

diff --git a/dev-python/pandas/pandas-1.1.5-r2.ebuild 
b/dev-python/pandas/pandas-1.1.5-r1.ebuild
similarity index 96%
rename from dev-python/pandas/pandas-1.1.5-r2.ebuild
rename to dev-python/pandas/pandas-1.1.5-r1.ebuild
index 3ddd497a821..75aeaa4bcee 100644
--- a/dev-python/pandas/pandas-1.1.5-r2.ebuild
+++ b/dev-python/pandas/pandas-1.1.5-r1.ebuild
@@ -46,6 +46,8 @@ OPTIONAL_DEPEND="
                >=dev-python/xarray-0.10.8[${PYTHON_USEDEP}]
        ' python3_{6,7})
        >=dev-python/sqlalchemy-0.8.1[${PYTHON_USEDEP}]
+       >=dev-python/xlrd-1.0.0[${PYTHON_USEDEP}]
+       dev-python/xlwt[${PYTHON_USEDEP}]
        >=dev-python/scipy-1.1[${PYTHON_USEDEP}]
        X? (
                || (
@@ -77,6 +79,8 @@ DEPEND="${COMMON_DEPEND}
                dev-python/pytz[${PYTHON_USEDEP}]
                dev-python/rpy[${PYTHON_USEDEP}]
                dev-python/sphinx[${PYTHON_USEDEP}]
+               dev-python/xlrd[${PYTHON_USEDEP}]
+               dev-python/xlwt[${PYTHON_USEDEP}]
                dev-python/scipy[${PYTHON_USEDEP}]
                x11-misc/xclip
        )
@@ -96,7 +100,6 @@ DEPEND="${COMMON_DEPEND}
                dev-python/xlsxwriter[${PYTHON_USEDEP}]
                x11-misc/xclip
                x11-misc/xsel
-               !!dev-python/xlwt
        )
 "
 # dev-python/statsmodels invokes a circular dep
@@ -169,7 +172,7 @@ pkg_postinst() {
        optfeature "for msgpack compression using blosc" dev-python/blosc
        optfeature "Template engine for conditional HTML formatting" 
dev-python/jinja
        optfeature "Plotting support" dev-python/matplotlib
-       optfeature "Needed for Excel I/O" ">=dev-python/openpyxl-1.6.1" 
dev-python/xlsxwriter
+       optfeature "Needed for Excel I/O" ">=dev-python/openpyxl-1.6.1" 
dev-python/xlsxwriter dev-python/xlrd dev-python/xlwt
        optfeature "necessary for HDF5-based storage" 
">=dev-python/pytables-3.2.1"
        optfeature "R I/O support" dev-python/rpy
        optfeature "Needed for parts of pandas.stats" dev-python/statsmodels

diff --git a/dev-python/pandas/pandas-1.2.1-r4.ebuild 
b/dev-python/pandas/pandas-1.2.1-r1.ebuild
similarity index 93%
rename from dev-python/pandas/pandas-1.2.1-r4.ebuild
rename to dev-python/pandas/pandas-1.2.1-r1.ebuild
index 215cfe646ee..05a432d3655 100644
--- a/dev-python/pandas/pandas-1.2.1-r4.ebuild
+++ b/dev-python/pandas/pandas-1.2.1-r1.ebuild
@@ -46,6 +46,8 @@ OPTIONAL_DEPEND="
                >=dev-python/xarray-0.10.8[${PYTHON_USEDEP}]
        ' python3_{6,7})
        >=dev-python/sqlalchemy-0.8.1[${PYTHON_USEDEP}]
+       >=dev-python/xlrd-1.0.0[${PYTHON_USEDEP}]
+       dev-python/xlwt[${PYTHON_USEDEP}]
        >=dev-python/scipy-1.1[${PYTHON_USEDEP}]
        X? (
                || (
@@ -77,6 +79,8 @@ DEPEND="${COMMON_DEPEND}
                dev-python/pytz[${PYTHON_USEDEP}]
                dev-python/rpy[${PYTHON_USEDEP}]
                dev-python/sphinx[${PYTHON_USEDEP}]
+               dev-python/xlrd[${PYTHON_USEDEP}]
+               dev-python/xlwt[${PYTHON_USEDEP}]
                dev-python/scipy[${PYTHON_USEDEP}]
                x11-misc/xclip
        )
@@ -96,7 +100,6 @@ DEPEND="${COMMON_DEPEND}
                dev-python/xlsxwriter[${PYTHON_USEDEP}]
                x11-misc/xclip
                x11-misc/xsel
-               !!dev-python/xlwt
        )
 "
 # dev-python/statsmodels invokes a circular dep
@@ -138,8 +141,10 @@ src_test() {
 
 python_test() {
        local deselect=(
-               # test for rounding errors, fails if we have better precision
-               
'pandas/tests/window/test_rolling.py::test_rolling_var_numerical_issues'
+               # broken on practically any hardware/CFLAGS but the one
+               # the patch author was using
+               # https://github.com/pandas-dev/pandas/issues/38921
+               
pandas/tests/window/test_rolling.py::test_rolling_var_numerical_issues
 
                # weird issue, doesn't seem very important
                
'pandas/tests/base/test_misc.py::test_memory_usage[series-with-empty-index]'
@@ -175,7 +180,7 @@ pkg_postinst() {
        optfeature "for msgpack compression using blosc" dev-python/blosc
        optfeature "Template engine for conditional HTML formatting" 
dev-python/jinja
        optfeature "Plotting support" dev-python/matplotlib
-       optfeature "Needed for Excel I/O" ">=dev-python/openpyxl-1.6.1" 
dev-python/xlsxwriter
+       optfeature "Needed for Excel I/O" ">=dev-python/openpyxl-1.6.1" 
dev-python/xlsxwriter dev-python/xlrd dev-python/xlwt
        optfeature "necessary for HDF5-based storage" 
">=dev-python/pytables-3.2.1"
        optfeature "R I/O support" dev-python/rpy
        optfeature "Needed for parts of pandas.stats" dev-python/statsmodels

diff --git a/dev-python/pandas/pandas-1.2.2-r2.ebuild 
b/dev-python/pandas/pandas-1.2.2-r1.ebuild
similarity index 96%
rename from dev-python/pandas/pandas-1.2.2-r2.ebuild
rename to dev-python/pandas/pandas-1.2.2-r1.ebuild
index 98ce6571d61..a79b5b1c18c 100644
--- a/dev-python/pandas/pandas-1.2.2-r2.ebuild
+++ b/dev-python/pandas/pandas-1.2.2-r1.ebuild
@@ -46,6 +46,8 @@ OPTIONAL_DEPEND="
                >=dev-python/xarray-0.10.8[${PYTHON_USEDEP}]
        ' python3_{6,7})
        >=dev-python/sqlalchemy-0.8.1[${PYTHON_USEDEP}]
+       >=dev-python/xlrd-1.0.0[${PYTHON_USEDEP}]
+       dev-python/xlwt[${PYTHON_USEDEP}]
        >=dev-python/scipy-1.1[${PYTHON_USEDEP}]
        X? (
                || (
@@ -77,6 +79,8 @@ DEPEND="${COMMON_DEPEND}
                dev-python/pytz[${PYTHON_USEDEP}]
                dev-python/rpy[${PYTHON_USEDEP}]
                dev-python/sphinx[${PYTHON_USEDEP}]
+               dev-python/xlrd[${PYTHON_USEDEP}]
+               dev-python/xlwt[${PYTHON_USEDEP}]
                dev-python/scipy[${PYTHON_USEDEP}]
                x11-misc/xclip
        )
@@ -96,7 +100,6 @@ DEPEND="${COMMON_DEPEND}
                dev-python/xlsxwriter[${PYTHON_USEDEP}]
                x11-misc/xclip
                x11-misc/xsel
-               !!dev-python/xlwt
        )
 "
 # dev-python/statsmodels invokes a circular dep
@@ -177,7 +180,7 @@ pkg_postinst() {
        optfeature "for msgpack compression using blosc" dev-python/blosc
        optfeature "Template engine for conditional HTML formatting" 
dev-python/jinja
        optfeature "Plotting support" dev-python/matplotlib
-       optfeature "Needed for Excel I/O" ">=dev-python/openpyxl-1.6.1" 
dev-python/xlsxwriter
+       optfeature "Needed for Excel I/O" ">=dev-python/openpyxl-1.6.1" 
dev-python/xlsxwriter dev-python/xlrd dev-python/xlwt
        optfeature "necessary for HDF5-based storage" 
">=dev-python/pytables-3.2.1"
        optfeature "R I/O support" dev-python/rpy
        optfeature "Needed for parts of pandas.stats" dev-python/statsmodels

diff --git a/dev-python/pandas/pandas-1.2.3-r4.ebuild 
b/dev-python/pandas/pandas-1.2.3-r1.ebuild
similarity index 93%
rename from dev-python/pandas/pandas-1.2.3-r4.ebuild
rename to dev-python/pandas/pandas-1.2.3-r1.ebuild
index 6eca3b657e8..a79b5b1c18c 100644
--- a/dev-python/pandas/pandas-1.2.3-r4.ebuild
+++ b/dev-python/pandas/pandas-1.2.3-r1.ebuild
@@ -46,6 +46,8 @@ OPTIONAL_DEPEND="
                >=dev-python/xarray-0.10.8[${PYTHON_USEDEP}]
        ' python3_{6,7})
        >=dev-python/sqlalchemy-0.8.1[${PYTHON_USEDEP}]
+       >=dev-python/xlrd-1.0.0[${PYTHON_USEDEP}]
+       dev-python/xlwt[${PYTHON_USEDEP}]
        >=dev-python/scipy-1.1[${PYTHON_USEDEP}]
        X? (
                || (
@@ -77,6 +79,8 @@ DEPEND="${COMMON_DEPEND}
                dev-python/pytz[${PYTHON_USEDEP}]
                dev-python/rpy[${PYTHON_USEDEP}]
                dev-python/sphinx[${PYTHON_USEDEP}]
+               dev-python/xlrd[${PYTHON_USEDEP}]
+               dev-python/xlwt[${PYTHON_USEDEP}]
                dev-python/scipy[${PYTHON_USEDEP}]
                x11-misc/xclip
        )
@@ -96,7 +100,6 @@ DEPEND="${COMMON_DEPEND}
                dev-python/xlsxwriter[${PYTHON_USEDEP}]
                x11-misc/xclip
                x11-misc/xsel
-               !!dev-python/xlwt
        )
 "
 # dev-python/statsmodels invokes a circular dep
@@ -138,8 +141,10 @@ src_test() {
 
 python_test() {
        local deselect=(
-               # test for rounding errors, fails if we have better precision
-               
'pandas/tests/window/test_rolling.py::test_rolling_var_numerical_issues'
+               # broken on practically any hardware/CFLAGS but the one
+               # the patch author was using
+               # https://github.com/pandas-dev/pandas/issues/38921
+               
pandas/tests/window/test_rolling.py::test_rolling_var_numerical_issues
 
                # weird issue, doesn't seem very important
                
'pandas/tests/base/test_misc.py::test_memory_usage[series-with-empty-index]'
@@ -175,7 +180,7 @@ pkg_postinst() {
        optfeature "for msgpack compression using blosc" dev-python/blosc
        optfeature "Template engine for conditional HTML formatting" 
dev-python/jinja
        optfeature "Plotting support" dev-python/matplotlib
-       optfeature "Needed for Excel I/O" ">=dev-python/openpyxl-1.6.1" 
dev-python/xlsxwriter
+       optfeature "Needed for Excel I/O" ">=dev-python/openpyxl-1.6.1" 
dev-python/xlsxwriter dev-python/xlrd dev-python/xlwt
        optfeature "necessary for HDF5-based storage" 
">=dev-python/pytables-3.2.1"
        optfeature "R I/O support" dev-python/rpy
        optfeature "Needed for parts of pandas.stats" dev-python/statsmodels

Reply via email to