pve-esxi-import-tools/debian/control
Max Carrara c7bd6d9ba7 use mypy for automatic type checks in Python
This commit adds mypy [0] as build dependency and ensures it is
invoked during the package build process.

mypy can also be manually invoked via `make lint`.

A mypy.ini file [1] is also added to disable errors regarding missing
type stubs for pyVmomi and pyVim.

[0]: https://www.mypy-lang.org/
[1]: https://mypy.readthedocs.io/en/stable/config_file.html

Signed-off-by: Max Carrara <m.carrara@proxmox.com>
2024-03-27 10:22:49 +01:00

49 lines
1.9 KiB
Plaintext

Source: pve-esxi-import-tools
Section: admin
Priority: optional
Build-Depends: cargo:native (>= 0.65.0~),
debhelper (>= 12~),
debhelper-compat (= 13),
dh-cargo (>= 25),
libfuse3-dev,
librust-anyhow-1+default-dev,
librust-futures-0.3+default-dev (>= 0.3.28-~~),
librust-http-0.2+default-dev (>= 0.2.9-~~),
librust-hyper-0.14+default-dev,
librust-libc-0.2+default-dev,
librust-log-0.4+default-dev,
librust-nix-0.26+default-dev,
librust-once-cell-1+default-dev (>= 1.17-~~),
librust-openssl-0.10+default-dev (>= 0.10.57-~~),
librust-percent-encoding-2+default-dev (>= 2.2-~~),
librust-pico-args-0.4+default-dev (>= 0.4.2-~~),
librust-proxmox-fuse-0.1+default-dev (>= 0.1.7-~~),
librust-proxmox-http-0.9+client-dev,
librust-proxmox-http-0.9+default-dev,
librust-regex-1+default-dev (>= 1.7.1-~~),
librust-serde-1+default-dev,
librust-serde-1+derive-dev,
librust-serde-json-1+default-dev,
librust-syslog-6+default-dev,
librust-tokio-1+default-dev,
librust-tokio-1+macros-dev,
librust-tokio-1+rt-multi-thread-dev,
librust-tokio-1+time-dev,
libstd-rust-dev,
mypy,
rustc:native,
Maintainer: Proxmox Support Team <support@proxmox.com>
Standards-Version: 4.6.2
Homepage: https://www.proxmox.com
Rules-Requires-Root: no
Package: pve-esxi-import-tools
Architecture: any
Depends: python3,
python3-pyvmomi,
${misc:Depends},
${shlibs:Depends},
Description: Tools to allow importing VMs from ESXi hosts
Provides a FUSE file system to access files on ESXi hosts and a python utility
to query the list of VMs and datastores.