-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Expand file tree
/
Copy pathtemplate
More file actions
30 lines (28 loc) · 1.06 KB
/
Copy pathtemplate
File metadata and controls
30 lines (28 loc) · 1.06 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Template file for 'python3-ansible-compat'
pkgname=python3-ansible-compat
version=26.3.0
revision=1
build_style=python3-pep517
# deselect unnecessary tests in venv
make_check_args="
--deselect test/test_prerun.py::test_get_cache_dir_isolation_no_venv_root
--deselect test/test_prerun.py::test_get_cache_dir_venv_ro_project_ro
--deselect test/test_runtime_scan_path.py::test_ro_venv
"
hostmakedepends="python3-wheel python3-setuptools_scm"
depends="ansible-core python3-jsonschema python3-subprocess-tee python3-yaml
python3-packaging"
checkdepends="${depends} python3-pytest python3-pytest-mock
python3-cryptography python3-pytest-instafail"
short_desc="Python package for working with various version of ansible"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="https://github.com/ansible/ansible-compat"
distfiles="${PYPI_SITE}/a/ansible-compat/ansible_compat-${version}.tar.gz"
checksum=15f0ea5ff6fcc5587b6b11a4a436fdeefd0fd4a46afe92d4e483c28370082ae0
post_patch() {
export SETUPTOOLS_SCM_PRETEND_VERSION="${version}"
}
post_install() {
vlicense LICENSE
}