blob: 1f98a24e92a7bfef3c5a9c935117f95ca7bdc694 [file] [log] [blame]
package: infra/tools/luci/vpython/${platform}
description: vpython is a VirtualEnv Python bootstrap tool.
platforms:
- mac-amd64
- mac-arm64
go_packages:
- infra/tools/vpython/cmd/vpython
install_mode: copy
root: ../../go/bin
upload_on_change:
- file: vpython
mac_bundle:
name: vpython.app
info: |
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleExecutable</key>
<string>vpython</string>
<key>CFBundleIdentifier</key>
<string>org.chromium.infra.vpython</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>Chrome Infra Vpython</string>
</dict>
</plist>
data:
- file: vpython
path: ./
- cipd_export: |
@Subdir Contents/Resources/2.7
infra/3pp/tools/cpython/${target_platform} version:2@2.7.18.chromium.44
@Subdir Contents/Resources/3.8
infra/3pp/tools/cpython3/${target_platform} version:2@3.8.10.chromium.34
@Subdir Contents/Resources/3.11
infra/3pp/tools/cpython3/${target_platform} version:2@3.11.8.chromium.35
codesign:
requirements: =designated => identifier "org.chromium.infra.vpython" and anchor trusted
posix_symlinks:
- src: vpython.app/Contents/MacOS/vpython
dst: vpython
- src: vpython.app/Contents/MacOS/vpython
dst: vpython3
data:
- version_file: vpython.app/Contents/MacOS/.versions/vpython.cipd_version