Skip to content

Commit

Permalink
dev-python/numpy: use unknown arch if uname fails
Browse files Browse the repository at this point in the history
Signed-off-by: Sam James <[email protected]>
  • Loading branch information
thesamesam committed Nov 19, 2021
1 parent e6878da commit f632e9e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dev-python/numpy/numpy-1.21.3-r1.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ python_test() {
numpy/typing/tests/test_typing.py::test_reveal[arrayterator.py]
)

if use arm && [[ $(uname -m) == "armv8l" ]] ; then
if use arm && [[ $(uname -m || echo "unknown") == "armv8l" ]] ; then
# Degenerate case. arm32 chroot on arm64.
# bug #774108
deselect+=(
Expand Down
2 changes: 1 addition & 1 deletion dev-python/numpy/numpy-1.21.4-r1.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ python_test() {
numpy/typing/tests/test_typing.py::test_reveal[arrayterator.py]
)

if use arm && [[ $(uname -m) == "armv8l" ]] ; then
if use arm && [[ $(uname -m || echo "unknown") == "armv8l" ]] ; then
# Degenerate case. arm32 chroot on arm64.
# bug #774108
deselect+=(
Expand Down
2 changes: 1 addition & 1 deletion dev-python/numpy/numpy-1.21.4.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ python_test() {
numpy/typing/tests/test_typing.py::test_reveal[arrayterator.py]
)

if use arm && [[ $(uname -m) == "armv8l" ]] ; then
if use arm && [[ $(uname -m || echo "unknown") == "armv8l" ]] ; then
# Degenerate case. arm32 chroot on arm64.
# bug #774108
deselect+=(
Expand Down

0 comments on commit f632e9e

Please sign in to comment.