Date: Saturday, March 11, 2023 @ 06:32:56
Author: yan12125
Revision: 1418522
archrelease: copy trunk to community-testing-any
Added:
aws-cli/repos/community-testing-any/
aws-cli/repos/community-testing-any/PKGBUILD
(from rev 1418521, aws-cli/trunk/PKGBUILD)
----------+
PKGBUILD | 38 ++++++++++++++++++++++++++++++++++++++
1 file changed, 38 insertions(+)
Copied: aws-cli/repos/community-testing-any/PKGBUILD (from rev 1418521,
aws-cli/trunk/PKGBUILD)
===================================================================
--- community-testing-any/PKGBUILD (rev 0)
+++ community-testing-any/PKGBUILD 2023-03-11 06:32:56 UTC (rev 1418522)
@@ -0,0 +1,38 @@
+# Maintainer: Chih-Hsuan Yen <[email protected]>
+# Contributor: Jonathan Steel <jsteel at archlinux.org>
+# Contributor: Chris Severance aur.severach AatT spamgourmet.com
+# Contributor: Alper KANAT <[email protected]>
+
+pkgname=aws-cli
+# UPDATE_BLOCKED: blocked as python-botocore is blocked
+pkgver=1.27.89
+pkgrel=1
+pkgdesc='Universal Command Line Interface for Amazon Web Services'
+arch=('any')
+url="https://github.com/aws/aws-cli"
+license=('Apache')
+# Upstream relies on transitive dependencies
https://github.com/aws/aws-cli/issues/6556
+depends=('python' 'python-botocore' 'python-dateutil' 'python-jmespath'
+ 'python-colorama' 'python-docutils' 'python-pyasn1' 'python-rsa'
+ 'python-s3transfer' 'python-yaml')
+makedepends=('python-setuptools')
+source=($pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz)
+md5sums=('0670d24198d33d4311222e8170dbcbeb')
+sha256sums=('d068391923de5c12cc09caf413b67b7a59a39e9824d6443f9db8547afa8750d6')
+
+build() {
+ cd $pkgname-$pkgver
+
+ python setup.py build
+}
+
+package() {
+ cd $pkgname-$pkgver
+
+ python setup.py install --root="$pkgdir" --optimize=1
+
+ install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+ install -Dm644 bin/aws_bash_completer
"$pkgdir"/usr/share/bash-completion/completions/aws
+
+ rm -f "$pkgdir"/usr/bin/{aws.cmd,aws_bash_completer}
+}