mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-24 11:45:18 +03:00
33 lines
No EOL
1.1 KiB
Text
33 lines
No EOL
1.1 KiB
Text
# Contributor: Duncan Bellamy <dunk@denkimushi.com>
|
|
# Maintainer: Duncan Bellamy <dunk@denkimushi.com>
|
|
pkgname=py3-oci
|
|
pkgver=2.94.0
|
|
pkgrel=0
|
|
pkgdesc="Oracle Cloud Infrastructure Python SDK"
|
|
url="https://docs.oracle.com/en-us/iaas/tools/python/2.53.1/index.html"
|
|
arch="noarch"
|
|
license="Apache-2.0"
|
|
depends="py3-certifi py3-circuitbreaker py3-cryptography py3-dateutil py3-openssl py3-tz"
|
|
makedepends="py3-setuptools"
|
|
checkdepends="py3-pytest py3-vcrpy"
|
|
source="$pkgname.$pkgver.zip::https://github.com/oracle/oci-python-sdk/archive/refs/tags/v$pkgver.zip
|
|
vcr.patch
|
|
"
|
|
builddir="$srcdir/oci-python-sdk-$pkgver"
|
|
|
|
build() {
|
|
python3 setup.py build
|
|
}
|
|
|
|
check() {
|
|
PYTHONPATH="$builddir"/build/lib pytest tests
|
|
}
|
|
|
|
package() {
|
|
python3 setup.py install --skip-build --root="$pkgdir"
|
|
}
|
|
|
|
sha512sums="
|
|
24f8341ab2f3c5eb3eeeff171861bf6244fc7a9f4e96b9c43d3d5b484db65e46533a4741e7b09907cc505ed9b2430595911f6c06f964064cc193189c1f3ee3b9 py3-oci.2.94.0.zip
|
|
e88495f19a3b9bd4b4b086007e2c93d6200aa316e93c1ec58b31794afb58967994f061a5ad1346edbbecd9119cea7a60c1e2ac6cba99f78b4e349b8f594ce01f vcr.patch
|
|
" |