From d9f9de6365a81b344335dd7f321a9fc580f01535 Mon Sep 17 00:00:00 2001 From: Robert Lowry Date: Sat, 11 Dec 2021 19:33:37 -0600 Subject: [PATCH] aws-cli: update to 1.22.23 --- srcpkgs/aws-cli/template | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/srcpkgs/aws-cli/template b/srcpkgs/aws-cli/template index 67550003bd4..0448d39f5a6 100644 --- a/srcpkgs/aws-cli/template +++ b/srcpkgs/aws-cli/template @@ -1,18 +1,24 @@ # Template file for 'aws-cli' pkgname=aws-cli -version=1.18.125 -revision=3 +version=1.22.23 +revision=1 wrksrc="aws-cli-${version}" build_style=python3-module hostmakedepends="python3-setuptools" depends="groff python3-botocore python3-s3transfer python3-colorama python3-rsa python3-yaml python3-docutils" +checkdepends="$depends python3-pytest" short_desc="Universal Command Line Interface for Amazon Web Services" maintainer="Robert Lowry " license="Apache-2.0" homepage="https://github.com/aws/aws-cli" distfiles="https://github.com/aws/aws-cli/archive/${version}.tar.gz" -checksum=97f632fb7aede8f7986a4bd381f3d460606e9c31ef91f02388f7895dd5822c27 +checksum=d5424e05c87963547d6c98440391c6729e4e4f8eb7a4c64520ff7eefeffe41f3 + +do_check() { + # integration tests want aws credentials, have some other issues not worth fixing + PATH=$PWD/bin:$PATH PYTHONPATH=$PWD python3 -m pytest tests/unit tests/functional +} post_install() { vinstall bin/aws_bash_completer 644 usr/share/bash-completion/completions aws