aboutsummaryrefslogtreecommitdiff
blob: b0d355d1e2eaa53df8ffd351fdfb86e8851453bc (plain)
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
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
# 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 with 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 ' ')
#             The default behavior is to join lines 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.
#
#  isLicense
#         -- use hardcoded 'License' field parsing
#             configuration for this flag is done in the main config file
#
#  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.
#
# ----------------------------------------------------------------------------

## Useful docs:
##
## http://cran.r-project.org/doc/manuals/R-exts.html#The-DESCRIPTION-file
##
## http://en.wikipedia.org/wiki/Commonly_misspelled_words
##  has some links to other sites as well

[Description]
joinValues

[Title]
joinValues

[Package]
joinValues

# not used
ignore

[License]
alias_nocase = License, Licence, Lisence

# use hardcoded field handling
isLicense


[Version]
joinValues

# not used
ignore
## else
#mandatory

[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

[Homepage]
alias_nocase = Homepage, URL, Webpage
ignore

[Author]
ignore

[Date]
ignore

[Date/Publication]
ignore

[Encoding]
ignore

[Maintainer]
ignore

[Packaged]
ignore

[Repository]
ignore

[Type]
ignore

[ZipData]
ignore

[LazyLoad]
ignore