File tree Expand file tree Collapse file tree 3 files changed +33
-14
lines changed
Expand file tree Collapse file tree 3 files changed +33
-14
lines changed Original file line number Diff line number Diff line change @@ -64,9 +64,9 @@ def init(args):
6464 optional = True ,
6565 input_type = str ,
6666 )
67- library_arguments ["home " ] = get_input (
67+ library_arguments ["homepage " ] = get_input (
6868 "Home page URL" ,
69- default = library_arguments .get ("home " , None ),
69+ default = library_arguments .get ("homepage " , None ),
7070 optional = True ,
7171 input_type = str ,
7272 )
Original file line number Diff line number Diff line change 2020 },
2121 "description" : " A list of authors of the library."
2222 },
23- "home " : {
23+ "homepage " : {
2424 "type" : " string" ,
2525 "format" : " uri" ,
2626 "description" : " The homepage URL of the library."
3737 "description" : " The directory where the dependency is located."
3838 }
3939 },
40- "required" : [" directory" ]
40+ "required" : [
41+ " directory"
42+ ]
4143 },
4244 {
4345 "type" : " object" ,
4850 "description" : " The URI of the ontology dependency."
4951 }
5052 },
51- "required" : [" ontology" ]
53+ "required" : [
54+ " ontology"
55+ ]
5256 },
5357 {
5458 "type" : " object" ,
8084 "description" : " The commit hash of the Git repository."
8185 }
8286 },
83- "required" : [" repo" , " path" ],
87+ "required" : [
88+ " repo" ,
89+ " path"
90+ ],
8491 "oneOf" : [
8592 {
86- "required" : [" branch" ]
93+ "required" : [
94+ " branch"
95+ ]
8796 },
8897 {
89- "required" : [" tag" ]
98+ "required" : [
99+ " tag"
100+ ]
90101 },
91102 {
92- "required" : [" commit" ]
103+ "required" : [
104+ " commit"
105+ ]
93106 }
94107 ]
95108 }
96109 },
97- "required" : [" git" ]
110+ "required" : [
111+ " git"
112+ ]
98113 }
99114 ]
100115 }
101116 }
102117 },
103- "required" : [" name" , " version" , " description" ]
104- }
118+ "required" : [
119+ " name" ,
120+ " version" ,
121+ " description"
122+ ]
123+ }
Original file line number Diff line number Diff line change @@ -7,11 +7,11 @@ authors:
77 - {{ author }}
88{%- endif %}
99{%- if home %}
10- home : {{ home }}
10+ homepage : {{ homepage }}
1111{%- endif %}
1212{%- if dependencies %}
1313dependencies :
1414 {%- for dependency in dependencies %}
1515 - {{ dependency }}
1616 {%- endfor %}
17- {%- endif %}
17+ {%- endif %}
You can’t perform that action at this time.
0 commit comments