1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
|
# R overlay -- description field definition
# Copyright 2006-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
#
# ----------------------------------------------------------------------------
#
# This file controls how DESCRIPTION fields are used
# It is read in raw mode so that strings like '%var' are not interpolated.
# A per-field section is introduced with [<field name>] and
# contains flags and options.
#
#
# known field options are:
#
# default_value = <some value>
# -- set the default value for this field,
# which implies that any read description data
# will contain this field (with value either
# from the description file or the default one).
# 'Disables' the mandatory flag.
#
# allowed_value = <some value>
# -- declares that this field has a value
# whitelist and adds <some value> to this list.
#
# allowed_values = <some values>
# -- same as allowed_value but witj multiple values
#
# alias_withcase = <aliases>,
# alias = <aliases>
# -- declares case-sensitive field name aliases
# aliases can be used to fix typos as well as
# to remap/merge fields (e.g. Title -> Description)
#
# alias_nocase = <aliases>
# -- declares case-insenstivite field names aliases
#
#
# flags = <flags>
# -- add flags to this field; note that any value-less
# option is interpreted as flag
#
# options with multiple values are read as a <value>[, <value>]* list
#
# and known field flags are:
# joinValues
# -- declares that the field's value is one string even if it
# spans over multiple lines (the lines will be joined with ' ')
# isList
# -- declares that the field's value is a list
# (the default regex for splitting the values is '\s*[,;]{1}\s*')
#
# isWhitespaceList
# -- declares that the field's value is a list
# separated by whitespace. Has no effect if 'isList' is set.
# mandatory
# -- declares that this field has to have an value that evaluates
# to True (value is set and not empty).
# This flag is (effectively) useless in conjunction with
# default_value unless the default value evaluates to False.
#
# ignore
# -- ignore this field entirely
#
#
# Flags are always case-insensitive.
# Note that it is not checked whether a flag is known or not,
# which means you can add anything here.
#
# ----------------------------------------------------------------------------
[Description]
joinValues
[Title]
joinValues
[Package]
joinValues
[License]
isList
[Version]
mandatory
joinValues
[Suggests]
alias_nocase = Suggests, Suggest, %Suggests, Suggets, Recommends
isList
[Depends]
alias_nocase = Depends, Dependencies, Dependes, %Depends, Depents, Require, Requires
isList
[Imports]
alias_nocase = Imports, Import
isList
[LinkingTo]
alias_nocase = LinkingTo, LinkingdTo, LinkinTo
isList
[SystemRequirements]
alias_nocase = SystemRequirements, SystemRequirement
isList
[OS_Type]
alias_nocase = OS_TYPE
allowed_values = unix
|