From 42733c96e016a8b128fd053daae12e8bf7d3ed01 Mon Sep 17 00:00:00 2001 From: Vixb Date: Sat, 19 Dec 2020 05:59:31 +0800 Subject: [PATCH] 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 --- bucket/pyenv.json | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 bucket/pyenv.json diff --git a/bucket/pyenv.json b/bucket/pyenv.json new file mode 100644 index 0000000000..b772b9a3cc --- /dev/null +++ b/bucket/pyenv.json @@ -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." +}