mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-06 22:07:19 +02:00
testing/aws-cli: since python3 is hardcoded, added py3 packages only. Fixes #8248
This commit is contained in:
parent
d294ecbd19
commit
d9637cbe2e
@ -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/
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user