diff --git a/srcpkgs/python3-pyinfra/template b/srcpkgs/python3-pyinfra/template new file mode 100644 index 0000000000..be0bfe5e2c --- /dev/null +++ b/srcpkgs/python3-pyinfra/template @@ -0,0 +1,25 @@ +# Template file for 'python3-pyinfra' +pkgname=python3-pyinfra +version=0.15 +revision=1 +archs=noarch +wrksrc="pyinfra-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools" +depends="python3 python3-Jinja2 python3-click python3-colorama python3-dateutil + python3-docopt python3-gevent python3-paramiko python3-pywinrm python3-six + python3-yaml" +short_desc="Automate infrastructure super fast at massive scale" +maintainer="Leah Neukirchen " +license="MIT" +homepage="https://pyinfra.com/" +distfiles="https://github.com/Fizzadar/pyinfra/archive/v${version}.tar.gz" +checksum=4c311fc5a4bb132e2838bc4546da40bda677d7937105cc22de4cf789ad2b20eb + +post_extract() { + vsed -i -e '/configparser/d' setup.py # is in Python 3.8 +} + +post_install() { + vlicense LICENSE.md +}