summaryrefslogtreecommitdiff
path: root/dev-python/pandas/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2021-10-30 19:43:03 +0100
committerV3n3RiX <venerix@koprulu.sector>2021-10-30 19:43:03 +0100
commit162945d2a91899b637bbb9e163b406350de12906 (patch)
tree49cc2cc66f724a7c6f033f93aaba4ae3be1f2259 /dev-python/pandas/files
parentf660c6de84558324d784218831d8f0782ee41e2e (diff)
gentoo resync : 30.10.2021
Diffstat (limited to 'dev-python/pandas/files')
-rw-r--r--dev-python/pandas/files/pandas-1.3.4-arm-tests.patch21
1 files changed, 21 insertions, 0 deletions
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 000000000000..c30d10460b63
--- /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():