mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-03-23 06:22:16 +01:00
52 lines
1.2 KiB
Plaintext
52 lines
1.2 KiB
Plaintext
# Contributor: Adam Bruce <adam@adambruce.net>
|
|
# Maintainer: Duncan Bellamy <dunk@denkimushi.com>
|
|
pkgname=oci-cli
|
|
pkgver=3.52.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="
|
|
e426da988532f20d6292246a167b6b619883280d744c9d01d3ca02019b9dea7a8ecd081abd21208c636f96f7ce72ca8dd1e0ae5d6a5e22c98e383b69114de808 oci-cli-3.52.0.tar.gz
|
|
"
|