pyenv: Add version 2.64.3 (#1559)

* pyenv: Add version 2.64.3

* pyenv: Update architecture block

* pyenv: Update version 2.64.3

* pyenv: Fix hash

* Update pyenv.json

* Update pyenv.json
This commit is contained in:
Vixb 2020-12-19 05:59:31 +08:00 committed by GitHub
parent 8b8195d61e
commit 42733c96e0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

42
bucket/pyenv.json Normal file
View File

@ -0,0 +1,42 @@
{
"version": "2.64.3",
"description": "pyenv for Windows. pyenv is a simple python version management tool. It lets you easily switch between multiple versions of Python. It's simple, unobtrusive, and follows the UNIX tradition of single-purpose tools that do one thing well.",
"homepage": "https://github.com/pyenv-win/pyenv-win",
"license": "MIT",
"architecture": {
"64bit": {
"url": "https://github.com/pyenv-win/pyenv-win/archive/v2.64.3.zip",
"extract_dir": "pyenv-win-2.64.3",
"hash": "fbdecdeed330279fde80038da150a2d54bff222f47481968ba2ef5e600363a84"
}
},
"bin": "pyenv-win\\bin\\pyenv.bat",
"env_set": {
"PYENV": "$dir\\pyenv-win"
},
"env_add_path": "pyenv-win\\shims",
"persist": [
"pyenv-win\\version",
"pyenv-win\\shims",
"pyenv-win\\versions",
"pyenv-win\\install_cache"
],
"pre_install": [
"function CreateFile([String] $file, [String] $content = $null) {",
" if (!(Test-Path \"$persist_dir\\$file\")) {",
" New-Item -Force -Path \"$persist_dir\\$file\" -ItemType file -Value $content | Out-Null",
" }",
"}",
"CreateFile 'pyenv-win\\version'"
],
"checkver": "github",
"autoupdate": {
"architecture": {
"64bit": {
"url": "https://github.com/pyenv-win/pyenv-win/archive/v$version.zip",
"extract_dir": "pyenv-win-$version"
}
}
},
"notes": "You can specify the PYTHON_BUILD_MIRROR_URL environment variable and run 'pyenv update' to speed up downloads."
}