You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: conda_recipe_v2_schema/model.py
+9-4Lines changed: 9 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -92,7 +92,7 @@ class BaseSource(StrictBaseModel):
92
92
classUrlSource(BaseSource):
93
93
url: NonEmptyStr|list[NonEmptyStr] =Field(
94
94
...,
95
-
description="Rrl pointing to the source tar.gz|zip|tar.bz2|... (this can be a list of mirrors that point to the same file)",
95
+
description="Url pointing to the source tar.gz|zip|tar.bz2|... (this can be a list of mirrors that point to the same file)",
96
96
)
97
97
sha256: SHA256Str|None=Field(None, description="The SHA256 hash of the source archive")
98
98
md5: MD5Str|None=Field(None, description="The MD5 hash of the source archive")
@@ -311,6 +311,11 @@ class Python(StrictBaseModel):
311
311
312
312
disable_pip: bool|JinjaExpr=Field(default=False)
313
313
314
+
site_packages_path: str|JinjaExpr|None=Field(
315
+
default=None,
316
+
description="The path to the site-packages folder. This is advertised by Python to install noarch packages in the correct location. Only valid for a Python package.",
317
+
)
318
+
314
319
315
320
classPrefixDetection(StrictBaseModel):
316
321
force_file_type: ForceFileType|None=Field(
@@ -320,7 +325,7 @@ class PrefixDetection(StrictBaseModel):
320
325
default=False, description="Ignore all or specific files for prefix replacement"
Copy file name to clipboardExpand all lines: schema.json
+21-4Lines changed: 21 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -131,7 +131,7 @@
131
131
}
132
132
],
133
133
"default": null,
134
-
"description": "Extented description of the package or a file (usually a README).",
134
+
"description": "Extended description of the package or a file (usually a README).",
135
135
"title": "Description"
136
136
},
137
137
"prelink_message": {
@@ -977,7 +977,7 @@
977
977
}
978
978
],
979
979
"default": true,
980
-
"description": "Wether to relocate binaries or not. If this is a list of paths then only the listed paths are relocated",
980
+
"description": "Whether to relocate binaries or not. If this is a list of paths then only the listed paths are relocated",
981
981
"title": "Binary Relocation"
982
982
},
983
983
"missing_dso_allowlist": {
@@ -2950,7 +2950,7 @@
2950
2950
}
2951
2951
],
2952
2952
"default": false,
2953
-
"description": "Wether to detect binary files with prefix or not",
2953
+
"description": "Whether to detect binary files with prefix or not",
2954
2954
"title": "Ignore Binary Files"
2955
2955
}
2956
2956
},
@@ -3086,6 +3086,23 @@
3086
3086
],
3087
3087
"default": false,
3088
3088
"title": "Disable Pip"
3089
+
},
3090
+
"site_packages_path": {
3091
+
"anyOf": [
3092
+
{
3093
+
"type": "string"
3094
+
},
3095
+
{
3096
+
"pattern": "\\$\\{\\{.*\\}\\}",
3097
+
"type": "string"
3098
+
},
3099
+
{
3100
+
"type": "null"
3101
+
}
3102
+
],
3103
+
"default": null,
3104
+
"description": "The path to the site-packages folder. This is advertised by Python to install noarch packages in the correct location. Only valid for a Python package.",
3105
+
"title": "Site Packages Path"
3089
3106
}
3090
3107
},
3091
3108
"title": "Python",
@@ -3963,7 +3980,7 @@
3963
3980
"type": "array"
3964
3981
}
3965
3982
],
3966
-
"description": "Rrl pointing to the source tar.gz|zip|tar.bz2|... (this can be a list of mirrors that point to the same file)",
3983
+
"description": "Url pointing to the source tar.gz|zip|tar.bz2|... (this can be a list of mirrors that point to the same file)",
0 commit comments