From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pandas/files/, dev-python/pandas/
Date: Fri, 29 Oct 2021 16:59:46 +0000 (UTC) [thread overview]
Message-ID: <1635526768.45d65df5773c2bcaf1241e5c0881c7308d9c6740.sam@gentoo> (raw)
commit: 45d65df5773c2bcaf1241e5c0881c7308d9c6740
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Oct 29 16:59:28 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Oct 29 16:59:28 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=45d65df5
dev-python/pandas: fix detecting 32-bit arm (for skipping some tests)
Bug: https://bugs.gentoo.org/818964
Signed-off-by: Sam James <sam <AT> gentoo.org>
.../pandas/files/pandas-1.3.4-arm-tests.patch | 21 +++++++++++++++++++++
dev-python/pandas/pandas-1.3.4.ebuild | 5 +++++
2 files changed, 26 insertions(+)
diff --git a/dev-python/pandas/files/pandas-1.3.4-arm-tests.patch b/dev-python/pandas/files/pandas-1.3.4-arm-tests.patch
new file mode 100644
index 00000000000..c30d10460b6
--- /dev/null
+++ b/dev-python/pandas/files/pandas-1.3.4-arm-tests.patch
@@ -0,0 +1,21 @@
+https://bugs.gentoo.org/818964
+https://github.com/pandas-dev/pandas/commit/b0992ee2f4653c7d70ddbad6f2d172a4ef0bda32
+
+From: Sam James <sam@cmpct.info>
+Date: Fri, 29 Oct 2021 17:24:01 +0100
+Subject: [PATCH] Update is_platform_arm() to detect 32-bit arm and other
+ variants (#44225)
+
+--- a/pandas/compat/__init__.py
++++ b/pandas/compat/__init__.py
+@@ -99,7 +99,9 @@ def is_platform_arm() -> bool:
+ bool
+ True if the running platform uses ARM architecture.
+ """
+- return platform.machine() in ("arm64", "aarch64")
++ return platform.machine() in ("arm64", "aarch64") or platform.machine().startswith(
++ "armv"
++ )
+
+
+ def import_lzma():
diff --git a/dev-python/pandas/pandas-1.3.4.ebuild b/dev-python/pandas/pandas-1.3.4.ebuild
index 4c3b594f00c..4d866a1cf62 100644
--- a/dev-python/pandas/pandas-1.3.4.ebuild
+++ b/dev-python/pandas/pandas-1.3.4.ebuild
@@ -106,6 +106,11 @@ RDEPEND="${COMMON_DEPEND}
full-support? ( ${OPTIONAL_DEPEND} )
"
+PATCHES=(
+ # Upstream patch to fix 32-bit ARM test detection
+ "${FILESDIR}"/${P}-arm-tests.patch
+)
+
python_prepare_all() {
# Prevent un-needed download during build
sed -e "/^ 'sphinx.ext.intersphinx',/d" \
next reply other threads:[~2021-10-29 16:59 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-10-29 16:59 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-11-13 6:55 [gentoo-commits] repo/gentoo:master commit in: dev-python/pandas/files/, dev-python/pandas/ Michał Górny
2023-12-09 10:32 Michał Górny
2023-08-31 20:21 Michał Górny
2020-08-07 19:56 Michał Górny
2020-01-19 19:54 Pacho Ramos
2018-08-23 18:44 Virgil Dupras
2018-05-10 14:10 Andreas Sturmlechner
2016-12-03 13:45 Justin Lecher
2015-11-16 11:12 Justin Lecher
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1635526768.45d65df5773c2bcaf1241e5c0881c7308d9c6740.sam@gentoo \
--to=sam@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox