aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2019-05-11 22:24:26 +0200
committerMichał Górny <mgorny@gentoo.org>2019-05-11 22:24:26 +0200
commit31a8a27b0851c783bb7ec82d14435e5d7d0faf49 (patch)
tree47db2d3392135493e86d361314338bac76f1c899
parentUpdated NEWS for v0.4.{1,2,3} (diff)
downloadgentoolkit-0.4.4.tar.gz
gentoolkit-0.4.4.tar.bz2
gentoolkit-0.4.4.zip
eshowkw: Add riscv to ~arch-only archesgentoolkit-0.4.4
Signed-off-by: Michał Górny <mgorny@gentoo.org>
-rw-r--r--pym/gentoolkit/eshowkw/keywords_header.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/gentoolkit/eshowkw/keywords_header.py b/pym/gentoolkit/eshowkw/keywords_header.py
index ab9117e..c17a777 100644
--- a/pym/gentoolkit/eshowkw/keywords_header.py
+++ b/pym/gentoolkit/eshowkw/keywords_header.py
@@ -81,7 +81,7 @@ def load_profile_data(portdir=None, repo='gentoo'):
# TODO: support arches.desc once the GLEP is finalized
# for now, we just hardcode ~mips + *-* (fbsd, prefix)
for k, v in arch_status.items():
- if k == 'mips' or '-' in k:
+ if k in ('mips', 'riscv') or '-' in k:
arch_status[k] = (v, '~arch')
else:
arch_status[k] = (v, 'arch')