summaryrefslogtreecommitdiff
path: root/tests/pack.scm
diff options
context:
space:
mode:
authorPhilip McGrath <philip@philipmcgrath.com>2022-10-19 01:04:48 -0400
committerLudovic Courtès <ludo@gnu.org>2022-11-18 15:44:38 +0100
commit07482dc0511350d596fdd25f7645dd6f4f91313b (patch)
treeabb17dda079dd554a6ab15eaf73a0fba2e843ac5 /tests/pack.scm
parentb253efef2315ec0bbd5dce1272591d51a2daef0e (diff)
import/utils: spdx-string->license: Match case-insensitively.
SPDX specifies that license identifiers (unlike the 'AND', 'OR', and 'WITH' operators) are matched case-insensitively. * guix/import/utils.scm (%spdx-license-identifiers): New variable. (spdx-string->license): Search in '%spdx-license-identifiers' using 'string-ci=?'. * tests/import-utils.scm ("spdx-string->license"): New test. Co-authored-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'tests/pack.scm')
0 files changed, 0 insertions, 0 deletions