Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/cygwin-apps/calm.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon Turney <jon.turney@dronecode.org.uk>2021-05-11 17:34:18 +0300
committerJon Turney <jon.turney@dronecode.org.uk>2021-05-31 16:18:37 +0300
commit058caed842733bb45f23b8f0dcd016626bc6e680 (patch)
treecbae3f3b6f4575b58481860e2018ee61cb1063a8 /calm/hint.py
parent88ddf1ea8212fcffb8a9b12f7645b16ea446f97c (diff)
Disallow requires: and obsoletes: in src.hint files
Disallow requires: and obsoletes: in src.hint files, as noted in bb467a09 These are being ignored, and are only present in src.hint files created from .hint files for old packages. Update test data appropriately for dropped hints, and for the hint fixing backup files created during upload.
Diffstat (limited to 'calm/hint.py')
-rwxr-xr-xcalm/hint.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/calm/hint.py b/calm/hint.py
index 9deb2f0..dc5efe8 100755
--- a/calm/hint.py
+++ b/calm/hint.py
@@ -45,8 +45,6 @@ commonkeys = {
'ldesc': 'multilineval',
'category': 'val',
'sdesc': 'val',
- 'requires': 'optval',
- 'obsoletes': 'optval',
'test': 'noval', # mark the package as a test version
'version': 'val', # version override
'disable-check': 'val',
@@ -57,6 +55,8 @@ hintkeys[pvr] = commonkeys.copy()
hintkeys[pvr].update({
'message': 'multilineval',
'external-source': 'val',
+ 'requires': 'optval',
+ 'obsoletes': 'optval',
'depends': 'optval',
'provides': 'val',
'conflicts': 'val',