aboutsummaryrefslogtreecommitdiffstats
path: root/testing/aws-cli/APKBUILD
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2017-12-12 00:30:18 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2017-12-12 00:30:18 +0000
commitd9637cbe2e89434ca135e6680e208a6a817c75f6 (patch)
tree824f4e515f20a4c875c8298e1c0fdc57e31c40b1 /testing/aws-cli/APKBUILD
parentd294ecbd1949caa28d38cd55fd313daa2768ecf5 (diff)
downloadaports-d9637cbe2e89434ca135e6680e208a6a817c75f6.tar.bz2
aports-d9637cbe2e89434ca135e6680e208a6a817c75f6.tar.xz
testing/aws-cli: since python3 is hardcoded, added py3 packages only. Fixes #8248
Diffstat (limited to 'testing/aws-cli/APKBUILD')
-rw-r--r--testing/aws-cli/APKBUILD8
1 files changed, 4 insertions, 4 deletions
diff --git a/testing/aws-cli/APKBUILD b/testing/aws-cli/APKBUILD
index 73bde53657..765450af74 100644
--- a/testing/aws-cli/APKBUILD
+++ b/testing/aws-cli/APKBUILD
@@ -2,7 +2,7 @@
# Contributor: Valery Kartel <valery.kartel@gmail.com>
pkgname=aws-cli
pkgver=1.14.7
-pkgrel=0
+pkgrel=1
_python="python3"
_libname=${pkgname/-/}
pkgdesc="Universal Command Line Interface for Amazon Web Services"
@@ -10,7 +10,7 @@ url="https://github.com/aws/aws-cli"
arch="noarch"
license="ASL 2.0"
provides=$_libname
-depends="$_python groff py-botocore py-jmespath py-s3transfer py-docutils py-colorama py-yaml py-rsa"
+depends="$_python groff py3-botocore py3-jmespath py3-s3transfer py3-docutils py3-colorama py3-yaml py3-rsa"
makedepends="$_python-dev py-setuptools"
subpackages="$pkgname-doc $pkgname-zsh-completion:zshcomp $pkgname-bash-completion:bashcomp $pkgname-completer"
source="$pkgname-$pkgver.tar.gz::https://github.com/aws/$pkgname/archive/$pkgver.tar.gz"
@@ -63,9 +63,9 @@ completer() {
}
doc() {
- default_doc || return 1
+ default_doc
local path=$($_python -c "import sys;print(sys.path[-1])")/$_libname
- mkdir -p "$subpkgdir"/$path || return 1
+ mkdir -p "$subpkgdir"/$path
mv "$pkgdir"/$path/examples "$pkgdir"/$path/topics \
"$subpkgdir"/$path/
}