31 lines
975 B
Bash
31 lines
975 B
Bash
# Template file for 'python3-pyinfra'
|
|
pkgname=python3-pyinfra
|
|
version=2.7
|
|
revision=2
|
|
build_style=python3-module
|
|
hostmakedepends="python3-setuptools"
|
|
depends="python3 python3-Jinja2 python3-click python3-colorama python3-dateutil
|
|
python3-distro python3-docopt python3-gevent python3-paramiko python3-pywinrm
|
|
python3-six python3-yaml"
|
|
checkdepends="${depends} python3-pytest python3-mock openssh"
|
|
short_desc="Automate infrastructure super fast at massive scale"
|
|
maintainer="Leah Neukirchen <leah@vuxu.org>"
|
|
license="MIT"
|
|
homepage="https://pyinfra.com/"
|
|
changelog="https://github.com/Fizzadar/pyinfra/blob/HEAD/CHANGELOG.md"
|
|
distfiles="https://github.com/Fizzadar/pyinfra/archive/v${version}.tar.gz"
|
|
checksum=53aab6f2ffbe42653c37b57bdc3cefd766036b5d4b05fb4acb8ef182d9a7bcae
|
|
|
|
post_extract() {
|
|
vsed -i -e '/configparser/d' setup.py # is in Python 3.8
|
|
}
|
|
|
|
post_install() {
|
|
rm -r ${DESTDIR}/${py3_sitelib}/tests
|
|
vlicense LICENSE.md
|
|
}
|
|
|
|
do_check() {
|
|
pytest --disable-warnings
|
|
}
|