mirror of
https://github.com/ScoopInstaller/Main.git
synced 2025-12-20 06:11:19 +00:00
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:
parent
8b8195d61e
commit
42733c96e0
42
bucket/pyenv.json
Normal file
42
bucket/pyenv.json
Normal 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."
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user