|
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405 |
- {
- "title": "conda metadata build recipe",
- "description": "conda's meta.yaml file; https://conda.io/docs/user-guide/tasks/build-packages/define-metadata.html",
- "id": "https://raw.githubusercontent.com/Microsoft/vscode-python/master/schemas/conda-meta.json",
- "$schema": "http://json-schema.org/draft-04/schema#",
- "definitions": {
- "boolean": {
- "anyOf": [
- {
- "type": "boolean"
- },
- {
- "type": "string"
- }
- ]
- },
- "integer": {
- "anyOf": [
- {
- "type": "integer"
- },
- {
- "type": "string"
- }
- ]
- },
- "feature": {
- "type": "string"
- },
- "package": {
- "type": "string"
- },
- "path": {
- "type": "string"
- },
- "uri": {
- "type": "string"
- },
- "requirement": {
- "type": "object",
- "properties": {
- "build": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/package"
- }
- },
- "host": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/package"
- }
- },
- "run": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/package"
- }
- }
- }
- },
- "source": {
- "type": "object",
- "properties": {
- "url": {
- "$ref": "#/definitions/uri"
- },
- "md5": {
- "type": "string",
- "pattern": "^[0-9A-Fa-f]{32}$"
- },
- "sha1": {
- "type": "string",
- "pattern": "^[0-9A-Fa-f]{40}$"
- },
- "sha256": {
- "type": "string",
- "pattern": "^[0-9A-Fa-f]{64}$"
- },
- "git_url": {
- "$ref": "#/definitions/uri"
- },
- "git_rev": {
- "type": "string"
- },
- "hg_url": {
- "$ref": "#/definitions/uri"
- },
- "hg_tag": {
- "type": "string"
- },
- "svn_url": {
- "$ref": "#/definitions/uri"
- },
- "svn_rev": {
- "type": "string"
- },
- "svn_ignore_externals": {
- "$ref": "#/definitions/boolean"
- },
- "path": {
- "$ref": "#/definitions/path"
- },
- "patches": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/path"
- }
- },
- "folder": {
- "$ref": "#/definitions/path"
- },
- "fn": {
- "type": "string"
- }
- }
- },
- "test": {
- "type": "object",
- "properties": {
- "files": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/path"
- }
- },
- "source_files": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/path"
- }
- },
- "requires": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/package"
- }
- },
- "commands": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "imports": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/package"
- }
- },
- "script": {
- "type": "string"
- }
- }
- }
- },
- "properties": {
- "package": {
- "type": "object",
- "properties": {
- "name": {
- "$ref": "#/definitions/package"
- },
- "version": {
- "type": "string"
- }
- }
- },
- "source": {
- "oneOf": [
- {
- "$ref": "#/definitions/source"
- },
- {
- "type": "array",
- "items": {
- "$ref": "#/definitions/source"
- }
- }
- ]
- },
- "build": {
- "type": "object",
- "properties": {
- "number": {
- "$ref": "#/definitions/integer"
- },
- "string": {
- "type": "string"
- },
- "entry_points": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "osx_is_app": {
- "$ref": "#/definitions/boolean"
- },
- "features": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/feature"
- }
- },
- "track_features": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/feature"
- }
- },
- "preserve_egg_dir": {
- "$ref": "#/definitions/boolean"
- },
- "skip_compile_pyc": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/path"
- }
- },
- "no_link": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/path"
- }
- },
- "script": {
- "type": "string"
- },
- "rpaths": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/path"
- }
- },
- "always_include_files": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/path"
- }
- },
- "binary_relocation": {
- "$ref": "#/definitions/boolean"
- },
- "detect_binary_files_with_prefix": {
- "$ref": "#/definitions/boolean"
- },
- "binary_has_prefix_files": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/path"
- }
- },
- "has_prefix_files": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/path"
- }
- },
- "ignore_prefix_files": {
- "oneOf": [
- {
- "$ref": "#/definitions/boolean"
- },
- {
- "type": "array",
- "items": {
- "$ref": "#/definitions/path"
- }
- }
- ]
- },
- "skip": {
- "$ref": "#/definitions/boolean"
- },
- "noarch": {
- "type": "string"
- },
- "noarch_python": {
- "$ref": "#/definitions/boolean"
- },
- "include_recipe": {
- "$ref": "#/definitions/boolean"
- },
- "script_env": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "run_exports": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "ignore_run_exports": {
- "type": "array",
- "items": {
- "type": "string"
- }
- }
- }
- },
- "requirements": {
- "$ref": "#/definitions/requirement"
- },
- "test": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "$ref": "#/definitions/test"
- }
- ]
- },
- "outputs": {
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "name": {
- "type": "string"
- },
- "version": {
- "type": "string"
- },
- "files": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/path"
- }
- },
- "script": {
- "$ref": "#/definitions/path"
- },
- "script_interpreter": {
- "type": "string"
- },
- "requirements": {
- "oneOf": [
- {
- "$ref": "#/definitions/requirement"
- },
- {
- "type": "array",
- "items": {
- "$ref": "#/definitions/package"
- }
- }
- ]
- },
- "run_exports": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "test": {
- "$ref": "#/definitions/test"
- },
- "type": {
- "type": "string"
- }
- }
- }
- },
- "about": {
- "type": "object",
- "properties": {
- "home": {
- "$ref": "#/definitions/uri"
- },
- "license": {
- "type": "string"
- },
- "license_file": {
- "$ref": "#/definitions/path"
- },
- "summary": {
- "type": "string"
- }
- }
- },
- "app": {
- "type": "object",
- "properties": {
- "entry": {
- "type": "string"
- },
- "icon": {
- "$ref": "#/definitions/path"
- },
- "summary": {
- "type": "string"
- },
- "own_environment": {
- "$ref": "#/definitions/boolean"
- }
- }
- },
- "extra": {}
- }
- }
|