mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-06-14 02:22:38 +02:00
51 lines
1.2 KiB
Text
51 lines
1.2 KiB
Text
# Contributor: Adam Bruce <adam@adambruce.net>
|
|
# Maintainer: Duncan Bellamy <dunk@denkimushi.com>
|
|
pkgname=oci-cli
|
|
pkgver=3.58.0
|
|
pkgrel=0
|
|
pkgdesc="Oracle Cloud Infrastructure CLI"
|
|
url="https://docs.oracle.com/en-us/iaas/Content/API/Concepts/cliconcepts.htm"
|
|
arch="noarch"
|
|
license="UPL-1.0 OR Apache-2.0"
|
|
depends="
|
|
python3
|
|
py3-arrow
|
|
py3-certifi
|
|
py3-click
|
|
py3-cryptography
|
|
py3-dateutil
|
|
py3-jmespath
|
|
py3-oci
|
|
py3-openssl
|
|
py3-prompt_toolkit
|
|
py3-setuptools
|
|
py3-six
|
|
py3-terminaltables
|
|
py3-tz
|
|
py3-yaml
|
|
"
|
|
makedepends="
|
|
py3-gpep517
|
|
py3-setuptools
|
|
py3-wheel
|
|
"
|
|
subpackages="$pkgname-pyc"
|
|
source="$pkgname-$pkgver.tar.gz::https://github.com/oracle/oci-cli/archive/refs/tags/v$pkgver.tar.gz"
|
|
options="!check" # Cannot test as OCI resource identifiers are required as environment variables
|
|
|
|
build() {
|
|
gpep517 build-wheel \
|
|
--wheel-dir .dist \
|
|
--output-fd 3 3>&1 >&2
|
|
}
|
|
|
|
package() {
|
|
python3 -m installer -d "$pkgdir" \
|
|
.dist/*.whl
|
|
|
|
find "$pkgdir"/usr/lib/python* -type d -name "tests" -exec rm -r {} \+
|
|
}
|
|
|
|
sha512sums="
|
|
17fa1a7c84ea3804f84a1687b5779538177f4cda095d9b2658836240e9ee1e110ed495d1b9e9ab4992451efa29edc064199e498d079d6cdfb403ffac99786170 oci-cli-3.58.0.tar.gz
|
|
"
|